void Update() { if (Pause) { return; } m_Time += Time.unscaledDeltaTime; if (m_Time > UnloadCycle) { ABLoader.Unload(); m_Time = 0; } }
protected override void RequestImpl() { ABLoader.LoadSceneAsync(BundleName, AssetName, Mode, () => OnSuccess(true), OnError); }
protected override void RequestImpl() { ABLoader.LoadContainer(BundleName, x => OnSuccess(x), OnError); }