Class Restart
Restarts child node execution on given conditions.
Inherited Members
Namespace: Unity.Muse.Behavior
Assembly: Unity.Muse.Behavior.dll
Syntax
[Serializable]
[NodeDescription("Restart", "Restarts branch when assigned conditions are true.", "", "", "Flow/Abort", "4d0888f06af04abd987e4b7d61f72e36", typeof(AbortNodeModel), "C:\\temp\\com.unity.muse.behavior@0.11\\Packages\\com.unity.muse.behavior\\Runtime\\Execution\\Nodes\\Decorators\\Aborts\\Restart.cs")]
public class Restart : Modifier
Properties
Conditions
Declaration
public List<Condition> Conditions { get; set; }
Property Value
Type | Description |
---|---|
List<Condition> |
RequiresAllConditions
Declaration
public bool RequiresAllConditions { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
OnEnd()
OnEnd is called when the node has stopped running.
Declaration
protected override void OnEnd()
Overrides
OnStart()
OnStart is called when the node starts running.
Declaration
protected override Node.Status OnStart()
Returns
Type | Description |
---|---|
Node.Status | The status of the node. |
Overrides
OnUpdate()
OnUpdate is called each frame while the node is running.
Declaration
protected override Node.Status OnUpdate()
Returns
Type | Description |
---|---|
Node.Status | The status of the node. |