Simple Poker Template 0.0.1
Loading...
Searching...
No Matches
SimplePoker.SceneController.TransitionSceneManager Class Reference

Singleton class to manages scene transitions with fading effects. More...

Inheritance diagram for SimplePoker.SceneController.TransitionSceneManager:
SimplePoker.Singleton< TransitionSceneManager >

Public Member Functions

void LoadScene (string scene, float delay=0)
 Loads the specified scene with optional delay.
 
void RestartScene (float delay=0)
 Restarts the current scene with optional delay.
 
void StartScene ()
 Starts the scene transition.
 

Events

EventHandler OnFadingStart
 
EventHandler OnFadingEnd
 
EventHandler OnFadeOutStart
 
EventHandler OnFadeOutEnd
 

Additional Inherited Members

- Protected Member Functions inherited from SimplePoker.Singleton< TransitionSceneManager >
override void Awake ()
 

Detailed Description

Singleton class to manages scene transitions with fading effects.

Member Function Documentation

◆ LoadScene()

void SimplePoker.SceneController.TransitionSceneManager.LoadScene ( string scene,
float delay = 0 )

Loads the specified scene with optional delay.

Parameters
sceneThe name of the scene to load.
delayOptional delay before loading the scene.

◆ RestartScene()

void SimplePoker.SceneController.TransitionSceneManager.RestartScene ( float delay = 0)

Restarts the current scene with optional delay.

Parameters
delayOptional delay before restarting the scene.

◆ StartScene()

void SimplePoker.SceneController.TransitionSceneManager.StartScene ( )

Starts the scene transition.

Event Documentation

◆ OnFadeOutEnd

EventHandler SimplePoker.SceneController.TransitionSceneManager.OnFadeOutEnd

◆ OnFadeOutStart

EventHandler SimplePoker.SceneController.TransitionSceneManager.OnFadeOutStart

◆ OnFadingEnd

EventHandler SimplePoker.SceneController.TransitionSceneManager.OnFadingEnd

◆ OnFadingStart

EventHandler SimplePoker.SceneController.TransitionSceneManager.OnFadingStart

The documentation for this class was generated from the following file: