示例#1
0
    // Start is called before the first frame update
    void Start()
    {
        m_roomButton = this.gameObject.GetComponent <Button>();

        p_clinet = GameObject.Find("Popup_RoomList").GetComponent <SC_Client>();

        //클릭하면 실행할 이벤트 함수를 등록한다.
        m_roomButton.onClick.AddListener(delegate { SentToClientRoomID(this.gameObject.name); });
    }