public void Uninit() { if (Inst == null) { return; } Clean(); Inst = null; }
public void Uninit() { if (!isInit) { return; } isInit = false; ForceRelease(); m_bundleMgr.Uninit(); LogUtils.Log("AssetsMgr.Uninit()..."); LoopUpdateMgr.GetInst().Remove(this); }
public void Init() { if (isInit) { return; } isInit = true; LogUtils.Log("AssetsMgr.Init()..."); LoopUpdateMgr.GetInst().Add(this); m_assetsConfig.ReloadConfig(); m_bundleMgr.Init(m_assetsConfig); }
void OnDestroy() { Uninit(); Inst = null; }
void Awake() { Inst = this; }