2015-05-15 19 views

回答

2

像這樣:

using UnityEngine.UI; 

    VerticalLayoutGroup grp = GetComponent<VerticalLayoutGroup>(); 
    grp.childForceExpandHeight = true; 
    grp.childForceExpandWidth = false; 
+0

可能發誓我昨晚試了一下,並得到了一個錯誤,一定有小姐拼出來,沒有注意到,謝謝 – user2766108