private void ClearAssets(long startTimestamp, long endTimestamp) { object[] args = new object[] { startTimestamp, endTimestamp, endTimestamp - startTimestamp }; Log.LoadingScreen.Print("LoadingScreen.ClearAssets() - START startTimestamp={0} endTimestamp={1} diff={2}", args); AssetCache.ClearAllCachesBetween(startTimestamp, endTimestamp); ApplicationMgr.Get().UnloadUnusedAssets(); }
public static void ClearAllCachesSince(long sinceTimestamp) { long endTimestamp = TimeUtils.BinaryStamp(); AssetCache.ClearAllCachesBetween(sinceTimestamp, endTimestamp); }