Exemple #1
0
        public void OnEnable()
        {
            _instance = this;
            _layout   = playerListContentTransform.GetComponent <VerticalLayoutGroup>();

            gameModeName = "CaptureTheFlag";
        }
Exemple #2
0
        public void OnEnable()
        {
            _instance = this;
            _layout = playerListContentTransform.GetComponent<VerticalLayoutGroup>();

			QuickplayLobby quickPlayLobby = FindObjectOfType<QuickplayLobby>();
			if (quickPlayLobby != null)
				quickPlayLobby.panel.SetActive(false);
        }
Exemple #3
0
        public void OnEnable()
        {
            Instance = this;
            Layout.Clear();

            Layout.Add(playerListContentTransform.GetComponent <VerticalLayoutGroup>());
            Layout.Add(playerFirstTeeamListContentTransform.GetComponent <VerticalLayoutGroup>());
            Layout.Add(playerSecondTeeamListContentTransform.GetComponent <VerticalLayoutGroup>());
        }
 public void OnEnable()
 {
     _instance = this;
     _layout   = playerListContentTransform.GetComponent <VerticalLayoutGroup>();
     if (lobbyManager != null)
     {
         lobbyManager.clientDisconnected += OnDisconnect;
         lobbyManager.matchDropped       += OnDrop;
         lobbyManager.clientError        += OnError;
         lobbyManager.serverError        += OnError;
     }
 }
Exemple #5
0
 public void OnEnable()
 {
     if (_instance == null)
     {
         _instance = this;
         _layout = playerListContentTransform.GetComponent<VerticalLayoutGroup>();
     }
     else if (_instance != this)
     {
         Destroy(gameObject);
     }
 }
Exemple #6
0
 public void OnEnable()
 {
     _instance = this;
     _layout   = playerListContentTransform.GetComponent <VerticalLayoutGroup>();
 }
Exemple #7
0
 public void OnEnable()
 {
     _instance = this;
 }
Exemple #8
0
 public void OnEnable()
 {
     RoomName.text = lobbyManager.roomName;
     _instance     = this;
     _layout       = playerListContentTransform.GetComponent <VerticalLayoutGroup>();
 }
Exemple #9
0
 public void OnEnable()
 {
     _instance = this;
     _layout   = playerListContentTransform.GetComponent <VerticalLayoutGroup>();
     //ClickManager.instance.EnableLevelButton();
 }
 public void OnEnable()
 {
     _instance = this;
     _layout = playerListContentTransform.GetComponent<VerticalLayoutGroup>();
 }
Exemple #11
0
 public void OnEnable()
 {
     _instance = this;
     //_layout = playerListContentTransform.GetComponent<HorizontalLayoutGroup>();
 }
 public void OnEnable()
 {
     numberOfPlayerInTheRoom = 0;
     _instance = this;
     _layout   = playerListContentTransform.GetComponent <VerticalLayoutGroup>();
 }
Exemple #13
0
 public void OnEnable()
 {
     _instance = this;
     _layout   = playerListContentTransform.GetComponent <VerticalLayoutGroup>();
     addButtonRow.gameObject.SetActive(false); // Hide add button
 }