예제 #1
0
 //MISC BUTTONS
 void Road_Button()
 {
     //Only runs once every time the button is pressed
     if (button_pressed == false)
     {
         //Calls function to end all tasks
         End_Task();
         //Says that the button is being pressed
         button_pressed = true;
         //Calls function to change task to "Road_Builder"
         game_manager_script.Change_Task(1);
     }
 }