Exemple #1
0
 protected override void UIDestroyCallback()
 {
     if (monoComponent != null)
     {
         UnityEngine.Object.DestroyImmediate(monoComponent);
         monoComponent = null;
     }
 }
Exemple #2
0
 protected override void UICreateCallback()
 {
     monoComponent = winObject.AddComponent <MessageWinMono>();
 }