15 lines
579 B
C#
15 lines
579 B
C#
using System.Collections.Generic;
|
|
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
using UnityEngine.AddressableAssets;
|
|
|
|
namespace DDD
|
|
{
|
|
// Dictionary를 인스펙터창에서 저장하려면 Odin의 SerializedScriptableObject을 상속받아야 함
|
|
[CreateAssetMenu(fileName = "GameFlowAssetsSo", menuName = "GameFlow/GameFlowAssetsSo")]
|
|
public class GameFlowAssetsSo : SerializedScriptableObject
|
|
{
|
|
public Dictionary<GameFlowState, List<string>> FlowItems = new();
|
|
public Dictionary<GameFlowState, List<AssetReference>> FlowAssets = new();
|
|
}
|
|
} |