Class BehaviorGraphAgent
Muse Behavior agent component.
Implements
Inherited Members
Component.GetComponentIndex()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Muse.Behavior
Assembly: Unity.Muse.Behavior.dll
Syntax
[AddComponentMenu("AI/Muse Behavior Agent")]
public class BehaviorGraphAgent : MonoBehaviour, ISerializationCallbackReceiver
Properties
Blackboard
The blackboard associated with the agent's graph.
Declaration
public Blackboard Blackboard { get; }
Property Value
Type | Description |
---|---|
Blackboard |
Graph
The graph of behaviours to be executed by the agent.
Declaration
public BehaviorGraph Graph { get; set; }
Property Value
Type | Description |
---|---|
BehaviorGraph |
Methods
End()
Ends the execution of the agent's behavior graph.
Declaration
public void End()
Init()
Initializes a new instance of the agent's behavior graph.
Declaration
public void Init()
Restart()
Restarts the execution of the agent's behavior graph.
Declaration
public void Restart()
Start()
Begins execution of the agent's behavior graph.
Declaration
public void Start()