자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
private void OnMouseDown() { if (gameManager.isGameActive) { Destroy(gameObject); Instantiate(explosion, transform.position, explosion.transform.rotation); gameManager.UpdateScore(pointValue); } }