LY_SC_UnitTest_HelloWorldFunction.scriptcanvas 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 272534176356398
  9. },
  10. "Name": "HelloWorld",
  11. "Components": {
  12. "Component_[3854067922352095961]": {
  13. "$type": "EditorGraphVariableManagerComponent",
  14. "Id": 3854067922352095961
  15. },
  16. "Component_[9052377962154227383]": {
  17. "$type": "EditorGraph",
  18. "Id": 9052377962154227383,
  19. "m_graphData": {
  20. "m_nodes": [
  21. {
  22. "Id": {
  23. "id": 272547061258286
  24. },
  25. "Name": "SC-Node(FunctionDefinitionNode)",
  26. "Components": {
  27. "Component_[11396419963012713497]": {
  28. "$type": "FunctionDefinitionNode",
  29. "Id": 11396419963012713497,
  30. "Slots": [
  31. {
  32. "id": {
  33. "m_id": "{645D4BAA-1541-4DD6-A80A-C50980E98916}"
  34. },
  35. "contracts": [
  36. {
  37. "$type": "SlotTypeContract"
  38. },
  39. {
  40. "$type": "DisplayGroupConnectedSlotLimitContract",
  41. "limit": 1,
  42. "displayGroup": "NodelingSlotDisplayGroup",
  43. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  44. },
  45. {
  46. "$type": "DisallowReentrantExecutionContract"
  47. }
  48. ],
  49. "slotName": " ",
  50. "DisplayGroup": {
  51. "Value": 3992535411
  52. },
  53. "Descriptor": {
  54. "ConnectionType": 1,
  55. "SlotType": 1
  56. }
  57. },
  58. {
  59. "isVisibile": false,
  60. "id": {
  61. "m_id": "{AFF912AE-890A-4C0D-B1E2-BDDC2B008FA1}"
  62. },
  63. "contracts": [
  64. {
  65. "$type": "SlotTypeContract"
  66. },
  67. {
  68. "$type": "DisplayGroupConnectedSlotLimitContract",
  69. "limit": 1,
  70. "displayGroup": "NodelingSlotDisplayGroup",
  71. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  72. }
  73. ],
  74. "slotName": " ",
  75. "DisplayGroup": {
  76. "Value": 3992535411
  77. },
  78. "Descriptor": {
  79. "ConnectionType": 2,
  80. "SlotType": 1
  81. }
  82. }
  83. ],
  84. "m_displayName": "Out",
  85. "m_identifier": "{1EDB5858-BF68-4C06-81BE-C4C6C18500C2}",
  86. "m_isExecutionEntry": false
  87. }
  88. }
  89. },
  90. {
  91. "Id": {
  92. "id": 272538471323694
  93. },
  94. "Name": "SC-Node(Print)",
  95. "Components": {
  96. "Component_[12477281170783134906]": {
  97. "$type": "Print",
  98. "Id": 12477281170783134906,
  99. "Slots": [
  100. {
  101. "id": {
  102. "m_id": "{6BD6DD55-A040-4323-A6A1-671A45593FED}"
  103. },
  104. "contracts": [
  105. {
  106. "$type": "SlotTypeContract"
  107. }
  108. ],
  109. "slotName": "In",
  110. "toolTip": "Input signal",
  111. "Descriptor": {
  112. "ConnectionType": 1,
  113. "SlotType": 1
  114. }
  115. },
  116. {
  117. "id": {
  118. "m_id": "{8599B85F-2657-4E02-B2F0-2CC3DF2F9CC3}"
  119. },
  120. "contracts": [
  121. {
  122. "$type": "SlotTypeContract"
  123. }
  124. ],
  125. "slotName": "Out",
  126. "Descriptor": {
  127. "ConnectionType": 2,
  128. "SlotType": 1
  129. }
  130. }
  131. ],
  132. "m_format": "Hello, world!",
  133. "m_unresolvedString": [
  134. "Hello, world!"
  135. ]
  136. }
  137. }
  138. },
  139. {
  140. "Id": {
  141. "id": 272542766290990
  142. },
  143. "Name": "SC-Node(FunctionDefinitionNode)",
  144. "Components": {
  145. "Component_[6253414662616905213]": {
  146. "$type": "FunctionDefinitionNode",
  147. "Id": 6253414662616905213,
  148. "Slots": [
  149. {
  150. "isVisibile": false,
  151. "id": {
  152. "m_id": "{18D19F1C-2F6E-4C90-A2BE-466C4CE87963}"
  153. },
  154. "contracts": [
  155. {
  156. "$type": "SlotTypeContract"
  157. },
  158. {
  159. "$type": "DisplayGroupConnectedSlotLimitContract",
  160. "limit": 1,
  161. "displayGroup": "NodelingSlotDisplayGroup",
  162. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  163. },
  164. {
  165. "$type": "DisallowReentrantExecutionContract"
  166. }
  167. ],
  168. "slotName": " ",
  169. "DisplayGroup": {
  170. "Value": 3992535411
  171. },
  172. "Descriptor": {
  173. "ConnectionType": 1,
  174. "SlotType": 1
  175. }
  176. },
  177. {
  178. "id": {
  179. "m_id": "{A153F445-5192-46F2-BB1F-7708711C88C3}"
  180. },
  181. "contracts": [
  182. {
  183. "$type": "SlotTypeContract"
  184. },
  185. {
  186. "$type": "DisplayGroupConnectedSlotLimitContract",
  187. "limit": 1,
  188. "displayGroup": "NodelingSlotDisplayGroup",
  189. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  190. }
  191. ],
  192. "slotName": " ",
  193. "DisplayGroup": {
  194. "Value": 3992535411
  195. },
  196. "Descriptor": {
  197. "ConnectionType": 2,
  198. "SlotType": 1
  199. }
  200. }
  201. ],
  202. "m_displayName": "In",
  203. "m_identifier": "{C54DF87A-22B0-4B5F-A3A5-32C7461C7824}"
  204. }
  205. }
  206. }
  207. ],
  208. "m_connections": [
  209. {
  210. "Id": {
  211. "id": 272551356225582
  212. },
  213. "Name": "srcEndpoint=(Print : In: ), destEndpoint=(Print: In)",
  214. "Components": {
  215. "Component_[5288914408229439479]": {
  216. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  217. "Id": 5288914408229439479,
  218. "sourceEndpoint": {
  219. "nodeId": {
  220. "id": 272542766290990
  221. },
  222. "slotId": {
  223. "m_id": "{A153F445-5192-46F2-BB1F-7708711C88C3}"
  224. }
  225. },
  226. "targetEndpoint": {
  227. "nodeId": {
  228. "id": 272538471323694
  229. },
  230. "slotId": {
  231. "m_id": "{6BD6DD55-A040-4323-A6A1-671A45593FED}"
  232. }
  233. }
  234. }
  235. }
  236. },
  237. {
  238. "Id": {
  239. "id": 272555651192878
  240. },
  241. "Name": "srcEndpoint=(Print: Out), destEndpoint=(Print : Out: )",
  242. "Components": {
  243. "Component_[14264987585494436513]": {
  244. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  245. "Id": 14264987585494436513,
  246. "sourceEndpoint": {
  247. "nodeId": {
  248. "id": 272538471323694
  249. },
  250. "slotId": {
  251. "m_id": "{8599B85F-2657-4E02-B2F0-2CC3DF2F9CC3}"
  252. }
  253. },
  254. "targetEndpoint": {
  255. "nodeId": {
  256. "id": 272547061258286
  257. },
  258. "slotId": {
  259. "m_id": "{645D4BAA-1541-4DD6-A80A-C50980E98916}"
  260. }
  261. }
  262. }
  263. }
  264. }
  265. ]
  266. },
  267. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  268. "versionData": {
  269. "_grammarVersion": 1,
  270. "_runtimeVersion": 1,
  271. "_fileVersion": 1
  272. },
  273. "GraphCanvasData": [
  274. {
  275. "Key": {
  276. "id": 272534176356398
  277. },
  278. "Value": {
  279. "ComponentData": {
  280. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  281. "$type": "SceneComponentSaveData"
  282. }
  283. }
  284. }
  285. },
  286. {
  287. "Key": {
  288. "id": 272538471323694
  289. },
  290. "Value": {
  291. "ComponentData": {
  292. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  293. "$type": "NodeSaveData"
  294. },
  295. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  296. "$type": "GeneralNodeTitleComponentSaveData",
  297. "PaletteOverride": "StringNodeTitlePalette"
  298. },
  299. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  300. "$type": "GeometrySaveData",
  301. "Position": [
  302. 480.0,
  303. 100.0
  304. ]
  305. },
  306. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  307. "$type": "StylingComponentSaveData"
  308. },
  309. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  310. "$type": "PersistentIdComponentSaveData",
  311. "PersistentId": "{96F5E83F-7D91-4DB0-9D24-83AB3B904691}"
  312. }
  313. }
  314. }
  315. },
  316. {
  317. "Key": {
  318. "id": 272542766290990
  319. },
  320. "Value": {
  321. "ComponentData": {
  322. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  323. "$type": "NodeSaveData"
  324. },
  325. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  326. "$type": "GeneralNodeTitleComponentSaveData",
  327. "PaletteOverride": "NodelingTitlePalette"
  328. },
  329. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  330. "$type": "GeometrySaveData",
  331. "Position": [
  332. -40.0,
  333. 80.0
  334. ]
  335. },
  336. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  337. "$type": "StylingComponentSaveData",
  338. "SubStyle": ".nodeling"
  339. },
  340. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  341. "$type": "PersistentIdComponentSaveData",
  342. "PersistentId": "{2587A848-1232-4166-9D1E-0CE74FEF46A1}"
  343. }
  344. }
  345. }
  346. },
  347. {
  348. "Key": {
  349. "id": 272547061258286
  350. },
  351. "Value": {
  352. "ComponentData": {
  353. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  354. "$type": "NodeSaveData"
  355. },
  356. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  357. "$type": "GeneralNodeTitleComponentSaveData",
  358. "PaletteOverride": "NodelingTitlePalette"
  359. },
  360. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  361. "$type": "GeometrySaveData",
  362. "Position": [
  363. 780.0,
  364. 100.0
  365. ]
  366. },
  367. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  368. "$type": "StylingComponentSaveData",
  369. "SubStyle": ".nodeling"
  370. },
  371. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  372. "$type": "PersistentIdComponentSaveData",
  373. "PersistentId": "{921DBB72-7E8E-4B5F-ACC9-4FCA3DC32824}"
  374. }
  375. }
  376. }
  377. }
  378. ],
  379. "StatisticsHelper": {
  380. "InstanceCounter": [
  381. {
  382. "Key": 7011818094993955847,
  383. "Value": 2
  384. },
  385. {
  386. "Key": 10684225535275896474,
  387. "Value": 1
  388. }
  389. ]
  390. }
  391. }
  392. }
  393. }
  394. }
  395. }