Class WaitAction
Inherited Members
Namespace: Global Namespace
Assembly: Unity.Muse.Behavior.dll
Syntax
[Serializable]
[NodeDescription("Wait", "Wait for a specified number of seconds.", "Wait for [SecondsToWait] Seconds", "", "", "0d783cab60fd446bb4d768334502687a", null, "C:\\temp\\com.unity.muse.behavior@0.9\\Packages\\com.unity.muse.behavior\\Runtime\\Execution\\Nodes\\Actions\\WaitAction.cs")]
public class WaitAction : Action
Fields
SecondsToWait
Declaration
public BlackboardVariable<float> SecondsToWait
Field Value
Type | Description |
---|---|
BlackboardVariable<float> |
Methods
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. |