Class LookAtAction
Assembly: Unity.Muse.Behavior.dll
Syntax
[Serializable]
[NodeDescription("Look At", "Rotates the Agent to look at the Target.", "[Agent] looks at [Target]", "", "Action/Move", "64086e5d43aae3c075dab693be8ecdc0", null, "C:\\temp\\com.unity.muse.behavior@0.9\\Packages\\com.unity.muse.behavior\\Runtime\\Execution\\Nodes\\Actions\\Move\\LookAtAction.cs")]
public class LookAtAction : Action
Fields
Agent
Declaration
public BlackboardVariable<GameObject> Agent
Field Value
Continuous
Declaration
public BlackboardVariable<bool> Continuous
Field Value
Target
Declaration
public BlackboardVariable<GameObject> Target
Field Value
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.
|
Overrides