指定物件取得子物件

 

Find (name)

尋找名稱路徑

transform.Find("Text")
transform.Find("Money/Text")

 

GetChild (index)

依照遊戲物件順序(索引)取子物件

Transform child = transform.GetChild(0)

 

文章標籤
全站熱搜
創作者介紹
創作者 Weight 的頭像
Weight

股市Coding

Weight 發表在 痞客邦 留言(0) 人氣(238)