public void OnNotify(Notification _noti) { if (_noti.name == NotificationKeys.GameOver) { if (flag_over) { return; } flag_over = true; //TO DO Debug.Log("GameOver " + (string)_noti.data); if (GameOverUI != null) { GameOverUI.gameObject.SetActive(true); GameOverUI.SetWinnerText((string)_noti.data); } m_ThankMessage.GetRandomThankMessage(); } }