csharp
public readonly record struct BehaviorFieldOne settable thing on a node, decorator or service.
Remarks
The row an inspector draws without any per-node editor code, the way doc 34's GoalKindSchema generates a goal's. That is not a saving of typing: an inspector written by hand per node is fifty places for a label and a tooltip to drift from what the node does, and the node library is a list this document expects to grow.
Fields and properties (6)
public string NameWhat the file calls it.
public string LabelWhat a person reads.
public BehaviorFieldKind KindWhat it holds.
public string DescriptionWhat it means, for the inspector's tooltip.
public string DefaultWhat it is when nobody has said.
public string[]? ChoicesThe options, for Choice.
Methods (1)
public BehaviorField(string Name, string Label, BehaviorFieldKind Kind, string Description, string Default = "", string[]? Choices = null)One settable thing on a node, decorator or service.
Used by (9)
- BehaviorNodeSchemaVixen.Ai
- BehaviorNodeTypeVixen.Ai
- BuildStateVixen.Ai
- PerceptionNodesVixen.Ai.Perception
- QueryNodesVixen.Ai.Nodes
- WorldNodeRegistrationTestsVixen.Ai.Nodes.Tests
- WorldNodesVixen.Ai.Nodes
- BehaviorTreeModelVixen.Editor.Ai
- BehaviorTreeViewVixen.Editor.AssetEditors