using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MMO { public class MMOConfigBase : ScriptableObject where T : ScriptableObject { private static T mInstance; public static T Instance { get { if (mInstance == null) { mInstance = Resources.Load("MMOConfig/" + typeof(T).Name); } return mInstance; } } } }