Viz Artist Script 關於場景(scene script)變量和組(container script)變量

假設你在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]



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章