Class BasicWorkAction
A work action to play a sound.
Implements
Inherited Members
Namespace: Evergine.Components.WorkActions
Assembly: Evergine.Components.dll
Syntax
public class BasicWorkAction : WorkAction, IWorkAction
Constructors
BasicWorkAction(Scene)
Initializes a new instance of the BasicWorkAction class.
Declaration
public BasicWorkAction(Scene scene = null)
Parameters
Type | Name | Description |
---|---|---|
Scene | scene | The associated scene. |
Methods
NotifyActionCompleted()
Notifies that the action is complete.
Declaration
public void NotifyActionCompleted()
PerformRun()
Performs Run actions.
Declaration
protected override void PerformRun()
Overrides
Events
OnRun
Occurs when the action is running.
Declaration
public event Action OnRun
Event Type
Type | Description |
---|---|
Action |