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