ProjectDDD/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantEnvironmentState.cs
NTG 6d9e7a7f51 data, state 관리 로직 전부 수정
ScriptableSingleton 모두 삭제
2025-08-18 19:48:36 +09:00

26 lines
731 B
C#

using System;
using System.Collections.Generic;
using UnityEngine;
namespace DDD
{
[Serializable]
public class RestaurantPropLocation
{
public string Id;
public Vector2 Position;
public RestaurantPropLocation(string id, Vector2 position)
{
Id = id;
Position = position;
}
}
[CreateAssetMenu(fileName = "RestaurantEnvironmentState", menuName = "RestaurantState/RestaurantEnvironmentState")]
public class RestaurantEnvironmentState : ScriptableObject
{
public List<RestaurantPropLocation> Props = new List<RestaurantPropLocation>();
public List<RestaurantPropLocation> Objects = new List<RestaurantPropLocation>();
}
}