using System.Collections; using System.Collections.Generic; using MotionFramework; using UnityEngine; /// /// JSON消息数据结构类 /// 用于解析来自网页的JSON消息 /// [System.Serializable] public class MessageData { /// /// 消息代码 /// public string code; /// /// 消息类型 /// none: 没有任何状态 /// sign: 显示签到弹窗 /// public string type; } public class GlobalManager : ModuleSingleton, IModule { /// /// 消息数据 /// public MessageData messageData; public void OnCreate(object createParam) { } public void OnUpdate() { } public void OnDestroy() { } public void OnGUI() { } }