Ejemplo n.º 1
0
 private void OnTriggerEnter2D(Collider2D other)
 {
     if (isClone == false && other.tag == playerTag)
     {
         gameStateController.Collect(collectible);
         Destroy(gameObject);
     }
 }