Vixen
c7401864
csharp
public readonly record struct BehaviorTreeDiagnostic

Something wrong with an authored tree, and where.

Read the guide page for this →

Remarks

A value rather than an exception, because P2's editor draws these in a list beside the canvas and clicks through to the node — the same shape NodeDiagnostic has for the shader and VFX graphs. Compile throws only when a caller asked it to.

Fields and properties (2)

  • public Symbol Node

    The node's name, or None for the tree itself.

  • public string Message

    What is wrong, written to be read by the person who drew it.

Methods (2)

  • public BehaviorTreeDiagnostic(Symbol Node, string Message)

    Something wrong with an authored tree, and where.

  • public override string ToString()

    Returns the fully qualified type name of this instance.

Used by (32)

  • AuthorableNodeTestsVixen.Ai.Tests
  • BehaviorBuildContextVixen.Ai
  • BehaviorTreeCompilerVixen.Ai
  • BehaviorTreeCompilerTestsVixen.Ai.Tests
  • BehaviorTreeContentVixen.Ai
  • BehaviorTreeContentCompilerVixen.Ai
  • BuildStateVixen.Ai
  • CompileStateVixen.Ai
  • GoapDomainContentVixen.Ai
  • GoapDomainContentCompilerVixen.Ai
  • PerceptionNodeTestsVixen.Ai.Perception.Tests
  • QueryContentCompilerVixen.Ai
  • QueryContentTestsVixen.Ai.Tests
  • UtilityContentTestsVixen.Ai.Tests
  • UtilitySetContentVixen.Ai
  • UtilitySetContentCompilerVixen.Ai
  • WorldNodeRegistrationTestsVixen.Ai.Nodes.Tests
  • BehaviorTreeDocumentVixen.Editor.AssetEditors
  • BehaviorTreeDocumentTestsVixen.Editor.AssetEditors.Tests
  • BehaviorTreeImporterVixen.Editor.Assets
  • BehaviorTreeViewVixen.Editor.AssetEditors
  • GoapDomainDocumentVixen.Editor.AssetEditors
  • GoapDomainDocumentTestsVixen.Editor.AssetEditors.Tests
  • GoapDomainImporterVixen.Editor.Assets
  • GoapDomainViewVixen.Editor.AssetEditors
  • QueryDocumentVixen.Editor.AssetEditors
  • QueryImporterVixen.Editor.Assets
  • QueryViewVixen.Editor.AssetEditors
  • UtilitySetDocumentVixen.Editor.AssetEditors
  • UtilitySetDocumentTestsVixen.Editor.AssetEditors.Tests
  • UtilitySetImporterVixen.Editor.Assets
  • UtilitySetViewVixen.Editor.AssetEditors