假设你在scene script 中定义了如下变量
dim name as string
那么在container script中可以通过以下的方式获取变量
dim temp_name as string=scene.name
同时你可以再场景中利用结构体定义自己的变量
structure player
id as string
name as string
country as string
score1 as string
score2 as string
score3 as string
score4 as string
end structure
然后就可以像其它类型一样直接使用了,例如
dim player as player
dim player_arr as array[player]