This commit is contained in:
dldydtn9755-crypto
2026-07-28 21:21:29 +09:00
parent 23bc3ef3f3
commit d970835039
19 changed files with 1342 additions and 588 deletions

View File

@@ -0,0 +1,23 @@
using UnityEngine;
using UnityEngine.Events;
public class KimchiHitZone : MonoBehaviour
{
[SerializeField] private UnityEvent onKimchiHit;
private bool hasBeenHit;
private void OnTriggerEnter(Collider other)
{
if (hasBeenHit)
return;
if (!other.CompareTag("Kimchi"))
return;
hasBeenHit = true;
onKimchiHit?.Invoke();
Debug.Log("김치싸대기 성공!");
}
}