Beispiel #1
0
 public void Update()
 {
     if (InputManager.GetKeyDown(KeyCode.I, inputLevel))
     {
         InputManager.UnblockKeys(inputLevel);
         Destroy(transform.parent.gameObject);
     }
 }
Beispiel #2
0
 public void Start()
 {
     Time.timeScale = 1;
     InputManager.UnblockKeys(0);
 }