csharp
public static class GoapDomainContentCompilerTurns the tables in a .vxgoap into a domain, and builds its graph.
Remarks
The third of the three content compilers, and it shares the other two's back half: an action's task is looked up in the same BehaviorNodeSchema, built by the same factories and registered in the same AgentActionRegistry.
⚠ A condition on a key nobody declared is the failure a designer cannot see, because it never holds — so the action it gates never runs and the goal it belongs to is never met, with nothing in the game to look at. It is a diagnostic here, and the importer fails the build on it.
Methods (1)
public static bool TryCompile(GoapDomainContent content, BehaviorTreeResolver resolver, out IReadOnlyList<BehaviorTreeDiagnostic> diagnostics, out GoapDomain? domain, BlackboardLayout? layout = null)Builds a domain from a file.
Used by (2)
- GoapDomainDocumentVixen.Editor.AssetEditors
- GoapDomainImporterVixen.Editor.Assets