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