Class FindClosestWithTagAction
Inheritance
FindClosestWithTagAction
Assembly: Unity.Muse.Behavior.dll
Syntax
[Serializable]
[NodeDescription("Find Closest With Tag", "Find the closest game object with the given tag.", "Find [Target] closest to [Agent] with tag: [Tag]", "", "Action/Find", "66251d9e7971a8112ab0517c0279d08f", null, "C:\\temp\\com.unity.muse.behavior@0.9\\Packages\\com.unity.muse.behavior\\Runtime\\Execution\\Nodes\\Actions\\Find\\FindClosestWithTagAction.cs")]
public class FindClosestWithTagAction : Action
Fields
Agent
Declaration
public BlackboardVariable<GameObject> Agent
Field Value
Tag
Declaration
public BlackboardVariable<string> Tag
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