public void OnBtnTrumpetBack() { //TrumpetFrame.SetActive(false); var e = new ChatTrumpetVisibleChange(false); EventDispatcher.Instance.DispatchEvent(e); }
public void OnBtnTrumpetShow() { var e = new ChatTrumpetVisibleChange(true); EventDispatcher.Instance.DispatchEvent(e); //TrumpetFrame.SetActive(true); }
private void OnDisable() { #if !UNITY_EDITOR try { #endif ChannelList.SetActive(false); Binding.RemoveBinding(); var e = new ChatTrumpetVisibleChange(false); EventDispatcher.Instance.DispatchEvent(e); EventDispatcher.Instance.RemoveEventListener(ChatTrumpetWordCountCheck.EVENT_TYPE, OnChatTrumpetWordCountCheck); #if !UNITY_EDITOR } catch (Exception ex) { Logger.Error(ex.ToString()); } #endif }