Beispiel #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.tag == "Player")
     {
         currentLevelManager.Showmessage("Press E to Activate!");
         objectactivate.SetActive(bl_activate);
     }
 }
Beispiel #2
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.tag == "Player")
     {
         currentLevelManager.Showmessage("Pressing Q  enables special interactions");
         print("Go");
         //Hud.gameObject.SetActive(true);
         //timecompleter = Time.time + timeon;
     }
 }