SimpleDemo_UsingActions.unity 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  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_IndirectSpecularColor: {r: 0.44657856, g: 0.49641234, b: 0.57481724, a: 1}
  42. m_UseRadianceAmbientProbe: 0
  43. --- !u!157 &3
  44. LightmapSettings:
  45. m_ObjectHideFlags: 0
  46. serializedVersion: 11
  47. m_GIWorkflowMode: 0
  48. m_GISettings:
  49. serializedVersion: 2
  50. m_BounceScale: 1
  51. m_IndirectOutputScale: 1
  52. m_AlbedoBoost: 1
  53. m_EnvironmentLightingMode: 0
  54. m_EnableBakedLightmaps: 1
  55. m_EnableRealtimeLightmaps: 1
  56. m_LightmapEditorSettings:
  57. serializedVersion: 12
  58. m_Resolution: 2
  59. m_BakeResolution: 40
  60. m_AtlasSize: 1024
  61. m_AO: 0
  62. m_AOMaxDistance: 1
  63. m_CompAOExponent: 1
  64. m_CompAOExponentDirect: 0
  65. m_ExtractAmbientOcclusion: 0
  66. m_Padding: 2
  67. m_LightmapParameters: {fileID: 0}
  68. m_LightmapsBakeMode: 1
  69. m_TextureCompression: 1
  70. m_FinalGather: 0
  71. m_FinalGatherFiltering: 1
  72. m_FinalGatherRayCount: 256
  73. m_ReflectionCompression: 2
  74. m_MixedBakeMode: 2
  75. m_BakeBackend: 0
  76. m_PVRSampling: 1
  77. m_PVRDirectSampleCount: 32
  78. m_PVRSampleCount: 500
  79. m_PVRBounces: 2
  80. m_PVREnvironmentSampleCount: 500
  81. m_PVREnvironmentReferencePointCount: 2048
  82. m_PVRFilteringMode: 2
  83. m_PVRDenoiserTypeDirect: 0
  84. m_PVRDenoiserTypeIndirect: 0
  85. m_PVRDenoiserTypeAO: 0
  86. m_PVRFilterTypeDirect: 0
  87. m_PVRFilterTypeIndirect: 0
  88. m_PVRFilterTypeAO: 0
  89. m_PVREnvironmentMIS: 0
  90. m_PVRCulling: 1
  91. m_PVRFilteringGaussRadiusDirect: 1
  92. m_PVRFilteringGaussRadiusIndirect: 5
  93. m_PVRFilteringGaussRadiusAO: 2
  94. m_PVRFilteringAtrousPositionSigmaDirect: 0.5
  95. m_PVRFilteringAtrousPositionSigmaIndirect: 2
  96. m_PVRFilteringAtrousPositionSigmaAO: 1
  97. m_ShowResolutionOverlay: 1
  98. m_ExportTrainingData: 0
  99. m_LightingDataAsset: {fileID: 0}
  100. m_UseShadowmask: 1
  101. --- !u!196 &4
  102. NavMeshSettings:
  103. serializedVersion: 2
  104. m_ObjectHideFlags: 0
  105. m_BuildSettings:
  106. serializedVersion: 2
  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. accuratePlacement: 0
  120. debug:
  121. m_Flags: 0
  122. m_NavMeshData: {fileID: 0}
  123. --- !u!1001 &3649407600332409107
  124. PrefabInstance:
  125. m_ObjectHideFlags: 0
  126. serializedVersion: 2
  127. m_Modification:
  128. m_TransformParent: {fileID: 0}
  129. m_Modifications:
  130. - target: {fileID: 3649407600666749872, guid: b6b5f266028754740b00996b1ad8ce4e,
  131. type: 3}
  132. propertyPath: m_Name
  133. value: Environment
  134. objectReference: {fileID: 0}
  135. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  136. type: 3}
  137. propertyPath: m_LocalPosition.x
  138. value: 0
  139. objectReference: {fileID: 0}
  140. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  141. type: 3}
  142. propertyPath: m_LocalPosition.y
  143. value: 0
  144. objectReference: {fileID: 0}
  145. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  146. type: 3}
  147. propertyPath: m_LocalPosition.z
  148. value: 0
  149. objectReference: {fileID: 0}
  150. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  151. type: 3}
  152. propertyPath: m_LocalRotation.x
  153. value: -0
  154. objectReference: {fileID: 0}
  155. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  156. type: 3}
  157. propertyPath: m_LocalRotation.y
  158. value: -0
  159. objectReference: {fileID: 0}
  160. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  161. type: 3}
  162. propertyPath: m_LocalRotation.z
  163. value: -0
  164. objectReference: {fileID: 0}
  165. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  166. type: 3}
  167. propertyPath: m_LocalRotation.w
  168. value: 1
  169. objectReference: {fileID: 0}
  170. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  171. type: 3}
  172. propertyPath: m_RootOrder
  173. value: 0
  174. objectReference: {fileID: 0}
  175. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  176. type: 3}
  177. propertyPath: m_LocalEulerAnglesHint.x
  178. value: 0
  179. objectReference: {fileID: 0}
  180. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  181. type: 3}
  182. propertyPath: m_LocalEulerAnglesHint.y
  183. value: 0
  184. objectReference: {fileID: 0}
  185. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  186. type: 3}
  187. propertyPath: m_LocalEulerAnglesHint.z
  188. value: 0
  189. objectReference: {fileID: 0}
  190. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  191. type: 3}
  192. propertyPath: m_AnchoredPosition.x
  193. value: 512
  194. objectReference: {fileID: 0}
  195. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  196. type: 3}
  197. propertyPath: m_AnchoredPosition.y
  198. value: 384
  199. objectReference: {fileID: 0}
  200. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  201. type: 3}
  202. propertyPath: m_SizeDelta.x
  203. value: 100
  204. objectReference: {fileID: 0}
  205. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  206. type: 3}
  207. propertyPath: m_SizeDelta.y
  208. value: 100
  209. objectReference: {fileID: 0}
  210. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  211. type: 3}
  212. propertyPath: m_AnchorMin.x
  213. value: 0.5
  214. objectReference: {fileID: 0}
  215. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  216. type: 3}
  217. propertyPath: m_AnchorMin.y
  218. value: 0.5
  219. objectReference: {fileID: 0}
  220. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  221. type: 3}
  222. propertyPath: m_AnchorMax.x
  223. value: 0.5
  224. objectReference: {fileID: 0}
  225. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  226. type: 3}
  227. propertyPath: m_AnchorMax.y
  228. value: 0.5
  229. objectReference: {fileID: 0}
  230. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  231. type: 3}
  232. propertyPath: m_Pivot.x
  233. value: 0.5
  234. objectReference: {fileID: 0}
  235. - target: {fileID: 3649407600666749879, guid: b6b5f266028754740b00996b1ad8ce4e,
  236. type: 3}
  237. propertyPath: m_Pivot.y
  238. value: 0.5
  239. objectReference: {fileID: 0}
  240. m_RemovedComponents: []
  241. m_SourcePrefab: {fileID: 100100000, guid: b6b5f266028754740b00996b1ad8ce4e, type: 3}
  242. --- !u!1 &7279796982563314049
  243. GameObject:
  244. m_ObjectHideFlags: 0
  245. m_CorrespondingSourceObject: {fileID: 0}
  246. m_PrefabInstance: {fileID: 0}
  247. m_PrefabAsset: {fileID: 0}
  248. serializedVersion: 6
  249. m_Component:
  250. - component: {fileID: 7283255547635044647}
  251. - component: {fileID: 7298693803741327381}
  252. - component: {fileID: 7279796982563314050}
  253. m_Layer: 0
  254. m_Name: Player
  255. m_TagString: MainCamera
  256. m_Icon: {fileID: 0}
  257. m_NavMeshLayer: 0
  258. m_StaticEditorFlags: 0
  259. m_IsActive: 1
  260. --- !u!114 &7279796982563314050
  261. MonoBehaviour:
  262. m_ObjectHideFlags: 0
  263. m_CorrespondingSourceObject: {fileID: 0}
  264. m_PrefabInstance: {fileID: 0}
  265. m_PrefabAsset: {fileID: 0}
  266. m_GameObject: {fileID: 7279796982563314049}
  267. m_Enabled: 1
  268. m_EditorHideFlags: 0
  269. m_Script: {fileID: 11500000, guid: 2ab7c7a7ef9e44f4d8c56e49c8bfed8f, type: 3}
  270. m_Name:
  271. m_EditorClassIdentifier:
  272. moveSpeed: 10
  273. rotateSpeed: 60
  274. burstSpeed: 10
  275. projectile: {fileID: 1050929111787496, guid: 4be9e6cdd2d5d499ca5c16cc83fdf790, type: 3}
  276. moveAction:
  277. m_Name: Move
  278. m_Type: 0
  279. m_ExpectedControlType: Vector2
  280. m_Id: 0a9c898e-0d8f-4c2c-9662-f582c9d3dd06
  281. m_Processors:
  282. m_Interactions:
  283. m_SingletonActionBindings:
  284. - m_Name:
  285. m_Id: 84bc2a32-af42-4e6d-8aaf-e9da78dc32fa
  286. m_Path: <Gamepad>/leftStick
  287. m_Interactions:
  288. m_Processors:
  289. m_Groups:
  290. m_Action: Move
  291. m_Flags: 0
  292. lookAction:
  293. m_Name: Look
  294. m_Type: 0
  295. m_ExpectedControlType: Vector2
  296. m_Id: 421525b1-6693-4a7b-a6f1-9b8ad013418c
  297. m_Processors:
  298. m_Interactions:
  299. m_SingletonActionBindings:
  300. - m_Name:
  301. m_Id: c7e7b8fe-23f9-401e-9bc3-058e606745df
  302. m_Path: <Gamepad>/rightStick
  303. m_Interactions:
  304. m_Processors:
  305. m_Groups:
  306. m_Action: Look
  307. m_Flags: 0
  308. fireAction:
  309. m_Name: Fire
  310. m_Type: 1
  311. m_ExpectedControlType: Button
  312. m_Id: f826c85c-1535-4849-96ce-35551102843b
  313. m_Processors:
  314. m_Interactions: Tap,SlowTap
  315. m_SingletonActionBindings:
  316. - m_Name:
  317. m_Id: e9e2ed90-852c-44cc-a897-7e540eb71429
  318. m_Path: <Gamepad>/buttonSouth
  319. m_Interactions:
  320. m_Processors:
  321. m_Groups:
  322. m_Action: Fire
  323. m_Flags: 0
  324. --- !u!4 &7283255547635044647
  325. Transform:
  326. m_ObjectHideFlags: 0
  327. m_CorrespondingSourceObject: {fileID: 0}
  328. m_PrefabInstance: {fileID: 0}
  329. m_PrefabAsset: {fileID: 0}
  330. m_GameObject: {fileID: 7279796982563314049}
  331. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  332. m_LocalPosition: {x: 0, y: 1, z: -10}
  333. m_LocalScale: {x: 1, y: 1, z: 1}
  334. m_Children: []
  335. m_Father: {fileID: 0}
  336. m_RootOrder: 1
  337. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  338. --- !u!20 &7298693803741327381
  339. Camera:
  340. m_ObjectHideFlags: 0
  341. m_CorrespondingSourceObject: {fileID: 0}
  342. m_PrefabInstance: {fileID: 0}
  343. m_PrefabAsset: {fileID: 0}
  344. m_GameObject: {fileID: 7279796982563314049}
  345. m_Enabled: 1
  346. serializedVersion: 2
  347. m_ClearFlags: 1
  348. m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
  349. m_projectionMatrixMode: 1
  350. m_GateFitMode: 2
  351. m_FOVAxisMode: 0
  352. m_SensorSize: {x: 36, y: 24}
  353. m_LensShift: {x: 0, y: 0}
  354. m_FocalLength: 50
  355. m_NormalizedViewPortRect:
  356. serializedVersion: 2
  357. x: 0
  358. y: 0
  359. width: 1
  360. height: 1
  361. near clip plane: 0.3
  362. far clip plane: 1000
  363. field of view: 60
  364. orthographic: 0
  365. orthographic size: 5
  366. m_Depth: -1
  367. m_CullingMask:
  368. serializedVersion: 2
  369. m_Bits: 4294967295
  370. m_RenderingPath: -1
  371. m_TargetTexture: {fileID: 0}
  372. m_TargetDisplay: 0
  373. m_TargetEye: 3
  374. m_HDR: 1
  375. m_AllowMSAA: 1
  376. m_AllowDynamicResolution: 0
  377. m_ForceIntoRT: 0
  378. m_OcclusionCulling: 1
  379. m_StereoConvergence: 10
  380. m_StereoSeparation: 0.022