public static void Init(ISetInput setInput) { if (_instance == null) { _instance = MonoSingletonCreator.CreateMonoSingleton <InputMgr>(); } SetInput(setInput); }
public static void Initialize(bool isDontDestory = true) { m_Instance = MonoSingletonCreator.CreateMonoSingleton <T>(isDontDestory); m_Instance.OnSingletonInit(); }