unity突然间出现崩溃导致NGUI插件都用不了了,求大牛帮忙
staticpublicUI2DSpriteAdd2DSprite(GameObjectgo){UI2DSpritew=NGUITools.AddWidget<UI2DS...
static public UI2DSprite Add2DSprite (GameObject go)
{
UI2DSprite w = NGUITools.AddWidget<UI2DSprite>(go);
w.name = "2D Sprite";
w.pivot = pivot;
w.sprite2D = sprite2D;//无法将类型sprite隐式转化为unityengine.sprite
w.width = 100;
w.height = 100;
return w;
}
就是这个error导致的,怎么解决 展开
{
UI2DSprite w = NGUITools.AddWidget<UI2DSprite>(go);
w.name = "2D Sprite";
w.pivot = pivot;
w.sprite2D = sprite2D;//无法将类型sprite隐式转化为unityengine.sprite
w.width = 100;
w.height = 100;
return w;
}
就是这个error导致的,怎么解决 展开
若以下回答无法解决问题,邀请你更新回答
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询