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