Inheritance: MonoBehaviour
Exemplo n.º 1
0
    private LobbyControl GetLobbyUiControl()
    {
        if (m_LobbyControl == null)
        {
            m_LobbyControl = FindObjectOfType <LobbyControl>();
        }

        return(m_LobbyControl);
    }
Exemplo n.º 2
0
 void Start()
 {
     lobby = transform.parent.parent.GetComponent <LobbyControl>();
     UpdatePlayersInTeam();
 }
Exemplo n.º 3
0
 void Awake()
 {
     instance = this;
 }
 // Start is called before the first frame update
 void Start()
 {
     animator     = GetComponent <Animator>();
     lobbyControl = PreStartPanel.GetComponent <LobbyControl>();
 }