ClosureBT - Code Based Behavior Tree Via Composition View on Asset Store (opens in new tab)

Package details

Latest version
1.0.4
Last updated
First released
Unity version
6000.3.12 or later
Package size
221 KB
Files
134
Favorites
7
Views in the past week
6

Price tracking

Last checked
Tracked since
Lowest recorded
$15.00 on

Keywords

ClosureBT - Code Based Behavior Tree Via Composition

by natteo2343 (opens in new tab)

1 rating, too few to average

Code-based behavior trees and state machines using function closures composed through an embedded DSL.

Price $30.00

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for ClosureBT - Code Based Behavior Tree Via Composition, 6 months Current $30.00; lowest $30.00; highest $30.00 in this period. $0 $25 $50 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 2

ClosureBT - Code Based Behavior Tree Via Composition screenshot 1

ClosureBT - Code Based Behavior Tree Via Composition screenshot 1

About this asset

[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 Language

  • Composition based API inspired by React Hooks

Time Travel Debugger

  • Scrub through execution history
  • Variables 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 core

  • Nodes have OnEnter, OnExit, OnSuccess, etc with async overloads.
  • Closures are created once only and cached, resulting in allocation free execution.

Functional Reactive Programming Support

  • Optional support for FRP style variables

Parameterized nodes with return value support

  • Nodes can have parameters and return values, allowing for improved modularity and configurability.

Runtime node insertion and recursion support

  • Nodes 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 conditions

Requires UniTask (free, with installation helper included).

From the publisher's Asset Store listing.

Technical details

Documentation

Async API

Composition Based API

Time Travel Debugger

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
6000.3.12f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.