UILogic.prefab 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. {
  2. "ContainerEntity": {
  3. "Id": "ContainerEntity",
  4. "Name": "UILogic",
  5. "Components": {
  6. "Component_[1041699042621353635]": {
  7. "$type": "EditorOnlyEntityComponent",
  8. "Id": 1041699042621353635
  9. },
  10. "Component_[12814046806080640047]": {
  11. "$type": "EditorEntitySortComponent",
  12. "Id": 12814046806080640047,
  13. "Child Entity Order": [
  14. "Entity_[4428599646439]",
  15. "Entity_[35906786687133]"
  16. ]
  17. },
  18. "Component_[13142080617915271961]": {
  19. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  20. "Id": 13142080617915271961,
  21. "Parent Entity": ""
  22. },
  23. "Component_[14023638413203789638]": {
  24. "$type": "EditorEntityIconComponent",
  25. "Id": 14023638413203789638
  26. },
  27. "Component_[14339763460868207585]": {
  28. "$type": "EditorDisabledCompositionComponent",
  29. "Id": 14339763460868207585
  30. },
  31. "Component_[17606357367803995024]": {
  32. "$type": "EditorPrefabComponent",
  33. "Id": 17606357367803995024
  34. },
  35. "Component_[18253572349287531072]": {
  36. "$type": "EditorInspectorComponent",
  37. "Id": 18253572349287531072
  38. },
  39. "Component_[2296265291920297506]": {
  40. "$type": "EditorLockComponent",
  41. "Id": 2296265291920297506
  42. },
  43. "Component_[40313531044578384]": {
  44. "$type": "EditorVisibilityComponent",
  45. "Id": 40313531044578384
  46. },
  47. "Component_[9279778868904357205]": {
  48. "$type": "EditorPendingCompositionComponent",
  49. "Id": 9279778868904357205
  50. }
  51. }
  52. },
  53. "Entities": {
  54. "Entity_[35906786687133]": {
  55. "Id": "Entity_[35906786687133]",
  56. "Name": "Quit & Reset UI",
  57. "Components": {
  58. "Component_[11523030787389076961]": {
  59. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  60. "Id": 11523030787389076961,
  61. "Parent Entity": "ContainerEntity"
  62. },
  63. "Component_[11608851212741542752]": {
  64. "$type": "EditorVisibilityComponent",
  65. "Id": 11608851212741542752
  66. },
  67. "Component_[12200596900575047519]": {
  68. "$type": "EditorLockComponent",
  69. "Id": 12200596900575047519
  70. },
  71. "Component_[16755178164058506730]": {
  72. "$type": "GenericComponentWrapper",
  73. "Id": 16755178164058506730,
  74. "m_template": {
  75. "$type": "InputConfigurationComponent",
  76. "Input Event Bindings": {
  77. "assetId": {
  78. "guid": "{54F5C4CD-C30E-5EEA-96CE-22BB86633167}"
  79. },
  80. "assetHint": "assets/inputbindings/ui-main.inputbindings"
  81. }
  82. }
  83. },
  84. "Component_[17330767922857874409]": {
  85. "$type": "EditorOnlyEntityComponent",
  86. "Id": 17330767922857874409
  87. },
  88. "Component_[192954100086478604]": {
  89. "$type": "GenericComponentWrapper",
  90. "Id": 192954100086478604,
  91. "m_template": {
  92. "$type": "UiCanvasAssetRefComponent",
  93. "CanvasAssetRef": {
  94. "AssetPath": "ui/quitconfirmation.uicanvas"
  95. }
  96. }
  97. },
  98. "Component_[2643723568299382725]": {
  99. "$type": "EditorEntityIconComponent",
  100. "Id": 2643723568299382725
  101. },
  102. "Component_[3835458572009420387]": {
  103. "$type": "EditorPendingCompositionComponent",
  104. "Id": 3835458572009420387
  105. },
  106. "Component_[4625534857708642626]": {
  107. "$type": "EditorDisabledCompositionComponent",
  108. "Id": 4625534857708642626
  109. },
  110. "Component_[4826561718818095337]": {
  111. "$type": "EditorInspectorComponent",
  112. "Id": 4826561718818095337,
  113. "ComponentOrderEntryArray": [
  114. {
  115. "ComponentId": 11523030787389076961
  116. },
  117. {
  118. "ComponentId": 192954100086478604,
  119. "SortIndex": 1
  120. },
  121. {
  122. "ComponentId": 16755178164058506730,
  123. "SortIndex": 2
  124. },
  125. {
  126. "ComponentId": 5112855786931537693,
  127. "SortIndex": 3
  128. }
  129. ]
  130. },
  131. "Component_[5112855786931537693]": {
  132. "$type": "ScriptEditorComponent",
  133. "Id": 5112855786931537693,
  134. "ScriptComponent": {
  135. "Properties": {
  136. "Properties": [
  137. {
  138. "$type": "AzFramework::ScriptPropertyString",
  139. "id": 261715790,
  140. "name": "CtrlInputEvent",
  141. "value": "Ctrl"
  142. },
  143. {
  144. "$type": "AzFramework::ScriptPropertyBoolean",
  145. "id": 1822771111,
  146. "name": "Debug"
  147. },
  148. {
  149. "$type": "AzFramework::ScriptPropertyString",
  150. "id": 1013725814,
  151. "name": "QuitInputEvent",
  152. "value": "Quit"
  153. },
  154. {
  155. "$type": "AzFramework::ScriptPropertyString",
  156. "id": 1311705664,
  157. "name": "ResetInputEvent",
  158. "value": "Reset"
  159. }
  160. ]
  161. },
  162. "Script": {
  163. "assetId": {
  164. "guid": "{D1D71492-0F89-53DF-A95E-C7A64B9F8574}",
  165. "subId": 1
  166. },
  167. "assetHint": "scripts/uilogic.luac"
  168. }
  169. },
  170. "ScriptAsset": {
  171. "assetId": {
  172. "guid": "{D1D71492-0F89-53DF-A95E-C7A64B9F8574}",
  173. "subId": 1
  174. },
  175. "assetHint": "scripts/uilogic.luac"
  176. }
  177. },
  178. "Component_[5581518532572380002]": {
  179. "$type": "EditorEntitySortComponent",
  180. "Id": 5581518532572380002
  181. }
  182. }
  183. },
  184. "Entity_[4428599646439]": {
  185. "Id": "Entity_[4428599646439]",
  186. "Name": "Demo Statistics",
  187. "Components": {
  188. "Component_[10324930039877259302]": {
  189. "$type": "EditorPendingCompositionComponent",
  190. "Id": 10324930039877259302
  191. },
  192. "Component_[15619761195927060651]": {
  193. "$type": "GenericComponentWrapper",
  194. "Id": 15619761195927060651,
  195. "m_template": {
  196. "$type": "UiCanvasAssetRefComponent",
  197. "CanvasAssetRef": {
  198. "AssetPath": "Ui/GameCanvas.uicanvas"
  199. },
  200. "IsAutoLoad": true
  201. }
  202. },
  203. "Component_[16694828435610717518]": {
  204. "$type": "EditorDisabledCompositionComponent",
  205. "Id": 16694828435610717518
  206. },
  207. "Component_[17996738649912726735]": {
  208. "$type": "EditorLockComponent",
  209. "Id": 17996738649912726735
  210. },
  211. "Component_[18380822925310040489]": {
  212. "$type": "EditorVisibilityComponent",
  213. "Id": 18380822925310040489
  214. },
  215. "Component_[2891571323706424086]": {
  216. "$type": "EditorInspectorComponent",
  217. "Id": 2891571323706424086
  218. },
  219. "Component_[319536893523122204]": {
  220. "$type": "GenericComponentWrapper",
  221. "Id": 319536893523122204,
  222. "m_template": {
  223. "$type": "DemoStatisticsComponent",
  224. "UiEntity": "Entity_[4428599646439]"
  225. }
  226. },
  227. "Component_[4041424097202725965]": {
  228. "$type": "EditorOnlyEntityComponent",
  229. "Id": 4041424097202725965
  230. },
  231. "Component_[5900249943696614320]": {
  232. "$type": "EditorEntityIconComponent",
  233. "Id": 5900249943696614320
  234. },
  235. "Component_[7087924878087252371]": {
  236. "$type": "EditorEntitySortComponent",
  237. "Id": 7087924878087252371
  238. },
  239. "Component_[7273304788652061132]": {
  240. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  241. "Id": 7273304788652061132,
  242. "Parent Entity": "ContainerEntity"
  243. }
  244. }
  245. }
  246. }
  247. }