private void callStaticEvent()
 {
     Debug.Log("Calling Static");
     StartCoroutine(staticEvent.playStaticEvent());
 }
 private void TeleportPlayer()
 {
     player.transform.position = teleports[UnityEngine.Random.Range(0, teleports.Count)].position;
     Debug.Log("Teleporting Player");
     StartCoroutine(staticEvent.playStaticEvent());
 }