public static void RegisterUnitySingleton <T>(T obj) where T : MonoBehaviour { UnitySingleton <T> .Register(obj); }
public virtual void Awake() { UnitySingleton <T> .Register(this as T); }
public static T GetUnitySingleton <T>() where T : MonoBehaviour { return(UnitySingleton <T> .Get()); }