Unity NGUI+Slua tips

1.動態改anchor 不使用OnUpdate ,用OnEnable,能夠刷新次數,同時當版式改變時用如下方式web gameObj.updateAnchors = UIRect.AnchorUpdate.OnUpdate gameObj.updateAnchors = UIRect.AnchorUpdate.OnEnable 2,仍然是改相對位置數組 local widget =ga
相關文章
相關標籤/搜索