2026-04-29 음식 모델 배치

This commit is contained in:
2026-04-29 12:26:31 +09:00
parent 198c2edafb
commit 618195d203
27 changed files with 908 additions and 12 deletions

View File

@@ -44,9 +44,6 @@ private void Consume()
{
_consumed = true;
if (PlayerHunger.Instance != null)
PlayerHunger.Instance.Eat(_foodData.HungerRestoreAmount);
// 손에서 강제 해제 (잡혀있던 상태로 Destroy되면 XRI 경고)
if (_grab != null && _grab.isSelected && _grab.interactionManager != null)
_grab.interactionManager.CancelInteractableSelection((UnityEngine.XR.Interaction.Toolkit.Interactables.IXRSelectInteractable)_grab);