Beispiel #1
0
 private void OnCollisionEnter(Collision col)
 {
     if (col.gameObject.CompareTag("SoulTarget1"))
     {
         soulParSys.Stop();
         GetComponent <Renderer>().enabled = false;
         soulC.Count();
         Destroy(gameObject, 2);
     }
 }