HideGemsInGame.scriptcanvas 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 42619270196929
  9. },
  10. "Name": "Script Canvas Graph",
  11. "Components": {
  12. "Component_[12963557416078867772]": {
  13. "$type": "EditorGraph",
  14. "Id": 12963557416078867772,
  15. "m_graphData": {
  16. "m_nodes": [
  17. {
  18. "Id": {
  19. "id": 43546983132865
  20. },
  21. "Name": "EBusEventHandler",
  22. "Components": {
  23. "Component_[10936940193029881001]": {
  24. "$type": "EBusEventHandler",
  25. "Id": 10936940193029881001,
  26. "Slots": [
  27. {
  28. "id": {
  29. "m_id": "{830204CE-C3C7-4630-B571-0BE07CB7D2FD}"
  30. },
  31. "contracts": [
  32. {
  33. "$type": "SlotTypeContract"
  34. }
  35. ],
  36. "slotName": "Connect",
  37. "toolTip": "Connect this event handler to the specified entity.",
  38. "Descriptor": {
  39. "ConnectionType": 1,
  40. "SlotType": 1
  41. }
  42. },
  43. {
  44. "id": {
  45. "m_id": "{D3980A4E-1E3A-4C9E-B059-38007943387E}"
  46. },
  47. "contracts": [
  48. {
  49. "$type": "SlotTypeContract"
  50. }
  51. ],
  52. "slotName": "Disconnect",
  53. "toolTip": "Disconnect this event handler.",
  54. "Descriptor": {
  55. "ConnectionType": 1,
  56. "SlotType": 1
  57. }
  58. },
  59. {
  60. "id": {
  61. "m_id": "{03A1C00E-BF0D-464C-97EC-EEB4E5C6215A}"
  62. },
  63. "contracts": [
  64. {
  65. "$type": "SlotTypeContract"
  66. }
  67. ],
  68. "slotName": "OnConnected",
  69. "toolTip": "Signaled when a connection has taken place.",
  70. "Descriptor": {
  71. "ConnectionType": 2,
  72. "SlotType": 1
  73. }
  74. },
  75. {
  76. "id": {
  77. "m_id": "{A28A390F-A83D-4ED4-A18A-F91C3E2F61BE}"
  78. },
  79. "contracts": [
  80. {
  81. "$type": "SlotTypeContract"
  82. }
  83. ],
  84. "slotName": "OnDisconnected",
  85. "toolTip": "Signaled when this event handler is disconnected.",
  86. "Descriptor": {
  87. "ConnectionType": 2,
  88. "SlotType": 1
  89. }
  90. },
  91. {
  92. "id": {
  93. "m_id": "{5E75E526-8D9E-4552-92A7-D2F88B9B5454}"
  94. },
  95. "contracts": [
  96. {
  97. "$type": "SlotTypeContract"
  98. }
  99. ],
  100. "slotName": "OnFailure",
  101. "toolTip": "Signaled when it is not possible to connect this handler.",
  102. "Descriptor": {
  103. "ConnectionType": 2,
  104. "SlotType": 1
  105. }
  106. },
  107. {
  108. "id": {
  109. "m_id": "{B5530BB2-09D2-43E9-971D-7417E2BF51E4}"
  110. },
  111. "contracts": [
  112. {
  113. "$type": "SlotTypeContract"
  114. }
  115. ],
  116. "slotName": "Source",
  117. "toolTip": "ID used to connect on a specific Event address (Type: EntityId)",
  118. "Descriptor": {
  119. "ConnectionType": 1,
  120. "SlotType": 2
  121. },
  122. "DataType": 1
  123. },
  124. {
  125. "id": {
  126. "m_id": "{87E78B44-AED9-4DAA-9036-CCB1B5F269FA}"
  127. },
  128. "contracts": [
  129. {
  130. "$type": "SlotTypeContract"
  131. }
  132. ],
  133. "slotName": "EntityId",
  134. "DisplayDataType": {
  135. "m_type": 1
  136. },
  137. "Descriptor": {
  138. "ConnectionType": 2,
  139. "SlotType": 2
  140. },
  141. "DataType": 1
  142. },
  143. {
  144. "id": {
  145. "m_id": "{FEA46AE8-F067-4112-9091-B22B1D539D3B}"
  146. },
  147. "contracts": [
  148. {
  149. "$type": "SlotTypeContract"
  150. }
  151. ],
  152. "slotName": "ExecutionSlot:OnEntityActivated",
  153. "Descriptor": {
  154. "ConnectionType": 2,
  155. "SlotType": 1
  156. },
  157. "IsLatent": true
  158. },
  159. {
  160. "id": {
  161. "m_id": "{B984610B-E270-4208-84D2-F64328E2965E}"
  162. },
  163. "contracts": [
  164. {
  165. "$type": "SlotTypeContract"
  166. }
  167. ],
  168. "slotName": "EntityId",
  169. "DisplayDataType": {
  170. "m_type": 1
  171. },
  172. "Descriptor": {
  173. "ConnectionType": 2,
  174. "SlotType": 2
  175. },
  176. "DataType": 1
  177. },
  178. {
  179. "id": {
  180. "m_id": "{4106E277-CF43-438B-AB21-EAE8A3D806A5}"
  181. },
  182. "contracts": [
  183. {
  184. "$type": "SlotTypeContract"
  185. }
  186. ],
  187. "slotName": "ExecutionSlot:OnEntityDeactivated",
  188. "Descriptor": {
  189. "ConnectionType": 2,
  190. "SlotType": 1
  191. },
  192. "IsLatent": true
  193. }
  194. ],
  195. "Datums": [
  196. {
  197. "isOverloadedStorage": false,
  198. "scriptCanvasType": {
  199. "m_type": 1
  200. },
  201. "isNullPointer": false,
  202. "$type": "EntityId",
  203. "value": {
  204. "id": 2901262558
  205. }
  206. }
  207. ],
  208. "m_eventMap": [
  209. {
  210. "Key": {
  211. "Value": 245425936
  212. },
  213. "Value": {
  214. "m_eventName": "OnEntityActivated",
  215. "m_eventId": {
  216. "Value": 245425936
  217. },
  218. "m_eventSlotId": {
  219. "m_id": "{FEA46AE8-F067-4112-9091-B22B1D539D3B}"
  220. },
  221. "m_parameterSlotIds": [
  222. {
  223. "m_id": "{87E78B44-AED9-4DAA-9036-CCB1B5F269FA}"
  224. }
  225. ],
  226. "m_numExpectedArguments": 1
  227. }
  228. },
  229. {
  230. "Key": {
  231. "Value": 4273369222
  232. },
  233. "Value": {
  234. "m_eventName": "OnEntityDeactivated",
  235. "m_eventId": {
  236. "Value": 4273369222
  237. },
  238. "m_eventSlotId": {
  239. "m_id": "{4106E277-CF43-438B-AB21-EAE8A3D806A5}"
  240. },
  241. "m_parameterSlotIds": [
  242. {
  243. "m_id": "{B984610B-E270-4208-84D2-F64328E2965E}"
  244. }
  245. ],
  246. "m_numExpectedArguments": 1
  247. }
  248. }
  249. ],
  250. "m_ebusName": "EntityBus",
  251. "m_busId": {
  252. "Value": 3358774020
  253. }
  254. }
  255. }
  256. },
  257. {
  258. "Id": {
  259. "id": 42653629935297
  260. },
  261. "Name": "SC-Node(SetVisibility)",
  262. "Components": {
  263. "Component_[13018883384151056313]": {
  264. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  265. "Id": 13018883384151056313,
  266. "Slots": [
  267. {
  268. "id": {
  269. "m_id": "{A333F6F3-C709-47F6-8858-68DCD7EFEB3D}"
  270. },
  271. "contracts": [
  272. {
  273. "$type": "SlotTypeContract"
  274. }
  275. ],
  276. "slotName": "EntityId: 0",
  277. "Descriptor": {
  278. "ConnectionType": 1,
  279. "SlotType": 2
  280. },
  281. "DataType": 1
  282. },
  283. {
  284. "id": {
  285. "m_id": "{ABCFCC4E-1FBF-4A7A-9260-40634B3EE191}"
  286. },
  287. "contracts": [
  288. {
  289. "$type": "SlotTypeContract"
  290. }
  291. ],
  292. "slotName": "Boolean: 1",
  293. "Descriptor": {
  294. "ConnectionType": 1,
  295. "SlotType": 2
  296. },
  297. "DataType": 1
  298. },
  299. {
  300. "id": {
  301. "m_id": "{B9103A19-43CE-4B13-B94A-B51F1C978C75}"
  302. },
  303. "contracts": [
  304. {
  305. "$type": "SlotTypeContract"
  306. }
  307. ],
  308. "slotName": "In",
  309. "Descriptor": {
  310. "ConnectionType": 1,
  311. "SlotType": 1
  312. }
  313. },
  314. {
  315. "id": {
  316. "m_id": "{0C800C10-1CE6-4372-B793-9ECBD6BC4601}"
  317. },
  318. "contracts": [
  319. {
  320. "$type": "SlotTypeContract"
  321. }
  322. ],
  323. "slotName": "Out",
  324. "Descriptor": {
  325. "ConnectionType": 2,
  326. "SlotType": 1
  327. }
  328. }
  329. ],
  330. "Datums": [
  331. {
  332. "isOverloadedStorage": false,
  333. "scriptCanvasType": {
  334. "m_type": 1
  335. },
  336. "isNullPointer": false,
  337. "$type": "EntityId",
  338. "value": {
  339. "id": 2901262558
  340. },
  341. "label": "EntityId: 0"
  342. },
  343. {
  344. "isOverloadedStorage": false,
  345. "scriptCanvasType": {
  346. "m_type": 0
  347. },
  348. "isNullPointer": false,
  349. "$type": "bool",
  350. "value": false,
  351. "label": "Boolean: 1"
  352. }
  353. ],
  354. "methodType": 0,
  355. "methodName": "SetVisibility",
  356. "className": "RenderMeshComponentRequestBus",
  357. "inputSlots": [
  358. {
  359. "m_id": "{A333F6F3-C709-47F6-8858-68DCD7EFEB3D}"
  360. },
  361. {
  362. "m_id": "{ABCFCC4E-1FBF-4A7A-9260-40634B3EE191}"
  363. }
  364. ],
  365. "prettyClassName": "RenderMeshComponentRequestBus"
  366. }
  367. }
  368. }
  369. ],
  370. "m_connections": [
  371. {
  372. "Id": {
  373. "id": 45071696522945
  374. },
  375. "Name": "srcEndpoint=(EntityBus Handler: ExecutionSlot:OnEntityActivated), destEndpoint=(SetVisibility: In)",
  376. "Components": {
  377. "Component_[2360157797876015074]": {
  378. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  379. "Id": 2360157797876015074,
  380. "sourceEndpoint": {
  381. "nodeId": {
  382. "id": 43546983132865
  383. },
  384. "slotId": {
  385. "m_id": "{FEA46AE8-F067-4112-9091-B22B1D539D3B}"
  386. }
  387. },
  388. "targetEndpoint": {
  389. "nodeId": {
  390. "id": 42653629935297
  391. },
  392. "slotId": {
  393. "m_id": "{B9103A19-43CE-4B13-B94A-B51F1C978C75}"
  394. }
  395. }
  396. }
  397. }
  398. }
  399. ]
  400. },
  401. "versionData": {
  402. "_grammarVersion": 1,
  403. "_runtimeVersion": 1,
  404. "_fileVersion": 1
  405. },
  406. "GraphCanvasData": [
  407. {
  408. "Key": {
  409. "id": 42619270196929
  410. },
  411. "Value": {
  412. "ComponentData": {
  413. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  414. "$type": "SceneComponentSaveData"
  415. }
  416. }
  417. }
  418. },
  419. {
  420. "Key": {
  421. "id": 42653629935297
  422. },
  423. "Value": {
  424. "ComponentData": {
  425. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  426. "$type": "NodeSaveData"
  427. },
  428. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  429. "$type": "GeneralNodeTitleComponentSaveData",
  430. "PaletteOverride": "MethodNodeTitlePalette"
  431. },
  432. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  433. "$type": "GeometrySaveData",
  434. "Position": [
  435. 420.0,
  436. 180.0
  437. ]
  438. },
  439. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  440. "$type": "StylingComponentSaveData",
  441. "SubStyle": ".method"
  442. },
  443. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  444. "$type": "PersistentIdComponentSaveData",
  445. "PersistentId": "{61BD995A-CFCD-4983-98C4-DF3BB898DBDC}"
  446. }
  447. }
  448. }
  449. },
  450. {
  451. "Key": {
  452. "id": 43546983132865
  453. },
  454. "Value": {
  455. "ComponentData": {
  456. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  457. "$type": "NodeSaveData"
  458. },
  459. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  460. "$type": "GeometrySaveData",
  461. "Position": [
  462. 40.0,
  463. 20.0
  464. ]
  465. },
  466. "{9E81C95F-89C0-4476-8E82-63CCC4E52E04}": {
  467. "$type": "EBusHandlerNodeDescriptorSaveData",
  468. "EventIds": [
  469. {
  470. "Value": 245425936
  471. }
  472. ]
  473. },
  474. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  475. "$type": "StylingComponentSaveData"
  476. },
  477. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  478. "$type": "PersistentIdComponentSaveData",
  479. "PersistentId": "{FC1D5453-F9C1-4B30-AFF7-96BD2274A404}"
  480. }
  481. }
  482. }
  483. }
  484. ],
  485. "StatisticsHelper": {
  486. "InstanceCounter": [
  487. {
  488. "Key": 5842116761103598202,
  489. "Value": 1
  490. },
  491. {
  492. "Key": 13774516392372178953,
  493. "Value": 1
  494. }
  495. ]
  496. }
  497. },
  498. "Component_[13742266926808615408]": {
  499. "$type": "EditorGraphVariableManagerComponent",
  500. "Id": 13742266926808615408
  501. }
  502. }
  503. }
  504. }
  505. }