Exemplo n.º 1
0
 /// <summary>
 /// 销毁后的处理
 /// </summary>
 protected override void UIDestroyCallback()
 {
     if (monoComponent != null)
     {
         UnityEngine.Object.DestroyImmediate(monoComponent);
         monoComponent = null;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 界面加载完成后的回调
 /// </summary>
 protected override void UICreateCallback()
 {
     monoComponent = winObject.AddComponent <MessageDialogWithTwoSelectMono>();
 }