对于一个新生成的UI GameObject,设置它的位置前,记得先把它的transform.parent和transform.localScale初始化好,否则会导致position值 有意想不到的结果。


洪鲜

岂凡 软件工程师