Esempio n. 1
0
 private void ClearPreviousSceneAssets()
 {
     foreach (GameStringCategory category in this.m_stringCategoriesToUnload)
     {
         GameStrings.UnloadCategory(category);
     }
     this.m_stringCategoriesToUnload.Clear();
     object[] args = new object[] { this.m_assetLoadStartTimestamp, this.m_assetLoadEndTimestamp };
     Log.LoadingScreen.Print("LoadingScreen.ClearPreviousSceneAssets() - START m_assetLoadStartTimestamp={0} m_assetLoadEndTimestamp={1}", args);
     this.ClearAssets(this.m_assetLoadStartTimestamp, this.m_assetLoadEndTimestamp);
     this.m_assetLoadStartTimestamp     = this.m_assetLoadNextStartTimestamp;
     this.m_assetLoadEndTimestamp       = 0L;
     this.m_assetLoadNextStartTimestamp = 0L;
     object[] objArray2 = new object[] { this.m_assetLoadStartTimestamp, this.m_assetLoadEndTimestamp };
     Log.LoadingScreen.Print("LoadingScreen.ClearPreviousSceneAssets() - END m_assetLoadStartTimestamp={0} m_assetLoadEndTimestamp={1}", objArray2);
 }