com.wallstop-studios.unity-helpers 2.0.0-rc38 → 2.0.0-rc40

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 (31) hide show
  1. package/.github/workflows/npm-publish.yml +22 -26
  2. package/Editor/AnimationCopier.cs +25 -2
  3. package/Editor/AnimationCreator.cs +18 -27
  4. package/Editor/AnimatorControllerCopier.cs +7 -7
  5. package/Editor/EnsureTextureSizeWizard.cs +14 -9
  6. package/Editor/PrefabCheckWizard.cs +1 -1
  7. package/Editor/Utils/{ReadOnlyPropertyDrawer.cs → DxReadOnlyPropertyDrawer.cs} +2 -2
  8. package/README.md +37 -1
  9. package/Runtime/Core/Attributes/ChildComponentAttribute.cs +39 -19
  10. package/Runtime/Core/Attributes/DxReadOnlyAttribute.cs +6 -0
  11. package/Runtime/Core/Attributes/ParentComponent.cs +16 -15
  12. package/Runtime/Core/Attributes/SiblingComponentAttribute.cs +7 -9
  13. package/Runtime/Core/Helper/Partials/TransformHelpers.cs +26 -0
  14. package/Runtime/Core/Helper/ReflectionHelpers.cs +97 -22
  15. package/Tests/Runtime/Components/{RelationalComponentTester.cs → RelationalComponentTesterComplex.cs} +1 -1
  16. package/Tests/Runtime/Components/RelationalComponentsTesterSimple.cs +40 -0
  17. package/Tests/Runtime/Components/RelationalComponentsTesterSimple.cs.meta +3 -0
  18. package/Tests/Runtime/Helper/ReflectionHelperTests.cs +179 -0
  19. package/Tests/Runtime/Helper/ReflectionHelperTests.cs.meta +3 -0
  20. package/Tests/Runtime/Performance/RelationComponentPerformanceTests.cs +27 -3
  21. package/package.json +1 -1
  22. package/.github/workflows/unity-package.yml +0 -106
  23. package/Editor/BuildScript.cs +0 -30
  24. package/Editor/BuildScript.cs.meta +0 -3
  25. package/Editor/Scenes/SampleScene.unity +0 -221
  26. package/Editor/Scenes/SampleScene.unity.meta +0 -7
  27. package/Editor/Scenes.meta +0 -3
  28. package/Runtime/Core/Attributes/ReadOnlyAttribute.cs +0 -6
  29. /package/Editor/Utils/{ReadOnlyPropertyDrawer.cs.meta → DxReadOnlyPropertyDrawer.cs.meta} +0 -0
  30. /package/Runtime/Core/Attributes/{ReadOnlyAttribute.cs.meta → DxReadOnlyAttribute.cs.meta} +0 -0
  31. /package/Tests/Runtime/Components/{RelationalComponentTester.cs.meta → RelationalComponentTesterComplex.cs.meta} +0 -0
@@ -1,221 +0,0 @@
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: 9
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: 3
28
- m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29
- m_SkyboxMaterial: {fileID: 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: 12
46
- m_GIWorkflowMode: 1
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: 0
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_FinalGather: 0
70
- m_FinalGatherFiltering: 1
71
- m_FinalGatherRayCount: 256
72
- m_ReflectionCompression: 2
73
- m_MixedBakeMode: 2
74
- m_BakeBackend: 1
75
- m_PVRSampling: 1
76
- m_PVRDirectSampleCount: 32
77
- m_PVRSampleCount: 512
78
- m_PVRBounces: 2
79
- m_PVREnvironmentSampleCount: 256
80
- m_PVREnvironmentReferencePointCount: 2048
81
- m_PVRFilteringMode: 1
82
- m_PVRDenoiserTypeDirect: 1
83
- m_PVRDenoiserTypeIndirect: 1
84
- m_PVRDenoiserTypeAO: 1
85
- m_PVRFilterTypeDirect: 0
86
- m_PVRFilterTypeIndirect: 0
87
- m_PVRFilterTypeAO: 0
88
- m_PVREnvironmentMIS: 1
89
- m_PVRCulling: 1
90
- m_PVRFilteringGaussRadiusDirect: 1
91
- m_PVRFilteringGaussRadiusIndirect: 5
92
- m_PVRFilteringGaussRadiusAO: 2
93
- m_PVRFilteringAtrousPositionSigmaDirect: 0.5
94
- m_PVRFilteringAtrousPositionSigmaIndirect: 2
95
- m_PVRFilteringAtrousPositionSigmaAO: 1
96
- m_ExportTrainingData: 0
97
- m_TrainingDataDestination: TrainingData
98
- m_LightProbeSampleCountMultiplier: 4
99
- m_LightingDataAsset: {fileID: 0}
100
- m_LightingSettings: {fileID: 0}
101
- --- !u!196 &4
102
- NavMeshSettings:
103
- serializedVersion: 2
104
- m_ObjectHideFlags: 0
105
- m_BuildSettings:
106
- serializedVersion: 3
107
- agentTypeID: 0
108
- agentRadius: 0.5
109
- agentHeight: 2
110
- agentSlope: 45
111
- agentClimb: 0.4
112
- ledgeDropHeight: 0
113
- maxJumpAcrossDistance: 0
114
- minRegionArea: 2
115
- manualCellSize: 0
116
- cellSize: 0.16666667
117
- manualTileSize: 0
118
- tileSize: 256
119
- buildHeightMesh: 0
120
- maxJobWorkers: 0
121
- preserveTilesOutsideBounds: 0
122
- debug:
123
- m_Flags: 0
124
- m_NavMeshData: {fileID: 0}
125
- --- !u!1 &1900725526
126
- GameObject:
127
- m_ObjectHideFlags: 0
128
- m_CorrespondingSourceObject: {fileID: 0}
129
- m_PrefabInstance: {fileID: 0}
130
- m_PrefabAsset: {fileID: 0}
131
- serializedVersion: 6
132
- m_Component:
133
- - component: {fileID: 1900725529}
134
- - component: {fileID: 1900725528}
135
- - component: {fileID: 1900725527}
136
- m_Layer: 0
137
- m_Name: Main Camera
138
- m_TagString: MainCamera
139
- m_Icon: {fileID: 0}
140
- m_NavMeshLayer: 0
141
- m_StaticEditorFlags: 0
142
- m_IsActive: 1
143
- --- !u!81 &1900725527
144
- AudioListener:
145
- m_ObjectHideFlags: 0
146
- m_CorrespondingSourceObject: {fileID: 0}
147
- m_PrefabInstance: {fileID: 0}
148
- m_PrefabAsset: {fileID: 0}
149
- m_GameObject: {fileID: 1900725526}
150
- m_Enabled: 1
151
- --- !u!20 &1900725528
152
- Camera:
153
- m_ObjectHideFlags: 0
154
- m_CorrespondingSourceObject: {fileID: 0}
155
- m_PrefabInstance: {fileID: 0}
156
- m_PrefabAsset: {fileID: 0}
157
- m_GameObject: {fileID: 1900725526}
158
- m_Enabled: 1
159
- serializedVersion: 2
160
- m_ClearFlags: 1
161
- m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
162
- m_projectionMatrixMode: 1
163
- m_GateFitMode: 2
164
- m_FOVAxisMode: 0
165
- m_Iso: 200
166
- m_ShutterSpeed: 0.005
167
- m_Aperture: 16
168
- m_FocusDistance: 10
169
- m_FocalLength: 50
170
- m_BladeCount: 5
171
- m_Curvature: {x: 2, y: 11}
172
- m_BarrelClipping: 0.25
173
- m_Anamorphism: 0
174
- m_SensorSize: {x: 36, y: 24}
175
- m_LensShift: {x: 0, y: 0}
176
- m_NormalizedViewPortRect:
177
- serializedVersion: 2
178
- x: 0
179
- y: 0
180
- width: 1
181
- height: 1
182
- near clip plane: 0.3
183
- far clip plane: 1000
184
- field of view: 60
185
- orthographic: 1
186
- orthographic size: 5
187
- m_Depth: -1
188
- m_CullingMask:
189
- serializedVersion: 2
190
- m_Bits: 4294967295
191
- m_RenderingPath: -1
192
- m_TargetTexture: {fileID: 0}
193
- m_TargetDisplay: 0
194
- m_TargetEye: 3
195
- m_HDR: 1
196
- m_AllowMSAA: 1
197
- m_AllowDynamicResolution: 0
198
- m_ForceIntoRT: 0
199
- m_OcclusionCulling: 1
200
- m_StereoConvergence: 10
201
- m_StereoSeparation: 0.022
202
- --- !u!4 &1900725529
203
- Transform:
204
- m_ObjectHideFlags: 0
205
- m_CorrespondingSourceObject: {fileID: 0}
206
- m_PrefabInstance: {fileID: 0}
207
- m_PrefabAsset: {fileID: 0}
208
- m_GameObject: {fileID: 1900725526}
209
- serializedVersion: 2
210
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
211
- m_LocalPosition: {x: 0, y: 0, z: -10}
212
- m_LocalScale: {x: 1, y: 1, z: 1}
213
- m_ConstrainProportionsScale: 0
214
- m_Children: []
215
- m_Father: {fileID: 0}
216
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
217
- --- !u!1660057539 &9223372036854775807
218
- SceneRoots:
219
- m_ObjectHideFlags: 0
220
- m_Roots:
221
- - {fileID: 1900725529}
@@ -1,7 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: 86342635493191f428f5b77a3887b915
3
- DefaultImporter:
4
- externalObjects: {}
5
- userData:
6
- assetBundleName:
7
- assetBundleVariant:
@@ -1,3 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: aa978312dfbe4ad484edf56b5c6e5658
3
- timeCreated: 1742089254
@@ -1,6 +0,0 @@
1
- using PropertyAttribute = UnityEngine.PropertyAttribute;
2
-
3
- namespace UnityHelpers.Core.Attributes
4
- {
5
- public sealed class ReadOnlyAttribute : PropertyAttribute { }
6
- }