Sequine - Scripting API
Calcatz.Sequine.LoadSceneAsyncCommand Class Reference

Loads a scene asynchronously. Make sure to add the scene to the build settings first. More...

Inheritance diagram for Calcatz.Sequine.LoadSceneAsyncCommand:
Calcatz.CookieCutter.Command< float >

Public Member Functions

override void Execute (CommandExecutionFlow _flow)
 The process to execute upon visiting the main in-point (white in-point). More...
 
override float GetOutput (CommandExecutionFlow _flow, int _pointIndex)
 
override void Editor_InitInPoints ()
 Called when a Command Node is initialized, specifically the in-points. Use this method to ensure inputIds as well. More...
 
override void Editor_InitOutPoints ()
 Called when a Command Node is initialized, specifically the out-points. Use this method to ensure nextIds as well. More...
 
override void Editor_OnDrawTitle (out string _tooltip)
 Called when a Command Node's title is drawn. Use this to change the tooltip of the command. Also use this to decide whether the Title should draw in-point and/or out-point. More...
 
override void Editor_OnDrawContents (Vector2 _absPosition)
 Called when a Command Node is drawn. More...
 

Public Attributes

string sceneToLoad
 
LoadSceneMode loadSceneMode
 
UnityEditor.SceneAsset sceneAssetToLoad
 

Protected Member Functions

override void HandleInterruption ()
 Called when the current flow is force killed, while the currently executed command is exactly this command, and has not exited. Note that "exited" here means that Exit() method has been called. More...
 

Properties

override float nodeWidth [get]
 

Detailed Description

Loads a scene asynchronously. Make sure to add the scene to the build settings first.

Member Function Documentation

◆ Editor_InitInPoints()

override void Calcatz.Sequine.LoadSceneAsyncCommand.Editor_InitInPoints ( )
virtual

Called when a Command Node is initialized, specifically the in-points. Use this method to ensure inputIds as well.

Reimplemented from Calcatz.CookieCutter.Command< float >.

◆ Editor_InitOutPoints()

override void Calcatz.Sequine.LoadSceneAsyncCommand.Editor_InitOutPoints ( )
virtual

Called when a Command Node is initialized, specifically the out-points. Use this method to ensure nextIds as well.

Reimplemented from Calcatz.CookieCutter.Command< float >.

◆ Editor_OnDrawContents()

override void Calcatz.Sequine.LoadSceneAsyncCommand.Editor_OnDrawContents ( Vector2  _absPosition)
virtual

Called when a Command Node is drawn.

Parameters
_absPosition

Reimplemented from Calcatz.CookieCutter.Command< float >.

◆ Editor_OnDrawTitle()

override void Calcatz.Sequine.LoadSceneAsyncCommand.Editor_OnDrawTitle ( out string  _tooltip)
virtual

Called when a Command Node's title is drawn. Use this to change the tooltip of the command. Also use this to decide whether the Title should draw in-point and/or out-point.

Parameters
_tooltip

Reimplemented from Calcatz.CookieCutter.Command< float >.

◆ Execute()

override void Calcatz.Sequine.LoadSceneAsyncCommand.Execute ( CommandExecutionFlow  _flow)
virtual

The process to execute upon visiting the main in-point (white in-point).

Parameters
_flow

Reimplemented from Calcatz.CookieCutter.Command< float >.

◆ GetOutput()

override float Calcatz.Sequine.LoadSceneAsyncCommand.GetOutput ( CommandExecutionFlow  _flow,
int  _pointIndex 
)
virtual

◆ HandleInterruption()

override void Calcatz.Sequine.LoadSceneAsyncCommand.HandleInterruption ( )
protectedvirtual

Called when the current flow is force killed, while the currently executed command is exactly this command, and has not exited. Note that "exited" here means that Exit() method has been called.

Reimplemented from Calcatz.CookieCutter.Command< float >.

Member Data Documentation

◆ loadSceneMode

LoadSceneMode Calcatz.Sequine.LoadSceneAsyncCommand.loadSceneMode

◆ sceneAssetToLoad

UnityEditor.SceneAsset Calcatz.Sequine.LoadSceneAsyncCommand.sceneAssetToLoad

◆ sceneToLoad

string Calcatz.Sequine.LoadSceneAsyncCommand.sceneToLoad

Property Documentation

◆ nodeWidth

override float Calcatz.Sequine.LoadSceneAsyncCommand.nodeWidth
get