Showing
8 changed files
with
333 additions
and
2 deletions
@@ -46,15 +46,15 @@ | @@ -46,15 +46,15 @@ | ||
46 | </ItemGroup> | 46 | </ItemGroup> |
47 | <ItemGroup> | 47 | <ItemGroup> |
48 | <Compile Include="Assets\Scripts\UI\Test3.cs" /> | 48 | <Compile Include="Assets\Scripts\UI\Test3.cs" /> |
49 | + <Compile Include="Assets\Scripts\Common\Singleton.cs" /> | ||
49 | <Compile Include="Assets\Scripts\Manager\UIManager.cs" /> | 50 | <Compile Include="Assets\Scripts\Manager\UIManager.cs" /> |
50 | <Compile Include="Assets\Scripts\UI\Test2.cs" /> | 51 | <Compile Include="Assets\Scripts\UI\Test2.cs" /> |
52 | + <Compile Include="Assets\Scripts\Common\UIBase.cs" /> | ||
51 | <Compile Include="Assets\Scripts\Main.cs" /> | 53 | <Compile Include="Assets\Scripts\Main.cs" /> |
52 | <Compile Include="Assets\Scripts\UI\Test1.cs" /> | 54 | <Compile Include="Assets\Scripts\UI\Test1.cs" /> |
53 | - <Compile Include="Assets\Scripts\Manager\UIBase.cs" /> | ||
54 | <Compile Include="Assets\Scripts\Manager\ResourcesManager.cs" /> | 55 | <Compile Include="Assets\Scripts\Manager\ResourcesManager.cs" /> |
55 | <Compile Include="Assets\Scripts\Manager\AudioManager.cs" /> | 56 | <Compile Include="Assets\Scripts\Manager\AudioManager.cs" /> |
56 | <Compile Include="Assets\Scripts\Manager\UIAnimation.cs" /> | 57 | <Compile Include="Assets\Scripts\Manager\UIAnimation.cs" /> |
57 | - <Compile Include="Assets\Scripts\Manager\Singleton.cs" /> | ||
58 | <Reference Include="UnityEngine"> | 58 | <Reference Include="UnityEngine"> |
59 | <HintPath>D:\UnityEditor\2022.3.53f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.dll</HintPath> | 59 | <HintPath>D:\UnityEditor\2022.3.53f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.dll</HintPath> |
60 | </Reference> | 60 | </Reference> |
Assets/Scenes/TestScene.unity
0 → 100644
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: 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: 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: 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_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 &704693108 | ||
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: 704693111} | ||
134 | + - component: {fileID: 704693110} | ||
135 | + - component: {fileID: 704693109} | ||
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 &704693109 | ||
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: 704693108} | ||
150 | + m_Enabled: 1 | ||
151 | +--- !u!20 &704693110 | ||
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: 704693108} | ||
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: 0 | ||
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 &704693111 | ||
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: 704693108} | ||
209 | + serializedVersion: 2 | ||
210 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
211 | + m_LocalPosition: {x: 0, y: 1, 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!1 &805382991 | ||
218 | +GameObject: | ||
219 | + m_ObjectHideFlags: 0 | ||
220 | + m_CorrespondingSourceObject: {fileID: 0} | ||
221 | + m_PrefabInstance: {fileID: 0} | ||
222 | + m_PrefabAsset: {fileID: 0} | ||
223 | + serializedVersion: 6 | ||
224 | + m_Component: | ||
225 | + - component: {fileID: 805382993} | ||
226 | + - component: {fileID: 805382992} | ||
227 | + m_Layer: 0 | ||
228 | + m_Name: Directional Light | ||
229 | + m_TagString: Untagged | ||
230 | + m_Icon: {fileID: 0} | ||
231 | + m_NavMeshLayer: 0 | ||
232 | + m_StaticEditorFlags: 0 | ||
233 | + m_IsActive: 1 | ||
234 | +--- !u!108 &805382992 | ||
235 | +Light: | ||
236 | + m_ObjectHideFlags: 0 | ||
237 | + m_CorrespondingSourceObject: {fileID: 0} | ||
238 | + m_PrefabInstance: {fileID: 0} | ||
239 | + m_PrefabAsset: {fileID: 0} | ||
240 | + m_GameObject: {fileID: 805382991} | ||
241 | + m_Enabled: 1 | ||
242 | + serializedVersion: 10 | ||
243 | + m_Type: 1 | ||
244 | + m_Shape: 0 | ||
245 | + m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} | ||
246 | + m_Intensity: 1 | ||
247 | + m_Range: 10 | ||
248 | + m_SpotAngle: 30 | ||
249 | + m_InnerSpotAngle: 21.80208 | ||
250 | + m_CookieSize: 10 | ||
251 | + m_Shadows: | ||
252 | + m_Type: 2 | ||
253 | + m_Resolution: -1 | ||
254 | + m_CustomResolution: -1 | ||
255 | + m_Strength: 1 | ||
256 | + m_Bias: 0.05 | ||
257 | + m_NormalBias: 0.4 | ||
258 | + m_NearPlane: 0.2 | ||
259 | + m_CullingMatrixOverride: | ||
260 | + e00: 1 | ||
261 | + e01: 0 | ||
262 | + e02: 0 | ||
263 | + e03: 0 | ||
264 | + e10: 0 | ||
265 | + e11: 1 | ||
266 | + e12: 0 | ||
267 | + e13: 0 | ||
268 | + e20: 0 | ||
269 | + e21: 0 | ||
270 | + e22: 1 | ||
271 | + e23: 0 | ||
272 | + e30: 0 | ||
273 | + e31: 0 | ||
274 | + e32: 0 | ||
275 | + e33: 1 | ||
276 | + m_UseCullingMatrixOverride: 0 | ||
277 | + m_Cookie: {fileID: 0} | ||
278 | + m_DrawHalo: 0 | ||
279 | + m_Flare: {fileID: 0} | ||
280 | + m_RenderMode: 0 | ||
281 | + m_CullingMask: | ||
282 | + serializedVersion: 2 | ||
283 | + m_Bits: 4294967295 | ||
284 | + m_RenderingLayerMask: 1 | ||
285 | + m_Lightmapping: 4 | ||
286 | + m_LightShadowCasterMode: 0 | ||
287 | + m_AreaSize: {x: 1, y: 1} | ||
288 | + m_BounceIntensity: 1 | ||
289 | + m_ColorTemperature: 6570 | ||
290 | + m_UseColorTemperature: 0 | ||
291 | + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} | ||
292 | + m_UseBoundingSphereOverride: 0 | ||
293 | + m_UseViewFrustumForShadowCasterCull: 1 | ||
294 | + m_ShadowRadius: 0 | ||
295 | + m_ShadowAngle: 0 | ||
296 | +--- !u!4 &805382993 | ||
297 | +Transform: | ||
298 | + m_ObjectHideFlags: 0 | ||
299 | + m_CorrespondingSourceObject: {fileID: 0} | ||
300 | + m_PrefabInstance: {fileID: 0} | ||
301 | + m_PrefabAsset: {fileID: 0} | ||
302 | + m_GameObject: {fileID: 805382991} | ||
303 | + serializedVersion: 2 | ||
304 | + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} | ||
305 | + m_LocalPosition: {x: 0, y: 3, z: 0} | ||
306 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
307 | + m_ConstrainProportionsScale: 0 | ||
308 | + m_Children: [] | ||
309 | + m_Father: {fileID: 0} | ||
310 | + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} | ||
311 | +--- !u!1660057539 &9223372036854775807 | ||
312 | +SceneRoots: | ||
313 | + m_ObjectHideFlags: 0 | ||
314 | + m_Roots: | ||
315 | + - {fileID: 704693111} | ||
316 | + - {fileID: 805382993} |
Assets/Scenes/TestScene.unity.meta
0 → 100644
-
Please register or login to post a comment