void OnTriggerEnter2D(Collider2D col) { if (col.gameObject.name == "Player" && !MinigameManager.isMinigameOver) { MinigameManager.EndMinigameState(); } }
void OnTriggerEnter2D(Collider2D col) { if (col.gameObject.name == "Player" && !MinigameManager.isMinigameOver) { MinigameManager.EndMinigameState(); } }