com.goblin2017.will.test 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/.attestation.p7m +0 -0
  2. package/CHANGELOG.md +11 -0
  3. package/CHANGELOG.md.meta +7 -0
  4. package/Documentation/images/example.png +0 -0
  5. package/Documentation/images/example.png.meta +117 -0
  6. package/Documentation/images.meta +8 -0
  7. package/Documentation/will.test.md +169 -0
  8. package/Documentation/will.test.md.meta +7 -0
  9. package/Documentation.meta +8 -0
  10. package/Editor/EditorExample.cs +30 -0
  11. package/Editor/EditorExample.cs.meta +2 -0
  12. package/Editor/Goblin2017.Willtest.Editor.asmdef +10 -0
  13. package/Editor/Goblin2017.Willtest.Editor.asmdef.meta +7 -0
  14. package/Editor.meta +8 -0
  15. package/README.md +1 -0
  16. package/README.md.meta +7 -0
  17. package/Runtime/Goblin2017.Willtest.asmdef +6 -0
  18. package/Runtime/Goblin2017.Willtest.asmdef.meta +7 -0
  19. package/Runtime/RuntimeExample.cs +18 -0
  20. package/Runtime/RuntimeExample.cs.meta +2 -0
  21. package/Runtime.meta +8 -0
  22. package/Samples~/Example/.sample.json +4 -0
  23. package/Samples~/Example/Demo.asmdef +14 -0
  24. package/Samples~/Example/Demo.asmdef.meta +7 -0
  25. package/Samples~/Example/Demo.cs +16 -0
  26. package/Samples~/Example/Demo.cs.meta +2 -0
  27. package/Samples~/Example/Demo.unity +361 -0
  28. package/Samples~/Example/Demo.unity.meta +7 -0
  29. package/Samples~/Example/SampleExample.cs +14 -0
  30. package/Samples~/Example/SampleExample.cs.meta +2 -0
  31. package/Samples~/Example.meta +8 -0
  32. package/Tests/Editor/EditorExampleTest.cs +29 -0
  33. package/Tests/Editor/EditorExampleTest.cs.meta +2 -0
  34. package/Tests/Editor/Goblin2017.Willtest.Editor.Tests.asmdef +14 -0
  35. package/Tests/Editor/Goblin2017.Willtest.Editor.Tests.asmdef.meta +7 -0
  36. package/Tests/Editor.meta +8 -0
  37. package/Tests/Runtime/Goblin2017.Willtest.Tests.asmdef +11 -0
  38. package/Tests/Runtime/Goblin2017.Willtest.Tests.asmdef.meta +7 -0
  39. package/Tests/Runtime/RuntimeExampleTest.cs +28 -0
  40. package/Tests/Runtime/RuntimeExampleTest.cs.meta +2 -0
  41. package/Tests/Runtime.meta +8 -0
  42. package/Tests.meta +8 -0
  43. package/Third Party Notices.md +16 -0
  44. package/Third Party Notices.md.meta +7 -0
  45. package/package.json +32 -0
  46. package/package.json.meta +7 -0
Binary file
package/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ # Changelog
2
+ All notable changes to this package will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [0.1.0] - 2026-01-04
8
+
9
+ ### This is the first release of *\<will.test\>*.
10
+
11
+ *Short description of this release*
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: c6817a22c8a083145b4070e7a7738264
3
+ TextScriptImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
Binary file
@@ -0,0 +1,117 @@
1
+ fileFormatVersion: 2
2
+ guid: 8153599910cf7624d90bd422b32a177e
3
+ TextureImporter:
4
+ internalIDToNameTable: []
5
+ externalObjects: {}
6
+ serializedVersion: 13
7
+ mipmaps:
8
+ mipMapMode: 0
9
+ enableMipMap: 1
10
+ sRGBTexture: 1
11
+ linearTexture: 0
12
+ fadeOut: 0
13
+ borderMipMap: 0
14
+ mipMapsPreserveCoverage: 0
15
+ alphaTestReferenceValue: 0.5
16
+ mipMapFadeDistanceStart: 1
17
+ mipMapFadeDistanceEnd: 3
18
+ bumpmap:
19
+ convertToNormalMap: 0
20
+ externalNormalMap: 0
21
+ heightScale: 0.25
22
+ normalMapFilter: 0
23
+ flipGreenChannel: 0
24
+ isReadable: 0
25
+ streamingMipmaps: 0
26
+ streamingMipmapsPriority: 0
27
+ vTOnly: 0
28
+ ignoreMipmapLimit: 0
29
+ grayScaleToAlpha: 0
30
+ generateCubemap: 6
31
+ cubemapConvolution: 0
32
+ seamlessCubemap: 0
33
+ textureFormat: 1
34
+ maxTextureSize: 2048
35
+ textureSettings:
36
+ serializedVersion: 2
37
+ filterMode: 1
38
+ aniso: 1
39
+ mipBias: 0
40
+ wrapU: 0
41
+ wrapV: 0
42
+ wrapW: 0
43
+ nPOTScale: 1
44
+ lightmap: 0
45
+ compressionQuality: 50
46
+ spriteMode: 0
47
+ spriteExtrude: 1
48
+ spriteMeshType: 1
49
+ alignment: 0
50
+ spritePivot: {x: 0.5, y: 0.5}
51
+ spritePixelsToUnits: 100
52
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
53
+ spriteGenerateFallbackPhysicsShape: 1
54
+ alphaUsage: 1
55
+ alphaIsTransparency: 0
56
+ spriteTessellationDetail: -1
57
+ textureType: 0
58
+ textureShape: 1
59
+ singleChannelComponent: 0
60
+ flipbookRows: 1
61
+ flipbookColumns: 1
62
+ maxTextureSizeSet: 0
63
+ compressionQualitySet: 0
64
+ textureFormatSet: 0
65
+ ignorePngGamma: 0
66
+ applyGammaDecoding: 0
67
+ swizzle: 50462976
68
+ cookieLightType: 0
69
+ platformSettings:
70
+ - serializedVersion: 4
71
+ buildTarget: DefaultTexturePlatform
72
+ maxTextureSize: 2048
73
+ resizeAlgorithm: 0
74
+ textureFormat: -1
75
+ textureCompression: 1
76
+ compressionQuality: 50
77
+ crunchedCompression: 0
78
+ allowsAlphaSplitting: 0
79
+ overridden: 0
80
+ ignorePlatformSupport: 0
81
+ androidETC2FallbackOverride: 0
82
+ forceMaximumCompressionQuality_BC6H_BC7: 0
83
+ - serializedVersion: 4
84
+ buildTarget: Standalone
85
+ maxTextureSize: 2048
86
+ resizeAlgorithm: 0
87
+ textureFormat: -1
88
+ textureCompression: 1
89
+ compressionQuality: 50
90
+ crunchedCompression: 0
91
+ allowsAlphaSplitting: 0
92
+ overridden: 0
93
+ ignorePlatformSupport: 0
94
+ androidETC2FallbackOverride: 0
95
+ forceMaximumCompressionQuality_BC6H_BC7: 0
96
+ spriteSheet:
97
+ serializedVersion: 2
98
+ sprites: []
99
+ outline: []
100
+ customData:
101
+ physicsShape: []
102
+ bones: []
103
+ spriteID:
104
+ internalID: 0
105
+ vertices: []
106
+ indices:
107
+ edges: []
108
+ weights: []
109
+ secondaryTextures: []
110
+ spriteCustomMetadata:
111
+ entries: []
112
+ nameFileIdTable: {}
113
+ mipmapLimitGroupName:
114
+ pSDRemoveMatte: 0
115
+ userData:
116
+ assetBundleName:
117
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: a3c415c73ebea6d42aee3b771857a02b
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,169 @@
1
+ >>>
2
+ **_Package Documentation Template_**
3
+
4
+ Use this template to create preliminary, high-level documentation meant to introduce users to the feature and the sample files included in this package. When writing your documentation, do the following:
5
+
6
+ 1. Follow instructions in blockquotes.
7
+
8
+ 2. Replace angle brackets with the appropriate text. For example, replace "&lt;package name&gt;" with the official name of the package.
9
+
10
+ 3. Delete sections that do not apply to your package. For example, a package containing only sample files does not have a "Using &lt;package_name&gt;" section, so this section can be removed.
11
+
12
+ 4. After documentation is completed, make sure you delete all instructions and examples in blockquotes including this preamble and its title:
13
+
14
+ ```
15
+ >>>
16
+ Delete all of the text between pairs of blockquote markdown.
17
+ >>>
18
+ ```
19
+ >>>
20
+
21
+ # About &lt;package name&gt;
22
+
23
+ >>>
24
+ Name the heading of the first topic after the **displayName** of the package as it appears in the package manifest.
25
+
26
+ This first topic includes a brief, high-level explanation of the package and, if applicable, provides links to Unity Manual topics.
27
+
28
+ There are two types of packages:
29
+
30
+ - Packages that include features that augment the Unity Editor or Runtime.
31
+ - Packages that include sample files.
32
+
33
+ Choose one of the following introductory paragraphs that best fits the package:
34
+ >>>
35
+
36
+ Use the &lt;package name&gt; package to &lt;list of the main uses for the package&gt;. For example, use &lt;package name&gt; to create/generate/extend/capture &lt;mention major use case, or a good example of what the package can be used for&gt;. The &lt;package name&gt; package also includes &lt;other relevant features or uses&gt;.
37
+
38
+ > *or*
39
+
40
+ The &lt;package name&gt; package includes examples of &lt;name of asset type, model, prefabs, and/or other GameObjects in the package&gt;. For more information, see &lt;xref to topic in the Unity Manual&gt;.
41
+
42
+ >>>
43
+ **_Examples:_**
44
+
45
+ Here are some examples for reference only. Do not include these in the final documentation file:
46
+
47
+ *Use the Unity Recorder package to capture and save in-game data. For example, use Unity Recorder to record an mp4 file during a game session. The Unity Recorder package also includes an interface for setting-up and triggering recording sessions.*
48
+
49
+ *The Timeline Examples package includes examples of Timeline assets, Timeline Instances, animation, GameObjects, and scripts that illustrate how to use Unity's Timeline. For more information, see [ Unity's Timeline](https://docs.unity3d.com/Manual/TimelineSection.html) in the [Unity Manual](https://docs.unity3d.com). For licensing and usage, see Package Licensing.*
50
+ >>>
51
+
52
+ # Installing &lt;package name&gt;
53
+ >>>
54
+ Begin this section with a cross-reference to the official Unity Manual topic on how to install packages. If the package requires special installation instructions, include these steps in this section.
55
+ >>>
56
+
57
+ To install this package, follow the instructions in the [Package Manager documentation](https://docs.unity3d.com/Packages/com.unity.package-manager-ui@latest/index.html).
58
+
59
+ >>>
60
+ For some packages, there may be additional steps to complete the setup. You can add those here.
61
+ >>>
62
+
63
+ In addition, you need to install the following resources:
64
+
65
+ - &lt;name of resource&gt;: To install, open *Window > &lt;name of menu item&gt;*. The resource appears &lt;at this location&gt;.
66
+ - &lt;name of sample&gt;: To install, open *Window > &lt;name of menu item&gt;*. The new sample folder appears &lt;at this location&gt;.
67
+
68
+
69
+ <a name="UsingPackageName"></a>
70
+ # Using &lt;package name&gt;
71
+ >>>
72
+ The contents of this section depends on the type of package.
73
+
74
+ For packages that augment the Unity Editor with additional features, this section should include workflow and/or reference documentation:
75
+
76
+ * At a minimum, this section should include reference documentation that describes the windows, editors, and properties that the package adds to Unity. This reference documentation should include screen grabs (see how to add screens below), a list of settings, an explanation of what each setting does, and the default values of each setting.
77
+ * Ideally, this section should also include a workflow: a list of steps that the user can easily follow that demonstrates how to use the feature. This list of steps should include screen grabs (see how to add screens below) to better describe how to use the feature.
78
+
79
+ For packages that include sample files, this section may include detailed information on how the user can use these sample files in their projects and scenes. However, workflow diagrams or illustrations could be included if deemed appropriate.
80
+
81
+ ## How to add images
82
+
83
+ *(This section is for reference. Do not include in the final documentation file)*
84
+
85
+ If the [Using &lt;package name&gt;](#UsingPackageName) section includes screen grabs or diagrams, a link to the image must be added to this MD file, before or after the paragraph with the instruction or description that references the image. In addition, a caption should be added to the image link that includes the name of the screen or diagram. All images must be PNG files with underscores for spaces. No animated GIFs.
86
+
87
+ An example is included below:
88
+
89
+ ![A cinematic in the Timeline Editor window.](images/example.png)
90
+
91
+ Notice that the example screen shot is included in the images folder. All screen grabs and/or diagrams must be added and referenced from the images folder.
92
+
93
+ For more on the Unity documentation standards for creating and adding screen grabs, see this confluence page: https://confluence.hq.unity3d.com/pages/viewpage.action?pageId=13500715
94
+ >>>
95
+
96
+
97
+
98
+ # Technical details
99
+ ## Requirements
100
+ >>>
101
+ This subtopic includes a bullet list with the compatible versions of Unity. This subtopic may also include additional requirements or recommendations for 3rd party software or hardware. An example includes a dependency on other packages. If you need to include references to non-Unity products, make sure you refer to these products correctly and that all references include the proper trademarks (tm or r)
102
+ >>>
103
+
104
+ This version of &lt;package name&gt; is compatible with the following versions of the Unity Editor:
105
+
106
+ * 2018.1 and later (recommended)
107
+
108
+ To use this package, you must have the following 3rd party products:
109
+
110
+ * &lt;product name and version with trademark or registered trademark.&gt;
111
+ * &lt;product name and version with trademark or registered trademark.&gt;
112
+ * &lt;product name and version with trademark or registered trademark.&gt;
113
+
114
+ ## Known limitations
115
+ >>>
116
+ This section lists the known limitations with this version of the package. If there are no known limitations, or if the limitations are trivial, exclude this section. An example is provided.
117
+ >>>
118
+
119
+ &lt;package name&gt; version &lt;package version&gt; includes the following known limitations:
120
+
121
+ * &lt;brief one-line description of first limitation.&gt;
122
+ * &lt;brief one-line description of second limitation.&gt;
123
+ * &lt;and so on&gt;
124
+
125
+ >>>
126
+ *Example (For reference. Do not include in the final documentation file):*
127
+
128
+ The Unity Recorder version 1.0 has the following limitations:*
129
+
130
+ * The Unity Recorder does not support sound.
131
+ * The Recorder window and Recorder properties are not available in standalone players.
132
+ * MP4 encoding is only available on Windows.
133
+ >>>
134
+
135
+ ## Package contents
136
+ >>>
137
+ This section includes the location of important files you want the user to know about. For example, if this is a sample package containing textures, models, and materials separated by sample group, you may want to provide the folder location of each group.
138
+ >>>
139
+
140
+ The following table indicates the &lt;describe the breakdown you used here&gt;:
141
+
142
+ |Location|Description|
143
+ |---|---|
144
+ |`<folder>`|Contains &lt;describe what the folder contains&gt;.|
145
+ |`<file>`|Contains &lt;describe what the file represents or implements&gt;.|
146
+
147
+ >>>
148
+ *Example (For reference. Do not include in the final documentation file):*
149
+
150
+ The following table indicates the root folder of each type of sample in this package. Each sample's root folder contains its own Materials, Models, or Textures folders:
151
+
152
+ |Folder Location|Description|
153
+ |---|---|
154
+ |`WoodenCrate_Orange`|Root folder containing the assets for the orange crates.|
155
+ |`WoodenCrate_Mahogany`|Root folder containing the assets for the mahogany crates.|
156
+ |`WoodenCrate_Shared`|Root folder containing any material assets shared by all crates.|
157
+ >>>
158
+
159
+ ## Document revision history
160
+ >>>
161
+ This section includes the revision history of the document. The revision history tracks when a document is created, edited, and updated. If you create or update a document, you must add a new row describing the revision. The Documentation Team also uses this table to track when a document is edited and its editing level. An example is provided:
162
+
163
+ |Date|Reason|
164
+ |---|---|
165
+ |Sept 12, 2017|Unedited. Published to package.|
166
+ |Sept 10, 2017|Document updated for package version 1.1.<br>New features: <li>audio support for capturing MP4s.<li>Instructions on saving Recorder prefabs|
167
+ |Sept 5, 2017|Limited edit by Documentation Team. Published to package.|
168
+ |Aug 25, 2017|Document created. Matches package version 1.0.|
169
+ >>>
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: f2ebc36c71778b84a9c2b92d8bc27191
3
+ TextScriptImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 63ecd07aec276c74f93180e0a3599039
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,30 @@
1
+ // -----------------------------------------------------------------------------
2
+ //
3
+ // Use this editor example C# file to develop editor (non-runtime) code.
4
+ //
5
+ // -----------------------------------------------------------------------------
6
+
7
+ namespace Goblin2017.Willtest.Editor
8
+ {
9
+ /// <summary>
10
+ /// Provide a general description of the public class.
11
+ /// </summary>
12
+ /// <remarks>
13
+ /// Packages require XmlDoc documentation for ALL Package APIs.
14
+ /// https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments
15
+ /// </remarks>
16
+ public class MyPublicEditorExampleClass
17
+ {
18
+ /// <summary>
19
+ /// Provide a description of what this private method does.
20
+ /// </summary>
21
+ /// <param name="parameter1"> Description of parameter 1 </param>
22
+ /// <param name="parameter2"> Description of parameter 2 </param>
23
+ /// <param name="parameter3"> Description of parameter 3 </param>
24
+ /// <returns> Description of what the function returns </returns>
25
+ public int CountThingsAndDoStuff(int parameter1, int parameter2, bool parameter3)
26
+ {
27
+ return parameter3 ? (parameter1 + parameter2) : (parameter1 - parameter2);
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,2 @@
1
+ fileFormatVersion: 2
2
+ guid: 8afdd0f06f00fb7449cd605d854b60f6
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "Goblin2017.Willtest.Editor",
3
+ "references": [
4
+ "Goblin2017.Willtest"
5
+ ],
6
+ "includePlatforms": [
7
+ "Editor"
8
+ ],
9
+ "excludePlatforms": []
10
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 614f00b94137ab740827dede27570711
3
+ AssemblyDefinitionImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
package/Editor.meta ADDED
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 5239483f7ef4ea045a527257183a6199
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
package/README.md ADDED
@@ -0,0 +1 @@
1
+ Use this file to describe your package's features.
package/README.md.meta ADDED
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 1c898e46c099ac64e9d2efe67a9d91d5
3
+ TextScriptImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "Goblin2017.Willtest",
3
+ "references": [],
4
+ "includePlatforms": [],
5
+ "excludePlatforms": []
6
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: e99de5d04c36d5a4e982be29b2152b39
3
+ AssemblyDefinitionImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,18 @@
1
+ using UnityEngine;
2
+
3
+ namespace Goblin2017.Willtest
4
+ {
5
+ public static class RuntimeUtilities
6
+ {
7
+ /// <summary>
8
+ /// 平方
9
+ /// </summary>
10
+ /// <param name="param"></param>
11
+ /// <returns></returns>
12
+ public static float Sqrt(object param)
13
+ {
14
+ float.TryParse(param.ToString(), out float result);
15
+ return Mathf.Sqrt(result);
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,2 @@
1
+ fileFormatVersion: 2
2
+ guid: e2ffae428697c5a458f8bce37f859fef
package/Runtime.meta ADDED
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: cf834bc8e88869742bf1e622a00ec363
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,4 @@
1
+ {
2
+ "displayName":"Example Sample",
3
+ "description": "Replace this string with your own description of the sample. Delete the Samples folder if not needed."
4
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "Demo",
3
+ "rootNamespace": "",
4
+ "references": [],
5
+ "includePlatforms": [],
6
+ "excludePlatforms": [],
7
+ "allowUnsafeCode": false,
8
+ "overrideReferences": false,
9
+ "precompiledReferences": [],
10
+ "autoReferenced": false,
11
+ "defineConstraints": [],
12
+ "versionDefines": [],
13
+ "noEngineReferences": false
14
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: a0183aa8a11629f479f8db78bd1d6855
3
+ AssemblyDefinitionImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,16 @@
1
+ using UnityEngine;
2
+
3
+ public class Demo : MonoBehaviour
4
+ {
5
+ // Start is called once before the first execution of Update after the MonoBehaviour is created
6
+ void Start()
7
+ {
8
+
9
+ }
10
+
11
+ // Update is called once per frame
12
+ void Update()
13
+ {
14
+
15
+ }
16
+ }
@@ -0,0 +1,2 @@
1
+ fileFormatVersion: 2
2
+ guid: de09824d79b8d1c4ab703d7b45ec75d5
@@ -0,0 +1,361 @@
1
+ %YAML 1.1
2
+ %TAG !u! tag:unity3d.com,2011:
3
+ --- !u!29 &1
4
+ OcclusionCullingSettings:
5
+ m_ObjectHideFlags: 0
6
+ serializedVersion: 2
7
+ m_OcclusionBakeSettings:
8
+ smallestOccluder: 5
9
+ smallestHole: 0.25
10
+ backfaceThreshold: 100
11
+ m_SceneGUID: 00000000000000000000000000000000
12
+ m_OcclusionCullingData: {fileID: 0}
13
+ --- !u!104 &2
14
+ RenderSettings:
15
+ m_ObjectHideFlags: 0
16
+ serializedVersion: 10
17
+ m_Fog: 0
18
+ m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
19
+ m_FogMode: 3
20
+ m_FogDensity: 0.01
21
+ m_LinearFogStart: 0
22
+ m_LinearFogEnd: 300
23
+ m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
24
+ m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
25
+ m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
26
+ m_AmbientIntensity: 1
27
+ m_AmbientMode: 0
28
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29
+ m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
30
+ m_HaloStrength: 0.5
31
+ m_FlareStrength: 1
32
+ m_FlareFadeSpeed: 3
33
+ m_HaloTexture: {fileID: 0}
34
+ m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
35
+ m_DefaultReflectionMode: 0
36
+ m_DefaultReflectionResolution: 128
37
+ m_ReflectionBounces: 1
38
+ m_ReflectionIntensity: 1
39
+ m_CustomReflection: {fileID: 0}
40
+ m_Sun: {fileID: 0}
41
+ m_UseRadianceAmbientProbe: 0
42
+ --- !u!157 &3
43
+ LightmapSettings:
44
+ m_ObjectHideFlags: 0
45
+ serializedVersion: 13
46
+ m_BakeOnSceneLoad: 0
47
+ m_GISettings:
48
+ serializedVersion: 2
49
+ m_BounceScale: 1
50
+ m_IndirectOutputScale: 1
51
+ m_AlbedoBoost: 1
52
+ m_EnvironmentLightingMode: 0
53
+ m_EnableBakedLightmaps: 1
54
+ m_EnableRealtimeLightmaps: 0
55
+ m_LightmapEditorSettings:
56
+ serializedVersion: 12
57
+ m_Resolution: 2
58
+ m_BakeResolution: 40
59
+ m_AtlasSize: 1024
60
+ m_AO: 0
61
+ m_AOMaxDistance: 1
62
+ m_CompAOExponent: 1
63
+ m_CompAOExponentDirect: 0
64
+ m_ExtractAmbientOcclusion: 0
65
+ m_Padding: 2
66
+ m_LightmapParameters: {fileID: 0}
67
+ m_LightmapsBakeMode: 1
68
+ m_TextureCompression: 1
69
+ m_ReflectionCompression: 2
70
+ m_MixedBakeMode: 2
71
+ m_BakeBackend: 2
72
+ m_PVRSampling: 1
73
+ m_PVRDirectSampleCount: 32
74
+ m_PVRSampleCount: 512
75
+ m_PVRBounces: 2
76
+ m_PVREnvironmentSampleCount: 256
77
+ m_PVREnvironmentReferencePointCount: 2048
78
+ m_PVRFilteringMode: 1
79
+ m_PVRDenoiserTypeDirect: 1
80
+ m_PVRDenoiserTypeIndirect: 1
81
+ m_PVRDenoiserTypeAO: 1
82
+ m_PVRFilterTypeDirect: 0
83
+ m_PVRFilterTypeIndirect: 0
84
+ m_PVRFilterTypeAO: 0
85
+ m_PVREnvironmentMIS: 1
86
+ m_PVRCulling: 1
87
+ m_PVRFilteringGaussRadiusDirect: 1
88
+ m_PVRFilteringGaussRadiusIndirect: 1
89
+ m_PVRFilteringGaussRadiusAO: 1
90
+ m_PVRFilteringAtrousPositionSigmaDirect: 0.5
91
+ m_PVRFilteringAtrousPositionSigmaIndirect: 2
92
+ m_PVRFilteringAtrousPositionSigmaAO: 1
93
+ m_ExportTrainingData: 0
94
+ m_TrainingDataDestination: TrainingData
95
+ m_LightProbeSampleCountMultiplier: 4
96
+ m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0}
97
+ m_LightingSettings: {fileID: 0}
98
+ --- !u!196 &4
99
+ NavMeshSettings:
100
+ serializedVersion: 2
101
+ m_ObjectHideFlags: 0
102
+ m_BuildSettings:
103
+ serializedVersion: 3
104
+ agentTypeID: 0
105
+ agentRadius: 0.5
106
+ agentHeight: 2
107
+ agentSlope: 45
108
+ agentClimb: 0.4
109
+ ledgeDropHeight: 0
110
+ maxJumpAcrossDistance: 0
111
+ minRegionArea: 2
112
+ manualCellSize: 0
113
+ cellSize: 0.16666667
114
+ manualTileSize: 0
115
+ tileSize: 256
116
+ buildHeightMesh: 0
117
+ maxJobWorkers: 0
118
+ preserveTilesOutsideBounds: 0
119
+ debug:
120
+ m_Flags: 0
121
+ m_NavMeshData: {fileID: 0}
122
+ --- !u!1 &151716632
123
+ GameObject:
124
+ m_ObjectHideFlags: 0
125
+ m_CorrespondingSourceObject: {fileID: 0}
126
+ m_PrefabInstance: {fileID: 0}
127
+ m_PrefabAsset: {fileID: 0}
128
+ serializedVersion: 6
129
+ m_Component:
130
+ - component: {fileID: 151716633}
131
+ - component: {fileID: 151716634}
132
+ m_Layer: 0
133
+ m_Name: Demo
134
+ m_TagString: Untagged
135
+ m_Icon: {fileID: 0}
136
+ m_NavMeshLayer: 0
137
+ m_StaticEditorFlags: 0
138
+ m_IsActive: 1
139
+ --- !u!4 &151716633
140
+ Transform:
141
+ m_ObjectHideFlags: 0
142
+ m_CorrespondingSourceObject: {fileID: 0}
143
+ m_PrefabInstance: {fileID: 0}
144
+ m_PrefabAsset: {fileID: 0}
145
+ m_GameObject: {fileID: 151716632}
146
+ serializedVersion: 2
147
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
148
+ m_LocalPosition: {x: 0, y: 0, z: 0}
149
+ m_LocalScale: {x: 1, y: 1, z: 1}
150
+ m_ConstrainProportionsScale: 0
151
+ m_Children: []
152
+ m_Father: {fileID: 0}
153
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
154
+ --- !u!114 &151716634
155
+ MonoBehaviour:
156
+ m_ObjectHideFlags: 0
157
+ m_CorrespondingSourceObject: {fileID: 0}
158
+ m_PrefabInstance: {fileID: 0}
159
+ m_PrefabAsset: {fileID: 0}
160
+ m_GameObject: {fileID: 151716632}
161
+ m_Enabled: 1
162
+ m_EditorHideFlags: 0
163
+ m_Script: {fileID: 11500000, guid: de09824d79b8d1c4ab703d7b45ec75d5, type: 3}
164
+ m_Name:
165
+ m_EditorClassIdentifier: Demo::Demo
166
+ --- !u!1 &1270624360
167
+ GameObject:
168
+ m_ObjectHideFlags: 0
169
+ m_CorrespondingSourceObject: {fileID: 0}
170
+ m_PrefabInstance: {fileID: 0}
171
+ m_PrefabAsset: {fileID: 0}
172
+ serializedVersion: 6
173
+ m_Component:
174
+ - component: {fileID: 1270624363}
175
+ - component: {fileID: 1270624362}
176
+ - component: {fileID: 1270624361}
177
+ m_Layer: 0
178
+ m_Name: Main Camera
179
+ m_TagString: MainCamera
180
+ m_Icon: {fileID: 0}
181
+ m_NavMeshLayer: 0
182
+ m_StaticEditorFlags: 0
183
+ m_IsActive: 1
184
+ --- !u!81 &1270624361
185
+ AudioListener:
186
+ m_ObjectHideFlags: 0
187
+ m_CorrespondingSourceObject: {fileID: 0}
188
+ m_PrefabInstance: {fileID: 0}
189
+ m_PrefabAsset: {fileID: 0}
190
+ m_GameObject: {fileID: 1270624360}
191
+ m_Enabled: 1
192
+ --- !u!20 &1270624362
193
+ Camera:
194
+ m_ObjectHideFlags: 0
195
+ m_CorrespondingSourceObject: {fileID: 0}
196
+ m_PrefabInstance: {fileID: 0}
197
+ m_PrefabAsset: {fileID: 0}
198
+ m_GameObject: {fileID: 1270624360}
199
+ m_Enabled: 1
200
+ serializedVersion: 2
201
+ m_ClearFlags: 1
202
+ m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
203
+ m_projectionMatrixMode: 1
204
+ m_GateFitMode: 2
205
+ m_FOVAxisMode: 0
206
+ m_Iso: 200
207
+ m_ShutterSpeed: 0.005
208
+ m_Aperture: 16
209
+ m_FocusDistance: 10
210
+ m_FocalLength: 50
211
+ m_BladeCount: 5
212
+ m_Curvature: {x: 2, y: 11}
213
+ m_BarrelClipping: 0.25
214
+ m_Anamorphism: 0
215
+ m_SensorSize: {x: 36, y: 24}
216
+ m_LensShift: {x: 0, y: 0}
217
+ m_NormalizedViewPortRect:
218
+ serializedVersion: 2
219
+ x: 0
220
+ y: 0
221
+ width: 1
222
+ height: 1
223
+ near clip plane: 0.3
224
+ far clip plane: 1000
225
+ field of view: 60
226
+ orthographic: 0
227
+ orthographic size: 5
228
+ m_Depth: -1
229
+ m_CullingMask:
230
+ serializedVersion: 2
231
+ m_Bits: 4294967295
232
+ m_RenderingPath: -1
233
+ m_TargetTexture: {fileID: 0}
234
+ m_TargetDisplay: 0
235
+ m_TargetEye: 3
236
+ m_HDR: 1
237
+ m_AllowMSAA: 1
238
+ m_AllowDynamicResolution: 0
239
+ m_ForceIntoRT: 0
240
+ m_OcclusionCulling: 1
241
+ m_StereoConvergence: 10
242
+ m_StereoSeparation: 0.022
243
+ --- !u!4 &1270624363
244
+ Transform:
245
+ m_ObjectHideFlags: 0
246
+ m_CorrespondingSourceObject: {fileID: 0}
247
+ m_PrefabInstance: {fileID: 0}
248
+ m_PrefabAsset: {fileID: 0}
249
+ m_GameObject: {fileID: 1270624360}
250
+ serializedVersion: 2
251
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
252
+ m_LocalPosition: {x: 0, y: 1, z: -10}
253
+ m_LocalScale: {x: 1, y: 1, z: 1}
254
+ m_ConstrainProportionsScale: 0
255
+ m_Children: []
256
+ m_Father: {fileID: 0}
257
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
258
+ --- !u!1 &1288176520
259
+ GameObject:
260
+ m_ObjectHideFlags: 0
261
+ m_CorrespondingSourceObject: {fileID: 0}
262
+ m_PrefabInstance: {fileID: 0}
263
+ m_PrefabAsset: {fileID: 0}
264
+ serializedVersion: 6
265
+ m_Component:
266
+ - component: {fileID: 1288176522}
267
+ - component: {fileID: 1288176521}
268
+ m_Layer: 0
269
+ m_Name: Directional Light
270
+ m_TagString: Untagged
271
+ m_Icon: {fileID: 0}
272
+ m_NavMeshLayer: 0
273
+ m_StaticEditorFlags: 0
274
+ m_IsActive: 1
275
+ --- !u!108 &1288176521
276
+ Light:
277
+ m_ObjectHideFlags: 0
278
+ m_CorrespondingSourceObject: {fileID: 0}
279
+ m_PrefabInstance: {fileID: 0}
280
+ m_PrefabAsset: {fileID: 0}
281
+ m_GameObject: {fileID: 1288176520}
282
+ m_Enabled: 1
283
+ serializedVersion: 12
284
+ m_Type: 1
285
+ m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
286
+ m_Intensity: 1
287
+ m_Range: 10
288
+ m_SpotAngle: 30
289
+ m_InnerSpotAngle: 21.80208
290
+ m_CookieSize2D: {x: 0.5, y: 0.5}
291
+ m_Shadows:
292
+ m_Type: 2
293
+ m_Resolution: -1
294
+ m_CustomResolution: -1
295
+ m_Strength: 1
296
+ m_Bias: 0.05
297
+ m_NormalBias: 0.4
298
+ m_NearPlane: 0.2
299
+ m_CullingMatrixOverride:
300
+ e00: 1
301
+ e01: 0
302
+ e02: 0
303
+ e03: 0
304
+ e10: 0
305
+ e11: 1
306
+ e12: 0
307
+ e13: 0
308
+ e20: 0
309
+ e21: 0
310
+ e22: 1
311
+ e23: 0
312
+ e30: 0
313
+ e31: 0
314
+ e32: 0
315
+ e33: 1
316
+ m_UseCullingMatrixOverride: 0
317
+ m_Cookie: {fileID: 0}
318
+ m_DrawHalo: 0
319
+ m_Flare: {fileID: 0}
320
+ m_RenderMode: 0
321
+ m_CullingMask:
322
+ serializedVersion: 2
323
+ m_Bits: 4294967295
324
+ m_RenderingLayerMask: 1
325
+ m_Lightmapping: 4
326
+ m_LightShadowCasterMode: 0
327
+ m_AreaSize: {x: 1, y: 1}
328
+ m_BounceIntensity: 1
329
+ m_ColorTemperature: 6570
330
+ m_UseColorTemperature: 0
331
+ m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
332
+ m_UseBoundingSphereOverride: 0
333
+ m_UseViewFrustumForShadowCasterCull: 1
334
+ m_ForceVisible: 0
335
+ m_ShadowRadius: 0
336
+ m_ShadowAngle: 0
337
+ m_LightUnit: 1
338
+ m_LuxAtDistance: 1
339
+ m_EnableSpotReflector: 1
340
+ --- !u!4 &1288176522
341
+ Transform:
342
+ m_ObjectHideFlags: 0
343
+ m_CorrespondingSourceObject: {fileID: 0}
344
+ m_PrefabInstance: {fileID: 0}
345
+ m_PrefabAsset: {fileID: 0}
346
+ m_GameObject: {fileID: 1288176520}
347
+ serializedVersion: 2
348
+ m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
349
+ m_LocalPosition: {x: 0, y: 3, z: 0}
350
+ m_LocalScale: {x: 1, y: 1, z: 1}
351
+ m_ConstrainProportionsScale: 0
352
+ m_Children: []
353
+ m_Father: {fileID: 0}
354
+ m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
355
+ --- !u!1660057539 &9223372036854775807
356
+ SceneRoots:
357
+ m_ObjectHideFlags: 0
358
+ m_Roots:
359
+ - {fileID: 1270624363}
360
+ - {fileID: 1288176522}
361
+ - {fileID: 151716633}
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 1161aa5e0a27b5a469b58abf6b8c5ce4
3
+ DefaultImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,14 @@
1
+ using UnityEngine;
2
+
3
+ namespace Goblin2017.Willtest
4
+ {
5
+
6
+ public class SampleExample : MonoBehaviour
7
+ {
8
+
9
+ private void Start()
10
+ {
11
+ Debug.Log("Demo");
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,2 @@
1
+ fileFormatVersion: 2
2
+ guid: e0d239253ca94b64f975d8e562245d9d
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 57a52ac3a82ab2048851d7e591fdc15d
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,29 @@
1
+ using UnityEngine;
2
+ using UnityEditor;
3
+ using UnityEngine.TestTools;
4
+ using NUnit.Framework;
5
+ using System.Collections;
6
+
7
+ namespace Goblin2017.Willtest.Editor.Tests
8
+ {
9
+
10
+ class EditorExampleTest
11
+ {
12
+
13
+ [Test]
14
+ public void EditorSampleTestSimplePasses()
15
+ {
16
+ // Use the Assert class to test conditions.
17
+ }
18
+
19
+ // A UnityTest behaves like a coroutine in PlayMode
20
+ // and allows you to yield null to skip a frame in EditMode
21
+ [UnityTest]
22
+ public IEnumerator EditorSampleTestWithEnumeratorPasses()
23
+ {
24
+ // Use the Assert class to test conditions.
25
+ // yield to skip a frame
26
+ yield return null;
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,2 @@
1
+ fileFormatVersion: 2
2
+ guid: db406481e5de5db49ad2ae4c5657d203
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "Goblin2017.Willtest.Editor.Tests",
3
+ "references": [
4
+ "Goblin2017.Willtest.Editor",
5
+ "Goblin2017.Willtest"
6
+ ],
7
+ "optionalUnityReferences": [
8
+ "TestAssemblies"
9
+ ],
10
+ "includePlatforms": [
11
+ "Editor"
12
+ ],
13
+ "excludePlatforms": []
14
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 8eea621cab2ccb3409454d63d185857e
3
+ AssemblyDefinitionImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: e9fa2902e5839ac48876f6fb832246f5
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "Goblin2017.Willtest.Tests",
3
+ "references": [
4
+ "Goblin2017.Willtest"
5
+ ],
6
+ "optionalUnityReferences": [
7
+ "TestAssemblies"
8
+ ],
9
+ "includePlatforms": [],
10
+ "excludePlatforms": []
11
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 9d6d4fa39c78fb6488bf5826117ec9b1
3
+ AssemblyDefinitionImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,28 @@
1
+ using UnityEngine;
2
+ using UnityEngine.TestTools;
3
+ using NUnit.Framework;
4
+ using System.Collections;
5
+
6
+ namespace Goblin2017.Willtest.Tests
7
+ {
8
+
9
+ class RuntimeExampleTest
10
+ {
11
+
12
+ [Test]
13
+ public void PlayModeSampleTestSimplePasses()
14
+ {
15
+ // Use the Assert class to test conditions.
16
+ }
17
+
18
+ // A UnityTest behaves like a coroutine in PlayMode
19
+ // and allows you to yield null to skip a frame in EditMode
20
+ [UnityTest]
21
+ public IEnumerator PlayModeSampleTestWithEnumeratorPasses()
22
+ {
23
+ // Use the Assert class to test conditions.
24
+ // yield to skip a frame
25
+ yield return null;
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,2 @@
1
+ fileFormatVersion: 2
2
+ guid: 332a3e678520f9b48a66476921ea9129
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: f6d28514e198d0d4298357171e4fb64c
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
package/Tests.meta ADDED
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: def9beebf880c204cb4f0c821b823c16
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,16 @@
1
+ This package contains third-party software components governed by the license(s) indicated below:
2
+ ---------
3
+
4
+ Component Name: [provide component name]
5
+
6
+ License Type: [Provide license type, i.e. "MIT", "Apache 2.0"]
7
+
8
+ [Provide License Details]
9
+
10
+ ---------
11
+ Component Name: [provide component name]
12
+
13
+ License Type: [Provide license type, i.e. "MIT", "Apache 2.0"]
14
+
15
+ [Provide License Details]
16
+
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: f27244a59c378a54597f0d9ed25ed608
3
+ TextScriptImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "com.goblin2017.will.test",
3
+ "displayName": "will.test",
4
+ "version": "0.1.0",
5
+ "unity": "6000.3",
6
+ "unityRelease": "2f1",
7
+ "description": "Replace this with your own description of the package. \n\nFor best results, use this text to summarize: \n▪ What the package does \n▪ How it can benefit the user \n\nNote: Special formatting characters are supported, including line breaks ('\\n') and bullets ('\\u25AA').",
8
+ "dependencies": {
9
+ "com.unity.test-framework": "1.6.0"
10
+ },
11
+ "samples": [
12
+ {
13
+ "displayName": "Example Sample",
14
+ "description": "Replace this string with your own description of the sample. Delete the Samples folder if not needed.",
15
+ "path": "Samples~/Example"
16
+ }
17
+ ],
18
+ "author": "goblin <example@email.com> (http://www.example.com)",
19
+ "changelogUrl": "https://example.com/changelog.html",
20
+ "documentationUrl": "https://example.com/",
21
+ "licensesUrl": "https://example.com/licensing.html",
22
+ "main": "index.js",
23
+ "scripts": {
24
+ "test": "echo \"Error: no test specified\" && exit 1"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "http://admin@127.0.0.1:1010/r/UPM-Test.git"
29
+ },
30
+ "keywords": [],
31
+ "license": "ISC"
32
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: edfe30742b5a58b4381c0247ecdb90f2
3
+ PackageManifestImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant: