Vixen
caa30e12
csharp
public sealed class BehaviorTreeResolver

Everything a piece of AI content needs resolving against: the actions its tasks name, the sensors its services run, the inputs its considerations read, the world sources its GOAP keys project from, and the trees its subtrees call.

Read the guide page for this →

Remarks

Three lookups rather than one, because they are answered by three different parts of a game — an action registry is code, a sensor is code, and a tree is content. A caller that has none of them still gets a compile and a list of what was missing, which is what makes a half-authored tree openable.

Fields and properties (4)

  • public const string Unresolved

    What a task whose type could not be resolved runs instead.

  • public AgentActionRegistry Actions

    The actions its tasks are registered in.

  • public BehaviorNodeSchema Schema

    The node library the file's type names are looked up in.

  • public BehaviorTreeLibrary Library

    Trees a dynamic subtree may name at run time.

Methods (18)

Used by (24)

  • AuthorableNodeTestsVixen.Ai.Tests
  • BehaviorTreeContentCompilerVixen.Ai
  • BehaviorTreeResolverReuseTestsVixen.Ai.Tests
  • BuildStateVixen.Ai
  • GoapDomainContentCompilerVixen.Ai
  • PatrolChaseGiveUpTestsVixen.Ai.Nodes.Tests
  • PerceptionNodeTestsVixen.Ai.Perception.Tests
  • PerceptionNodesVixen.Ai.Perception
  • QueryContentCompilerVixen.Ai
  • QueryContentTestsVixen.Ai.Tests
  • QueryNodesVixen.Ai.Nodes
  • UtilityContentTestsVixen.Ai.Tests
  • UtilitySetContentCompilerVixen.Ai
  • WorldNodeRegistrationTestsVixen.Ai.Nodes.Tests
  • WorldNodesVixen.Ai.Nodes
  • BehaviorTreeDocumentVixen.Editor.AssetEditors
  • BehaviorTreeImporterVixen.Editor.Assets
  • GoapDomainDocumentVixen.Editor.AssetEditors
  • GoapDomainImporterVixen.Editor.Assets
  • LiveAgentVixen.Editor.AssetEditors.Tests
  • QueryDocumentVixen.Editor.AssetEditors
  • QueryImporterVixen.Editor.Assets
  • UtilitySetDocumentVixen.Editor.AssetEditors
  • UtilitySetImporterVixen.Editor.Assets