ProjectDDD/Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionComponent.cs

41 lines
1.1 KiB
C#
Raw Normal View History

using UnityEngine;
namespace DDD.RestaurantEvent
{
public class RestaurantInteractionComponent : MonoBehaviour, IInteractable
{
public bool CanInteract()
{
return true;
}
public bool OnInteracted(IInteractor interactor, ScriptableObject interactionPayloadSo = null)
{
if (CanInteract() == false)
{
return false;
}
bool interactionResult = RestaurantEvents.RestaurantInteraction.RequestInteraction(interactor.GetInteractorGameObject(),
GetInteractableGameObject(), GetInteractionType(), interactionPayloadSo, true);
return interactionResult;
}
public InteractionType GetInteractionType()
{
2025-07-24 08:43:39 +00:00
// TODO : TODO_IMPLEMENT_ME
return InteractionType.None;
}
public GameObject GetInteractableGameObject()
{
2025-07-24 08:43:39 +00:00
// TODO : TODO_IMPLEMENT_ME
return null;
}
public void InitializeInteraction(InteractionType interactionType)
{
2025-07-24 08:43:39 +00:00
// TODO : TODO_IMPLEMENT_ME
}
}
}