示例#1
0
 private void Awake()
 {
     if (Master == null)
     {
         Master = FindObjectOfType <MeassageManager>();
     }
     Master.OnNewMsgShow += ShowMsg;
     Master.OnMsgFinish  += CloseMsg;
     MsgCanvas.alpha      = 0;
 }
示例#2
0
 private void Awake()
 {
     INS = this;
 }