level 6
a5417201
楼主
代码
private void Awake()
{
//offSet = forOffSet.position.x - drawCard.position.x;
//ownCard = this.GetComponent<UISprite>();
//frame = this.transform.Find("cardFarmel").GetComponent<UISprite>();
Debug.Log(1);
}
执行结果

上面的代码其实就一个debug其他的基本上都注释了,但依然有6个1 按照道理将 awake只会执行一次 为什么会有6个1 我人已经晕了 有没有大神解答下
2019年03月11日 15点03分
1
private void Awake()
{
//offSet = forOffSet.position.x - drawCard.position.x;
//ownCard = this.GetComponent<UISprite>();
//frame = this.transform.Find("cardFarmel").GetComponent<UISprite>();
Debug.Log(1);
}
执行结果

上面的代码其实就一个debug其他的基本上都注释了,但依然有6个1 按照道理将 awake只会执行一次 为什么会有6个1 我人已经晕了 有没有大神解答下