运行NGUI做的背包的时候,报警告:"You can't place widgets on a layer different than the UIPanel that manages them."
"If you want to move widgets to a different layer, parent them to a new panel instead."点开代码看了一下...
一、原文链接原文链接:http://blog.csdn.net/chenggong2dm/article/details/25716309我们接着上一个例子,做一个按钮的图片切换。功能,就像播放器的“开始”和“暂停”。编写TestButton.cs脚本:using UnityEngine;
using System.Collections;
public class Tes...