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