2026-04-29 음식 모델 배치
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user