BoxColliders does not support negative scale or size.

UNITY NGUI报错信息如下:

BoxColliders does not support negative scale or size.
The effective box size has been forced positive and is likely to give unexpected collision geometry.
If you absolutely need to use negative scaling you can use the convex MeshCollider. Scene hierarchy path "UI Root/PopUIRoot/charge/Offset/TabContent/Charge-TianBaoLuoPan(Clone)/offset/luopan/Offset/Buttons/TenResult03(ren)"

 

原因是:BoxColliders 的size是负坐标,如下图,解决办法:改成正数即可

BoxColliders does not support negative scale or size.

上一篇:威尔逊置信区间


下一篇:字符串转换成浮点数