1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4f11136daadff0b44ac2278a314682ab, type: 3}
m_Name: SimpleForLoop
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: e78613481d3edf74982001e8f88c6e4a,
type: 2}
udonAssembly: ".data_start\r\n\r\n .export textField\r\n .export numberOfLoops\r\n
\r\n __instance_0: %UnityEngineUIText, null\r\n __value_0: %SystemString,
null\r\n __index_0: %SystemInt32, null\r\n __condition_0: %SystemBoolean,
null\r\n __instance_1: %UnityEngineUIText, null\r\n __value_1: %SystemString,
null\r\n __arg0_0: %SystemObject, null\r\n __arg1_0: %SystemObject, null\r\n
__instance_2: %UnityEngineUIText, null\r\n __start_0: %SystemInt32, null\r\n
__end_0: %SystemInt32, null\r\n __step_0: %SystemInt32, null\r\n textField:
%UnityEngineUIText, null\r\n numberOfLoops: %SystemInt32, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n
.export runLoop\r\n \r\n runLoop:\r\n \r\n PUSH, textField\r\n
PUSH, __instance_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH,
__value_0\r\n EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n
PUSH, __start_0\r\n PUSH, __index_0\r\n COPY\r\n PUSH, __index_0\r\n
PUSH, numberOfLoops\r\n PUSH, __condition_0\r\n EXTERN, \"SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean\"\r\n
PUSH, __condition_0\r\n JUMP_IF_FALSE, 0x00000124\r\n PUSH, textField\r\n
PUSH, __instance_1\r\n COPY\r\n PUSH, textField\r\n PUSH,
__instance_2\r\n COPY\r\n PUSH, __instance_2\r\n PUSH, __arg0_0\r\n
EXTERN, \"UnityEngineUIText.__get_text__SystemString\"\r\n PUSH, __index_0\r\n
PUSH, __arg1_0\r\n COPY\r\n PUSH, __arg0_0\r\n PUSH, __arg1_0\r\n
PUSH, __value_1\r\n EXTERN, \"SystemString.__Concat__SystemObject_SystemObject__SystemString\"\r\n
PUSH, __instance_1\r\n PUSH, __value_1\r\n EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n
PUSH, __index_0\r\n PUSH, __step_0\r\n PUSH, __index_0\r\n
EXTERN, \"SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32\"\r\n
JUMP, 0x00000040\r\n JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n"
assemblyError:
graphData:
name:
description:
nodes:
- fullName: For
uid: e1503096-c825-4660-b60a-e1a2cb834dad
position: {x: 587.6804, y: -705.00446}
nodeUIDs:
-
- c0b36ed6-7fb0-46dc-afe0-c613fda24076|0
-
flowUIDs:
- 87e45329-d5c4-45a9-b594-7fa0e67b01ef
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
- unityObjectValue: {fileID: 0}
stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|3
- unityObjectValue: {fileID: 0}
stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1
- fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid
uid: 87e45329-d5c4-45a9-b594-7fa0e67b01ef
position: {x: 1278.6003, y: -708.00024}
nodeUIDs:
- b822ca4a-6822-480a-b0f9-7d7a96298011|0
- 44ae4d9d-7f39-4805-8359-dec0d5673d6f|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: SystemString.__Concat__SystemObject_SystemObject__SystemString
uid: 44ae4d9d-7f39-4805-8359-dec0d5673d6f
position: {x: 1026.8503, y: -550.0002}
nodeUIDs:
- 6b471919-11bb-4083-ad4a-d1b9a47c2e47|0
- e1503096-c825-4660-b60a-e1a2cb834dad|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Variable_UnityEngineUIText
uid: 49c910c5-c46b-474d-91ac-86be3b5914f5
position: {x: -192, y: -840}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|textField
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|loop
- fullName: Get_Variable
uid: 302fb0b7-2011-4250-82a6-aab26253d4a3
position: {x: -133.65009, y: -589.6718}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|49c910c5-c46b-474d-91ac-86be3b5914f5
- fullName: Event_Custom
uid: ebec4f91-b203-4a2e-b52a-0d6167e6f949
position: {x: -187.30438, y: -707.3043}
nodeUIDs:
-
flowUIDs:
- 76a9e133-ce1d-40f8-878e-519790db786c
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|runLoop
- fullName: UnityEngineUIText.__get_text__SystemString
uid: 6b471919-11bb-4083-ad4a-d1b9a47c2e47
position: {x: 41.49785, y: -515.8067}
nodeUIDs:
- 302fb0b7-2011-4250-82a6-aab26253d4a3|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Get_Variable
uid: b822ca4a-6822-480a-b0f9-7d7a96298011
position: {x: 1058.1002, y: -638.1003}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|49c910c5-c46b-474d-91ac-86be3b5914f5
- fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid
uid: 76a9e133-ce1d-40f8-878e-519790db786c
position: {x: 48, y: -708}
nodeUIDs:
- 302fb0b7-2011-4250-82a6-aab26253d4a3|0
-
flowUIDs:
- e1503096-c825-4660-b60a-e1a2cb834dad
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|loops:'
- fullName: Variable_SystemInt32
uid: 6343df08-f39e-40a1-8368-a69a4942cab6
position: {x: -192, y: -1008}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|numberOfLoops
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- unityObjectValue: {fileID: 0}
stringValue: 'System.String, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|loops:'
- fullName: Get_Variable
uid: c0b36ed6-7fb0-46dc-afe0-c613fda24076
position: {x: 370.79575, y: -609.71545}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6343df08-f39e-40a1-8368-a69a4942cab6
updateOrder: 0
graphElementData:
- type: 3
uid: 4c9d90e7-ea8f-4b1a-bb27-526f6482a216
jsonData: '{"uid":"4c9d90e7-ea8f-4b1a-bb27-526f6482a216","layout":{"serializedVersion":"2","x":913.2000732421875,"y":-399.25018310546877,"width":339.9499816894531,"height":99.05000305175781},"title":"string
Concat adds strings together - in this case, add a number to the current text
in the TextField","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 3
uid: d69b2ba6-6adc-4ae8-b5d8-0b88b4a47042
jsonData: '{"uid":"d69b2ba6-6adc-4ae8-b5d8-0b88b4a47042","layout":{"serializedVersion":"2","x":-711.9537963867188,"y":-708.876708984375,"width":501.75,"height":79.10001373291016},"title":"this
event is called from the SendEventOnMouseDown graph on the ClickableCubeForLoop","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 3
uid: 388e734b-7473-487c-bf34-72f6eed5a0fd
jsonData: '{"uid":"388e734b-7473-487c-bf34-72f6eed5a0fd","layout":{"serializedVersion":"2","x":-452.39984130859377,"y":-564.6920776367188,"width":305.1000671386719,"height":40.00000762939453},"title":"get
the public TextField variable","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 3
uid: 4c1d5fe2-12c2-48fe-a0d4-1aace70c606d
jsonData: '{"uid":"4c1d5fe2-12c2-48fe-a0d4-1aace70c606d","layout":{"serializedVersion":"2","x":45.55017852783203,"y":-427.8421936035156,"width":333.8500671386719,"height":68.75000762939453},"title":"Get
the current text in the TextField so we can add to it","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 3
uid: 3516f6f2-aa41-440f-b578-beefb87cb39d
jsonData: '{"uid":"3516f6f2-aa41-440f-b578-beefb87cb39d","layout":{"serializedVersion":"2","x":1287.2772216796875,"y":-783.47607421875,"width":285.0,"height":67.0},"title":"Set
the text in the TextField to this new combined string","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 3
uid: 4524fdf1-99ae-4c5f-8be8-699313990546
jsonData: '{"uid":"4524fdf1-99ae-4c5f-8be8-699313990546","layout":{"serializedVersion":"2","x":429.2772216796875,"y":-813.47607421875,"width":512.0,"height":94.0},"title":"The
For node runs ''numberOfLoops'' times, running the flow connected to ''Body''
each time, with the ''int'' output set to the number of the loop we''re on
- 0,1,2 etc.","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
viewTransform:
position: {x: 0, y: 0}
scale: 1
version: 1.0.0
showAssembly: 0
|