public static bool InitFramework() { lock (mutex) { if (_framework == null) { _framework = new SFrameWork(); return(true); } else { SDebug.LogWarning("the Framework has been inited"); return(false); } } }
public static void UninitFramework() { _framework.OnDestroy(); _framework = null; }