public void OnEnable() { _instance = this; _layout = playerListContentTransform.GetComponent <VerticalLayoutGroup>(); gameModeName = "CaptureTheFlag"; }
public void OnEnable() { _instance = this; _layout = playerListContentTransform.GetComponent<VerticalLayoutGroup>(); QuickplayLobby quickPlayLobby = FindObjectOfType<QuickplayLobby>(); if (quickPlayLobby != null) quickPlayLobby.panel.SetActive(false); }
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; } }
public void OnEnable() { if (_instance == null) { _instance = this; _layout = playerListContentTransform.GetComponent<VerticalLayoutGroup>(); } else if (_instance != this) { Destroy(gameObject); } }
public void OnEnable() { _instance = this; _layout = playerListContentTransform.GetComponent <VerticalLayoutGroup>(); }
public void OnEnable() { _instance = this; }
public void OnEnable() { RoomName.text = lobbyManager.roomName; _instance = this; _layout = playerListContentTransform.GetComponent <VerticalLayoutGroup>(); }
public void OnEnable() { _instance = this; _layout = playerListContentTransform.GetComponent <VerticalLayoutGroup>(); //ClickManager.instance.EnableLevelButton(); }
public void OnEnable() { _instance = this; _layout = playerListContentTransform.GetComponent<VerticalLayoutGroup>(); }
public void OnEnable() { _instance = this; //_layout = playerListContentTransform.GetComponent<HorizontalLayoutGroup>(); }
public void OnEnable() { numberOfPlayerInTheRoom = 0; _instance = this; _layout = playerListContentTransform.GetComponent <VerticalLayoutGroup>(); }
public void OnEnable() { _instance = this; _layout = playerListContentTransform.GetComponent <VerticalLayoutGroup>(); addButtonRow.gameObject.SetActive(false); // Hide add button }