Beispiel #1
0
 // removes the reference to the keypad to avoid unexpected behaviour
 public void ExitKeypad()
 {
     _currentKeypad = null;
 }
Beispiel #2
0
 // called when the player first interacts with the keypad in order to pass reference
 public void EnterKeypad(KeypadObject keypad)
 {
     _currentKeypad = keypad;
 }