21 - Script Example.unity 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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.2, g: 0.2, b: 0.2, a: 1}
  24. m_AmbientEquatorColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
  25. m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, 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_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
  42. m_UseRadianceAmbientProbe: 0
  43. --- !u!157 &4
  44. LightmapSettings:
  45. m_ObjectHideFlags: 0
  46. serializedVersion: 11
  47. m_GIWorkflowMode: 1
  48. m_GISettings:
  49. serializedVersion: 2
  50. m_BounceScale: 1
  51. m_IndirectOutputScale: 1
  52. m_AlbedoBoost: 1
  53. m_TemporalCoherenceThreshold: 1
  54. m_EnvironmentLightingMode: 0
  55. m_EnableBakedLightmaps: 1
  56. m_EnableRealtimeLightmaps: 0
  57. m_LightmapEditorSettings:
  58. serializedVersion: 10
  59. m_Resolution: 1
  60. m_BakeResolution: 50
  61. m_AtlasSize: 1024
  62. m_AO: 0
  63. m_AOMaxDistance: 1
  64. m_CompAOExponent: 0
  65. m_CompAOExponentDirect: 0
  66. m_Padding: 2
  67. m_LightmapParameters: {fileID: 0}
  68. m_LightmapsBakeMode: 1
  69. m_TextureCompression: 0
  70. m_FinalGather: 0
  71. m_FinalGatherFiltering: 1
  72. m_FinalGatherRayCount: 1024
  73. m_ReflectionCompression: 2
  74. m_MixedBakeMode: 1
  75. m_BakeBackend: 0
  76. m_PVRSampling: 1
  77. m_PVRDirectSampleCount: 32
  78. m_PVRSampleCount: 500
  79. m_PVRBounces: 2
  80. m_PVRFilterTypeDirect: 0
  81. m_PVRFilterTypeIndirect: 0
  82. m_PVRFilterTypeAO: 0
  83. m_PVRFilteringMode: 0
  84. m_PVRCulling: 1
  85. m_PVRFilteringGaussRadiusDirect: 1
  86. m_PVRFilteringGaussRadiusIndirect: 5
  87. m_PVRFilteringGaussRadiusAO: 2
  88. m_PVRFilteringAtrousPositionSigmaDirect: 0.5
  89. m_PVRFilteringAtrousPositionSigmaIndirect: 2
  90. m_PVRFilteringAtrousPositionSigmaAO: 1
  91. m_ShowResolutionOverlay: 1
  92. m_LightingDataAsset: {fileID: 0}
  93. m_UseShadowmask: 0
  94. --- !u!196 &5
  95. NavMeshSettings:
  96. serializedVersion: 2
  97. m_ObjectHideFlags: 0
  98. m_BuildSettings:
  99. serializedVersion: 2
  100. agentTypeID: 0
  101. agentRadius: 0.5
  102. agentHeight: 2
  103. agentSlope: 45
  104. agentClimb: 0.4
  105. ledgeDropHeight: 0
  106. maxJumpAcrossDistance: 0
  107. minRegionArea: 2
  108. manualCellSize: 0
  109. cellSize: 0.16666666
  110. manualTileSize: 0
  111. tileSize: 256
  112. accuratePlacement: 0
  113. debug:
  114. m_Flags: 0
  115. m_NavMeshData: {fileID: 0}
  116. --- !u!1 &1079079952
  117. GameObject:
  118. m_ObjectHideFlags: 0
  119. m_PrefabParentObject: {fileID: 0}
  120. m_PrefabInternal: {fileID: 0}
  121. serializedVersion: 5
  122. m_Component:
  123. - component: {fileID: 1079079957}
  124. - component: {fileID: 1079079956}
  125. - component: {fileID: 1079079954}
  126. - component: {fileID: 1079079953}
  127. m_Layer: 0
  128. m_Name: Main Camera
  129. m_TagString: MainCamera
  130. m_Icon: {fileID: 0}
  131. m_NavMeshLayer: 0
  132. m_StaticEditorFlags: 0
  133. m_IsActive: 1
  134. --- !u!81 &1079079953
  135. AudioListener:
  136. m_ObjectHideFlags: 0
  137. m_PrefabParentObject: {fileID: 0}
  138. m_PrefabInternal: {fileID: 0}
  139. m_GameObject: {fileID: 1079079952}
  140. m_Enabled: 1
  141. --- !u!124 &1079079954
  142. Behaviour:
  143. m_ObjectHideFlags: 0
  144. m_PrefabParentObject: {fileID: 0}
  145. m_PrefabInternal: {fileID: 0}
  146. m_GameObject: {fileID: 1079079952}
  147. m_Enabled: 1
  148. --- !u!20 &1079079956
  149. Camera:
  150. m_ObjectHideFlags: 0
  151. m_PrefabParentObject: {fileID: 0}
  152. m_PrefabInternal: {fileID: 0}
  153. m_GameObject: {fileID: 1079079952}
  154. m_Enabled: 1
  155. serializedVersion: 2
  156. m_ClearFlags: 1
  157. m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
  158. m_NormalizedViewPortRect:
  159. serializedVersion: 2
  160. x: 0
  161. y: 0
  162. width: 1
  163. height: 1
  164. near clip plane: 0.3
  165. far clip plane: 1000
  166. field of view: 60
  167. orthographic: 0
  168. orthographic size: 100
  169. m_Depth: -1
  170. m_CullingMask:
  171. serializedVersion: 2
  172. m_Bits: 4294967295
  173. m_RenderingPath: -1
  174. m_TargetTexture: {fileID: 0}
  175. m_TargetDisplay: 0
  176. m_TargetEye: 3
  177. m_HDR: 0
  178. m_AllowMSAA: 1
  179. m_AllowDynamicResolution: 0
  180. m_ForceIntoRT: 0
  181. m_OcclusionCulling: 1
  182. m_StereoConvergence: 10
  183. m_StereoSeparation: 0.022
  184. --- !u!4 &1079079957
  185. Transform:
  186. m_ObjectHideFlags: 0
  187. m_PrefabParentObject: {fileID: 0}
  188. m_PrefabInternal: {fileID: 0}
  189. m_GameObject: {fileID: 1079079952}
  190. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  191. m_LocalPosition: {x: 0, y: 0, z: -28.517307}
  192. m_LocalScale: {x: 1, y: 1, z: 1}
  193. m_Children: []
  194. m_Father: {fileID: 0}
  195. m_RootOrder: 0
  196. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  197. --- !u!1 &1888731522
  198. GameObject:
  199. m_ObjectHideFlags: 0
  200. m_PrefabParentObject: {fileID: 0}
  201. m_PrefabInternal: {fileID: 0}
  202. serializedVersion: 5
  203. m_Component:
  204. - component: {fileID: 1888731524}
  205. - component: {fileID: 1888731523}
  206. m_Layer: 0
  207. m_Name: Simple Script
  208. m_TagString: Untagged
  209. m_Icon: {fileID: 0}
  210. m_NavMeshLayer: 0
  211. m_StaticEditorFlags: 0
  212. m_IsActive: 1
  213. --- !u!114 &1888731523
  214. MonoBehaviour:
  215. m_ObjectHideFlags: 0
  216. m_PrefabParentObject: {fileID: 0}
  217. m_PrefabInternal: {fileID: 0}
  218. m_GameObject: {fileID: 1888731522}
  219. m_Enabled: 1
  220. m_EditorHideFlags: 0
  221. m_Script: {fileID: 11500000, guid: 9eff140b25d64601aabc6ba32245d099, type: 3}
  222. m_Name:
  223. m_EditorClassIdentifier:
  224. --- !u!4 &1888731524
  225. Transform:
  226. m_ObjectHideFlags: 0
  227. m_PrefabParentObject: {fileID: 0}
  228. m_PrefabInternal: {fileID: 0}
  229. m_GameObject: {fileID: 1888731522}
  230. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  231. m_LocalPosition: {x: 0, y: 0, z: 0}
  232. m_LocalScale: {x: 1, y: 1, z: 1}
  233. m_Children: []
  234. m_Father: {fileID: 0}
  235. m_RootOrder: 1
  236. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}