ClosureBT - Code Based Behavior Tree Via Composition
natteo2343
$16.50
$33.00
50%OFF
(no ratings)
Jump AssetStore
Code-based behavior trees and state machines using function closures composed through an embedded DSL.[Website] [Discord] [Documentation]ClosureBT is a behavior tree and state machine framework for Unity that uses C# function closures paired with an embedded DSL instead of visual node editors or blackboard systems. This allows for far more flexibility and ease of integration compared to traditional visual based behavior trees. Please visit the website for more in depth explanations / code samples of included features.Embedded Domain Specific LanguageComposition based API inspired by React HooksTime Travel DebuggerScrub through execution historyVariables values are saved per snapshot, let's you see your variables at specific points.Allocation free async/await through UniTask and an allocation free runtime coreNodes have OnEnter, OnExit, OnSuccess, etc with async overloads.Closures are created once only and cached, resulting in allocation free execution.Functional Reactive Programming SupportOptional support for FRP style variablesParameterized nodes with return value supportNodes can have parameters and return values, allowing for improved modularity and configurability.Runtime node insertion and recursion supportNodes can insert nodes, including themselves! This allows for patterns like for example dependency chain resolution (eg "Craft" item resolves gathering items, building crafting bench, etc).Easily swap behaviors based on conditionsRequires UniTask (free, with installation helper included).DocumentationAsync APIComposition Based APITime Travel DebuggerDocumentation and UI are partially created with the assistance of AI.




