Unity - A计划(永久有效期) 扫二维码继续学习 二维码时效为半小时

(196评价)
价格: 4049.00元
实例化一个对象后设置他的parent结果弹出提示
兼爱非攻发起了话题2018-02-24
1
回复
1463
浏览

实例化一个对象后设置他的parent结果弹出提示 Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues.

然后对象还是存在,但是当前场景物品列表里并不存在这个对象(Create栏内没有),如果不设置parent的话对象就会正常显示并存在于Create栏内,求解这个提示是什么意思?我设置的parent为UI对象。

所有回复
发表回复
你还没有登录,请先 登录或 注册!