public override void OnRegister() { base.OnRegister(); _viewComp = GetView() as TurnMessageView; _panel = GameObject.Find("Panel"); _viewComp.turnMessageTxt.enabled = false; _panel.SetActive(false); AddListener(GameEvents.SHOW_TURN_MESSAGE, ShowTurnMessage); AddListener(GameEvents.HIDE_TURN_MESSAGE, HideTurnMessage); AddListener(GameEvents.UPDATE_LIFE, UpdateLife); // }