Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Update ()
- {
- if (myState == States.cell){ state_cell();} //player is inside the cell
- /* CELL ACTIONS */
- else if (myState == States.sheets_0){ state_sheets_0();} //player is examining sheets
- else if (myState == States.lock_0){ state_lock_0();} //player is examining locks
- else if (myState == States.mirror){ state_mirror();} //player is examining mirror
- /* CORRIDOR ACTIONS */
- else if (myState == States.sheets_1){ state_sheets_1();} //player is examining sheets in the corridor
- else if (myState == States.lock_1){ state_lock_1();}
- else if (myState == States.cell_mirror){ state_cell_mirror();}
- /* ENDING */
- else if (myState == States.freedom){ state_freedom();}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement