摘要: 在开放游戏中,很多情况需要定义一个类来“关联”相关信息。在一个脚本中Public 内部类,做相关的逻辑处理。1,细节点;在内部类上加:[System.Seriablizable] 可串行化[System.Serializable]public class TeachInfo{public GameObject[] TeachGo;public int TeachList;}publicclass _Teach : MonoBehaviour {public TeachInfo[] teachInfoS;} 阅读全文
posted @ 2013-04-23 12:25 韦斯利yx 阅读(389) 评论(0) 推荐(0) 编辑