예제 #1
0
    void OnDestroy()
    {
        //ChatSystem.instance.ChatPanelOk -= ChatokOk;
        ChatMinPanel minPanel = chatminPanel.GetComponent <ChatMinPanel> ();

        minPanel.Hide();
//		ChatMaxPanel maxPanel = chatmaxPanel.GetComponent<ChatMaxPanel> ();
//		maxPanel.Hide ();
    }
예제 #2
0
    void Start()
    {
        _chatPanle = this;
        Item.SetActive(false);
        MaxCount = 30;
        //ReceiveChat (ChatSystem.ChatInfos);

        //ChatSystem.instance.ChatPanelOk  += ReceiveChat;
        UIManager.SetButtonEventHandler(AreBtn.gameObject, EnumButtonEvent.OnClick, OnClickAre, 0, 0);
        UIManager.SetButtonEventHandler(SetBtn.gameObject, EnumButtonEvent.OnClick, OnClickSet, 0, 0);
        //UpdataChatItem(ChatSystem.ChatInfos);
    }