ProjectDDD/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs
NTG 62a916392d Merge branch 'develop' of http://gitea.capers.co.kr:3000/iwnc2020/ProjectDDD into feature/cook_ui
# Conflicts:
#	Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionEvents.cs
2025-08-27 13:06:26 +09:00

47 lines
1.1 KiB
C#

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;
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;
}
public ScriptableObject GetPayload()
{
return null;
}
}
}