Exemple #1
0
 void OnTriggerEnter2D(Collider2D collider)
 {
     if (collider.gameObject.tag == "Player")
     {
         pC2D.targetSetter(gameObject);
     }
 }