﻿using UnityEngine;

namespace Adverty5.Utils
{
    public abstract class ScriptableObjectFactory<T>
        where T : ScriptableObject
    {
        public abstract T Create();

        protected static T Load(string path)
        {
            return Resources.Load(path, typeof(T)) as T;
        }
    }
}
