Exemplo n.º 1
0
        private void Start()
        {
            ToggleCreateRoomForm();
            ToggleJoinRoomForm();

            btnCreate.onClick.AddListener(ToggleCreateRoomForm);
            btnJoin.onClick.AddListener(OnJoinbuttonClick);

            joinRoomForm.AddListener(OnJoinRoomFinish);

            NetworkingService.AddRoomListListener(UpdateListItemsWithRoomData);
        }