Exemple #1
0
 private void SetVisibility(bool exit, bool newPlayer, bool firstPick, bool confirmation)
 {
     ExitConfirmation.SetActive(exit);
     NewPlayer.SetActive(newPlayer);
     FirstPick.SetActive(firstPick);
     Confirmation.SetActive(confirmation);
 }
Exemple #2
0
    // Use this for initialization
    void Start()
    {
        _instance = this;

        loadingProgress = 0;
        ExitConfirmation.SetActive(false);
        NewPlayer.SetActive(false);
        _state = State.Main;

        _sm[0, 0] = State.NewPlayer;
        _sm[1, 1] = State.NewPlayer;
        _sm[2, 1] = State.Exit;
        _sm[2, 0] = State.FirstPick;
        _sm[3, 0] = State.Confirmation;
        _sm[3, 1] = State.NewPlayer;
        _sm[4, 0] = State.FirstPick;
    }