WindMill.scriptcanvas 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 1296966205821053
  9. },
  10. "Name": "Script Canvas Graph",
  11. "Components": {
  12. "Component_[5504813568241006027]": {
  13. "$type": "EditorGraph",
  14. "Id": 5504813568241006027,
  15. "m_graphData": {
  16. "m_nodes": [
  17. {
  18. "Id": {
  19. "id": 1296970500788349
  20. },
  21. "Name": "SC-Node(Start)",
  22. "Components": {
  23. "Component_[13154646021266876131]": {
  24. "$type": "Start",
  25. "Id": 13154646021266876131,
  26. "Slots": [
  27. {
  28. "id": {
  29. "m_id": "{CECE7FD1-DD15-420B-98CB-8F7E708A9E71}"
  30. },
  31. "contracts": [
  32. {
  33. "$type": "SlotTypeContract"
  34. }
  35. ],
  36. "slotName": "Out",
  37. "toolTip": "Signaled when the entity that owns this graph is fully activated.",
  38. "Descriptor": {
  39. "ConnectionType": 2,
  40. "SlotType": 1
  41. }
  42. }
  43. ]
  44. }
  45. }
  46. },
  47. {
  48. "Id": {
  49. "id": 1324265017954429
  50. },
  51. "Name": "SC-Node(RotateAroundLocalY)",
  52. "Components": {
  53. "Component_[15537700505636517584]": {
  54. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  55. "Id": 15537700505636517584,
  56. "Slots": [
  57. {
  58. "id": {
  59. "m_id": "{D5D38735-5C30-409A-8714-721094F97ADF}"
  60. },
  61. "contracts": [
  62. {
  63. "$type": "SlotTypeContract"
  64. }
  65. ],
  66. "slotName": "EntityId: 0",
  67. "Descriptor": {
  68. "ConnectionType": 1,
  69. "SlotType": 2
  70. },
  71. "DataType": 1
  72. },
  73. {
  74. "id": {
  75. "m_id": "{F6DF03D9-5C87-4B43-8AD3-8FAC194CC3CB}"
  76. },
  77. "contracts": [
  78. {
  79. "$type": "SlotTypeContract"
  80. }
  81. ],
  82. "slotName": "Number: 1",
  83. "Descriptor": {
  84. "ConnectionType": 1,
  85. "SlotType": 2
  86. },
  87. "DataType": 1,
  88. "IsReference": true,
  89. "VariableReference": {
  90. "m_id": "{9EEE2FD5-2FB3-4E7A-952D-FD779FD64228}"
  91. }
  92. },
  93. {
  94. "id": {
  95. "m_id": "{BAC014D7-4F42-41E3-9FDC-F8BF5449A707}"
  96. },
  97. "contracts": [
  98. {
  99. "$type": "SlotTypeContract"
  100. }
  101. ],
  102. "slotName": "In",
  103. "Descriptor": {
  104. "ConnectionType": 1,
  105. "SlotType": 1
  106. }
  107. },
  108. {
  109. "id": {
  110. "m_id": "{EF05921D-423E-43DA-B22D-C7C1C457AAD1}"
  111. },
  112. "contracts": [
  113. {
  114. "$type": "SlotTypeContract"
  115. }
  116. ],
  117. "slotName": "Out",
  118. "Descriptor": {
  119. "ConnectionType": 2,
  120. "SlotType": 1
  121. }
  122. }
  123. ],
  124. "Datums": [
  125. {
  126. "isOverloadedStorage": false,
  127. "scriptCanvasType": {
  128. "m_type": 1
  129. },
  130. "isNullPointer": false,
  131. "$type": "EntityId",
  132. "value": {
  133. "id": 2901262558
  134. },
  135. "label": "Source"
  136. },
  137. {
  138. "isOverloadedStorage": false,
  139. "scriptCanvasType": {
  140. "m_type": 3
  141. },
  142. "isNullPointer": false,
  143. "$type": "double",
  144. "value": 0.0,
  145. "label": "Euler Angle (Radians)"
  146. }
  147. ],
  148. "methodType": 0,
  149. "methodName": "RotateAroundLocalY",
  150. "className": "TransformBus",
  151. "inputSlots": [
  152. {
  153. "m_id": "{D5D38735-5C30-409A-8714-721094F97ADF}"
  154. },
  155. {
  156. "m_id": "{F6DF03D9-5C87-4B43-8AD3-8FAC194CC3CB}"
  157. }
  158. ],
  159. "prettyClassName": "TransformBus"
  160. }
  161. }
  162. },
  163. {
  164. "Id": {
  165. "id": 1296979090722941
  166. },
  167. "Name": "SC-Node(TimerNodeableNode)",
  168. "Components": {
  169. "Component_[8732092653663824477]": {
  170. "$type": "TimerNodeableNode",
  171. "Id": 8732092653663824477,
  172. "Slots": [
  173. {
  174. "id": {
  175. "m_id": "{251A87D1-F63B-408A-9FC5-13BEB41D7A27}"
  176. },
  177. "contracts": [
  178. {
  179. "$type": "SlotTypeContract"
  180. }
  181. ],
  182. "slotName": "Start",
  183. "toolTip": "Starts the timer",
  184. "DisplayGroup": {
  185. "Value": 2675529103
  186. },
  187. "Descriptor": {
  188. "ConnectionType": 1,
  189. "SlotType": 1
  190. }
  191. },
  192. {
  193. "id": {
  194. "m_id": "{EAC9CA26-BD77-49C2-8ABC-F2C4B30CF349}"
  195. },
  196. "contracts": [
  197. {
  198. "$type": "SlotTypeContract"
  199. }
  200. ],
  201. "slotName": "On Start",
  202. "toolTip": "Starts the timer",
  203. "DisplayGroup": {
  204. "Value": 2675529103
  205. },
  206. "Descriptor": {
  207. "ConnectionType": 2,
  208. "SlotType": 1
  209. }
  210. },
  211. {
  212. "id": {
  213. "m_id": "{CA1D5CB4-0D50-4154-9849-144CC4A21E9B}"
  214. },
  215. "contracts": [
  216. {
  217. "$type": "SlotTypeContract"
  218. }
  219. ],
  220. "slotName": "Stop",
  221. "toolTip": "Stops the timer",
  222. "DisplayGroup": {
  223. "Value": 3109426870
  224. },
  225. "Descriptor": {
  226. "ConnectionType": 1,
  227. "SlotType": 1
  228. }
  229. },
  230. {
  231. "id": {
  232. "m_id": "{14046718-63B7-4DFA-91BD-D55966970A0F}"
  233. },
  234. "contracts": [
  235. {
  236. "$type": "SlotTypeContract"
  237. }
  238. ],
  239. "slotName": "On Stop",
  240. "toolTip": "Stops the timer",
  241. "DisplayGroup": {
  242. "Value": 3109426870
  243. },
  244. "Descriptor": {
  245. "ConnectionType": 2,
  246. "SlotType": 1
  247. }
  248. },
  249. {
  250. "id": {
  251. "m_id": "{DA97FEEF-CB35-427E-A6DB-3883013DD9C4}"
  252. },
  253. "contracts": [
  254. {
  255. "$type": "SlotTypeContract"
  256. }
  257. ],
  258. "slotName": "On Tick",
  259. "toolTip": "Signaled at each tick while the timer is in operation.",
  260. "DisplayGroup": {
  261. "Value": 608626060
  262. },
  263. "Descriptor": {
  264. "ConnectionType": 2,
  265. "SlotType": 1
  266. },
  267. "IsLatent": true
  268. },
  269. {
  270. "id": {
  271. "m_id": "{A2AC692B-F4F5-4882-89A1-F39ABB2F8D5B}"
  272. },
  273. "contracts": [
  274. {
  275. "$type": "SlotTypeContract"
  276. }
  277. ],
  278. "slotName": "Milliseconds",
  279. "toolTip": "The amount of time that has elapsed since the timer started in milliseconds.",
  280. "DisplayDataType": {
  281. "m_type": 3
  282. },
  283. "DisplayGroup": {
  284. "Value": 608626060
  285. },
  286. "Descriptor": {
  287. "ConnectionType": 2,
  288. "SlotType": 2
  289. },
  290. "DataType": 1
  291. },
  292. {
  293. "id": {
  294. "m_id": "{A4EF74F0-C702-47F1-8407-5CB7AB1AC1F9}"
  295. },
  296. "contracts": [
  297. {
  298. "$type": "SlotTypeContract"
  299. }
  300. ],
  301. "slotName": "Seconds",
  302. "toolTip": "The amount of time that has elapsed since the timer started in seconds.",
  303. "DisplayDataType": {
  304. "m_type": 3
  305. },
  306. "DisplayGroup": {
  307. "Value": 608626060
  308. },
  309. "Descriptor": {
  310. "ConnectionType": 2,
  311. "SlotType": 2
  312. },
  313. "DataType": 1
  314. }
  315. ],
  316. "slotExecutionMap": {
  317. "ins": [
  318. {
  319. "_slotId": {
  320. "m_id": "{251A87D1-F63B-408A-9FC5-13BEB41D7A27}"
  321. },
  322. "_outs": [
  323. {
  324. "_slotId": {
  325. "m_id": "{EAC9CA26-BD77-49C2-8ABC-F2C4B30CF349}"
  326. },
  327. "_name": "On Start"
  328. }
  329. ]
  330. },
  331. {
  332. "_slotId": {
  333. "m_id": "{CA1D5CB4-0D50-4154-9849-144CC4A21E9B}"
  334. },
  335. "_outs": [
  336. {
  337. "_slotId": {
  338. "m_id": "{14046718-63B7-4DFA-91BD-D55966970A0F}"
  339. },
  340. "_name": "On Stop"
  341. }
  342. ]
  343. }
  344. ],
  345. "latents": [
  346. {
  347. "_slotId": {
  348. "m_id": "{DA97FEEF-CB35-427E-A6DB-3883013DD9C4}"
  349. },
  350. "_name": "On Tick",
  351. "_outputs": [
  352. {
  353. "_slotId": {
  354. "m_id": "{A2AC692B-F4F5-4882-89A1-F39ABB2F8D5B}"
  355. }
  356. },
  357. {
  358. "_slotId": {
  359. "m_id": "{A4EF74F0-C702-47F1-8407-5CB7AB1AC1F9}"
  360. }
  361. }
  362. ]
  363. }
  364. ]
  365. }
  366. }
  367. }
  368. }
  369. ],
  370. "m_connections": [
  371. {
  372. "Id": {
  373. "id": 1296983385690237
  374. },
  375. "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(Timer: Start)",
  376. "Components": {
  377. "Component_[11028284392239414463]": {
  378. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  379. "Id": 11028284392239414463,
  380. "sourceEndpoint": {
  381. "nodeId": {
  382. "id": 1296970500788349
  383. },
  384. "slotId": {
  385. "m_id": "{CECE7FD1-DD15-420B-98CB-8F7E708A9E71}"
  386. }
  387. },
  388. "targetEndpoint": {
  389. "nodeId": {
  390. "id": 1296979090722941
  391. },
  392. "slotId": {
  393. "m_id": "{251A87D1-F63B-408A-9FC5-13BEB41D7A27}"
  394. }
  395. }
  396. }
  397. }
  398. },
  399. {
  400. "Id": {
  401. "id": 1325265745334397
  402. },
  403. "Name": "srcEndpoint=(Timer: On Tick), destEndpoint=(RotateAroundLocalY: In)",
  404. "Components": {
  405. "Component_[12905984506973117097]": {
  406. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  407. "Id": 12905984506973117097,
  408. "sourceEndpoint": {
  409. "nodeId": {
  410. "id": 1296979090722941
  411. },
  412. "slotId": {
  413. "m_id": "{DA97FEEF-CB35-427E-A6DB-3883013DD9C4}"
  414. }
  415. },
  416. "targetEndpoint": {
  417. "nodeId": {
  418. "id": 1324265017954429
  419. },
  420. "slotId": {
  421. "m_id": "{BAC014D7-4F42-41E3-9FDC-F8BF5449A707}"
  422. }
  423. }
  424. }
  425. }
  426. }
  427. ]
  428. },
  429. "versionData": {
  430. "_grammarVersion": 1,
  431. "_runtimeVersion": 1,
  432. "_fileVersion": 1
  433. },
  434. "m_variableCounter": 2,
  435. "GraphCanvasData": [
  436. {
  437. "Key": {
  438. "id": 1296966205821053
  439. },
  440. "Value": {
  441. "ComponentData": {
  442. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  443. "$type": "SceneComponentSaveData",
  444. "ViewParams": {
  445. "Scale": 0.7939062554687497,
  446. "AnchorX": 493.7610778808594,
  447. "AnchorY": -227.9866180419922
  448. }
  449. }
  450. }
  451. }
  452. },
  453. {
  454. "Key": {
  455. "id": 1296970500788349
  456. },
  457. "Value": {
  458. "ComponentData": {
  459. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  460. "$type": "NodeSaveData"
  461. },
  462. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  463. "$type": "GeneralNodeTitleComponentSaveData",
  464. "PaletteOverride": "TimeNodeTitlePalette"
  465. },
  466. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  467. "$type": "GeometrySaveData",
  468. "Position": [
  469. 200.0,
  470. 160.0
  471. ]
  472. },
  473. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  474. "$type": "StylingComponentSaveData"
  475. },
  476. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  477. "$type": "PersistentIdComponentSaveData",
  478. "PersistentId": "{3C02F97D-1B4E-4BD2-905A-6F2C76F1CC3A}"
  479. }
  480. }
  481. }
  482. },
  483. {
  484. "Key": {
  485. "id": 1296979090722941
  486. },
  487. "Value": {
  488. "ComponentData": {
  489. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  490. "$type": "NodeSaveData"
  491. },
  492. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  493. "$type": "GeneralNodeTitleComponentSaveData",
  494. "PaletteOverride": "TimeNodeTitlePalette"
  495. },
  496. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  497. "$type": "GeometrySaveData",
  498. "Position": [
  499. 360.0,
  500. 400.0
  501. ]
  502. },
  503. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  504. "$type": "StylingComponentSaveData"
  505. },
  506. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  507. "$type": "PersistentIdComponentSaveData",
  508. "PersistentId": "{AAA1182C-3BC6-47F2-BAAB-17EFEE1093BE}"
  509. }
  510. }
  511. }
  512. },
  513. {
  514. "Key": {
  515. "id": 1324265017954429
  516. },
  517. "Value": {
  518. "ComponentData": {
  519. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  520. "$type": "NodeSaveData"
  521. },
  522. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  523. "$type": "GeneralNodeTitleComponentSaveData",
  524. "PaletteOverride": "MethodNodeTitlePalette"
  525. },
  526. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  527. "$type": "GeometrySaveData",
  528. "Position": [
  529. 740.0,
  530. 400.0
  531. ]
  532. },
  533. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  534. "$type": "StylingComponentSaveData",
  535. "SubStyle": ".method"
  536. },
  537. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  538. "$type": "PersistentIdComponentSaveData",
  539. "PersistentId": "{4B870D0B-991E-41E9-AA67-F929524DA812}"
  540. }
  541. }
  542. }
  543. }
  544. ],
  545. "StatisticsHelper": {
  546. "InstanceCounter": [
  547. {
  548. "Key": 4199610336680704683,
  549. "Value": 1
  550. },
  551. {
  552. "Key": 8233714554903076331,
  553. "Value": 1
  554. },
  555. {
  556. "Key": 13774516555068298355,
  557. "Value": 1
  558. }
  559. ]
  560. }
  561. },
  562. "Component_[9903278793161081641]": {
  563. "$type": "EditorGraphVariableManagerComponent",
  564. "Id": 9903278793161081641,
  565. "m_variableData": {
  566. "m_nameVariableMap": [
  567. {
  568. "Key": {
  569. "m_id": "{9EEE2FD5-2FB3-4E7A-952D-FD779FD64228}"
  570. },
  571. "Value": {
  572. "Datum": {
  573. "isOverloadedStorage": false,
  574. "scriptCanvasType": {
  575. "m_type": 3
  576. },
  577. "isNullPointer": false,
  578. "$type": "double",
  579. "value": 0.01
  580. },
  581. "VariableId": {
  582. "m_id": "{9EEE2FD5-2FB3-4E7A-952D-FD779FD64228}"
  583. },
  584. "VariableName": "Speed",
  585. "InitialValueSource": 1
  586. }
  587. }
  588. ]
  589. }
  590. }
  591. }
  592. }
  593. }
  594. }