using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TEngine; using System; namespace GameLogic { public enum MessageShowType { None = 0, OneButton = 1, TwoButton = 2, ThreeButton = 3, } public enum StyleEnum { Style_Default = 0,//默认 Style_QuitApp = 1,//退出应用 Style_RestartApp = 2,//重启应用 Style_Retry = 3,//重试 Style_StartUpdate_Notice = 4,//提示更新 Style_DownLoadApk = 5,//下载底包 Style_Clear = 6,//修复客户端 Style_DownZip = 7,//继续下载压缩包 } [Window(UILayer.UI)] public class UITip : UIWindow { public Action OnOk; public Action OnCancel; public MessageShowType ShowType = MessageShowType.None; #region 脚本工具生成的代码 private Button m_btnPackage; private Text m_textTittle; private Text m_textInfo; private Button m_btnIgnore; private Button m_btnUpdate; protected override void ScriptGenerator() { m_btnPackage = FindChildComponent