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