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