Unity的插件NGUI脚本Sprite报错
NullReferenceException:ObjectreferencenotsettoaninstanceofanobjectUISprite.get_drawin...
NullReferenceException: Object reference not set to an instance of an object
UISprite.get_drawingDimensions () (at Assets/NGUI/Scripts/UI/UISprite.cs:599)
NGUITools.UpdateWidgetCollider (UnityEngine.BoxCollider box, Boolean considerInactive) (at Assets/NGUI/Scripts/Internal/NGUITools.cs:295)
UIWidget.ResizeCollider () (at Assets/NGUI/Scripts/Internal/UIWidget.cs:731)
UIWidget.OnValidate () (at Assets/NGUI/Scripts/Internal/UIWidget.cs:854)
UISprite.OnValidate () (at Assets/NGUI/Scripts/UI/UISprite.cs:363) 展开
UISprite.get_drawingDimensions () (at Assets/NGUI/Scripts/UI/UISprite.cs:599)
NGUITools.UpdateWidgetCollider (UnityEngine.BoxCollider box, Boolean considerInactive) (at Assets/NGUI/Scripts/Internal/NGUITools.cs:295)
UIWidget.ResizeCollider () (at Assets/NGUI/Scripts/Internal/UIWidget.cs:731)
UIWidget.OnValidate () (at Assets/NGUI/Scripts/Internal/UIWidget.cs:854)
UISprite.OnValidate () (at Assets/NGUI/Scripts/UI/UISprite.cs:363) 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询