IEnumerator StartNextLevel()
{
Caching.CleanCache();
Resources.UnloadUnusedAssets();
System.GC.Collect();
yield return new WaitForSeconds(0.5f);
asyn = SceneManager.LoadSceneAsync(AppManager.data.SceneName);
FadeScene.FadeIn();
yield return asyn;
}
IEnumerator StartNextLevel()
{
Caching.CleanCache();
Resources.UnloadUnusedAssets();
System.GC.Collect();
yield return new WaitForSeconds(0.5f);
asyn = SceneManager.LoadSceneAsync(AppManager.data.SceneName);
FadeScene.FadeIn();
yield return asyn;
}