using System.Collections.Generic; using UnityEngine; namespace KitsuneCafe.SOAP { public interface IDatabase { string Name { get; } } public interface IDatabase : IDatabase { IEnumerable Rows { get; } } public class Database : ScriptableObject, IDatabase { public string Name => name; [SerializeField] private T[] rows; public IEnumerable Rows => rows; } }