Nez.Portable/Core.cs
/// <summary>
///     temporarily runs SceneTransition allowing one Scene to transition to another smoothly with custom effects.
/// </summary>
/// <param name="sceneTransition">Scene transition.</param>
temporarily runs SceneTransition allowing one Scene to transition to another smoothly with custom effects.
temporarily runs SceneTransition allowing one Scene to transition to another smoothly with custom effects .
public static T startSceneTransition<T>(T sceneTransition)
            where T : SceneTransition
        {
            Assert.isNull(
                _instance._sceneTransition,
                "You cannot start a new SceneTransition until the previous one has completed");
            _instance._sceneTransition = sceneTransition;
            return sceneTransition;
        }
public static T startSceneTransition < T > ( T sceneTransition ) where T : SceneTransition { Assert . isNull ( _instance . _sceneTransition , " " ) ; _instance . _sceneTransition = sceneTransition ; return sceneTransition ; }
temporarily runs SceneTransition allowing one Scene to transition to another smoothly with custom effects.
temporarily runs SceneTransition allowing one Scene to transition to another smoothly with custom effects .
sceneTransition
T
None