Ejemplo n.º 1
0
 public void onEnemies()
 {
     currentState = InstStates.enemies;
 }
Ejemplo n.º 2
0
 public void onCollectibles()
 {
     currentState = InstStates.collectibles;
 }
Ejemplo n.º 3
0
 public void onHowTo()
 {
     currentState = InstStates.howTo;
 }
Ejemplo n.º 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;
    }
Ejemplo n.º 5
0
 // ensures first scene always active is the Instructions scene
 public void Awake()
 {
     currentState = InstStates.instructions;
 }
Ejemplo n.º 6
0
 // back button goes back to instruction page
 public void instrBack()
 {
     currentState = InstStates.instructions;
 }