Пример #1
0
 public void onEnemies()
 {
     currentState = InstStates.enemies;
 }
Пример #2
0
 public void onCollectibles()
 {
     currentState = InstStates.collectibles;
 }
Пример #3
0
 public void onHowTo()
 {
     currentState = InstStates.howTo;
 }
Пример #4
0
    // the following functions make sure the correct panel is displayed
    // for its corresponding button pressed from the instruction menu

    public void onAbout()
    {
        currentState = InstStates.about;
    }
Пример #5
0
 // ensures first scene always active is the Instructions scene
 public void Awake()
 {
     currentState = InstStates.instructions;
 }
Пример #6
0
 // back button goes back to instruction page
 public void instrBack()
 {
     currentState = InstStates.instructions;
 }