コード例 #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);
 }