public void changeLevelTo(string levelName) { SimpleFader.instance.fade(1f, animationLength, easing, () => { TweenManager.Dispose(); Application.LoadLevel(levelName); }); }
public void changeLevelTo(string levelName) { SimpleFader.instance.fade(1f, animationLength, easing, () => { TweenManager.Dispose(); #pragma warning disable CS0618 // Type or member is obsolete Application.LoadLevel(levelName); #pragma warning restore CS0618 // Type or member is obsolete }); }