using UnityEngine; namespace UltimateWater { public class ScriptableObjectSingleton : ScriptableObject { protected static T LoadSingleton() where T : ScriptableObject { return Resources.Load(typeof(T).Name); } } }