Example #1
0
 public override void Init()
 {
     OnInit.AddListener(InitHealthPanel);
     OnShow.AddListener(ShowHealthPanel);
     OnClose.AddListener(CloseHealthPanel);
     base.Init();
 }
Example #2
0
 public override void Init()
 {
     OnInit.AddListener(InitToolTipPanel);
     OnShow.AddListener(ShowToolTipPanel);
     OnClose.AddListener(CloseToolTipPanel);
     base.Init();
 }
Example #3
0
 public override void Init()
 {
     OnInit.AddListener(InitDialogPanel);
     OnShow.AddListener(ShowDialogPanel);
     OnClose.AddListener(CloseDialogPanel);
     GameManager.Singleton.dialogMgr.OnTyping.AddListener(ShowDialog);
     GameManager.Singleton.dialogMgr.OnNextSentence.AddListener(ClearDialog);
     GameManager.Singleton.dialogMgr.OnOff.AddListener(RecycleDialogPanel);
     base.Init();
 }