private void OnTriggerExit(Collider other)
 {
     if (other.transform.tag == "Player")
     {
         psvref = null;
     }
 }
 private void OnTriggerEnter(Collider other)
 {
     if (other.transform.tag == "Player")
     {
         psvref = other.GetComponent <PlayerStatsVictor>();
         StartCoroutine(ContinuedDamage());
     }
 }
Beispiel #3
0
 private void Awake()
 {
     instance = this;
 }