Esempio n. 1
0
 /// <summary>
 /// Start the configuration as "Additive scene change," and attach data.
 /// </summary>
 /// <param name="scene"></param>
 /// <param name="data"></param>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 protected SceneTransitionConfiguration <T> AddScene <T>(IScene scene, T data)
 {
     return(SceneTransitionConfiguration <T> .StartConfiguration(scene, true).AttachData(data));
 }
Esempio n. 2
0
 /// <summary>
 /// Start the configuration as "Total scene change," and attach data.
 /// </summary>
 /// <param name="scene"></param>
 /// <param name="data"></param>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 protected SceneTransitionConfiguration <T> ChangeScene <T>(IScene scene, T data)
 {
     return(SceneTransitionConfiguration <T> .StartConfiguration(scene, false).AttachData(data));
 }
Esempio n. 3
0
 /// <summary>
 /// Start the configuration as "Additive scene change."
 /// You can directly pass this into <see cref="PerformSceneTransition{T}"/>.
 /// </summary>
 /// <param name="scene"></param>
 /// <returns></returns>
 protected SceneTransitionConfiguration <object> AddScene(IScene scene)
 {
     return(SceneTransitionConfiguration <object> .StartConfiguration(scene, true));
 }
Esempio n. 4
0
 /// <summary>
 /// Start the configuration as "Total scene change."
 /// You can directly pass this into <see cref="PerformSceneTransition{T}"/>.
 /// </summary>
 /// <param name="scene"></param>
 /// <returns></returns>
 protected SceneTransitionConfiguration <object> ChangeScene(IScene scene)
 {
     return(SceneTransitionConfiguration <object> .StartConfiguration(scene, false));
 }