ProjectDDD/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs

47 lines
1.1 KiB
C#
Raw Normal View History

using System;
using UnityEngine;
namespace DDD
{
[Flags]
public enum RestaurantManagementType : uint
{
OpenRestaurantMenu = 0,
StartRestaurant = 1,
}
public class RestaurantManagementInteractionSubsystem : MonoBehaviour, IInteractionSubsystemObject<RestaurantManagementType>
{
[SerializeField] protected RestaurantManagementType _managementType = RestaurantManagementType.OpenRestaurantMenu;
2025-08-26 09:56:40 +00:00
public RestaurantManagementType GetInteractionSubsystemType()
{
return _managementType;
}
public void SetInteractionSubsystemType(RestaurantManagementType inValue)
{
_managementType = inValue;
}
public void InitializeSubsystem()
{
}
public bool CanInteract()
{
return true;
}
public bool OnInteracted(IInteractor interactor, ScriptableObject payloadSo = null)
{
return true;
}
2025-08-26 08:27:50 +00:00
public ScriptableObject GetPayload()
{
return null;
}
}
}