Unity NGUI+Slua tips

1.动态改anchor 不使用OnUpdate ,用OnEnable,能够刷新次数,同时当版式改变时用如下方式web gameObj.updateAnchors = UIRect.AnchorUpdate.OnUpdate gameObj.updateAnchors = UIRect.AnchorUpdate.OnEnable 2,仍然是改相对位置数组 local widget =ga
相关文章
相关标签/搜索