A text-based behaviour script language for Unity.
The project is created in frustration that current Unity behaviour tree plugins (e.g. Behaviour Designer) is overly complex and feels strange to work with. As a programmer, I prefer a text based rather than dragging long branches of nodes.
Main features:
- Simple script language syntax
- Extensible (can easily create custom nodes)
- Workflow is flexible and simple
Clone the repository and copy the Assets/Plugins/BTScript
folder into your project's same directory.
BTScript has VSCode plugin support. Search btscript
in extension marketplace. Source is in ./VSCodeExtension
folder.
- Create a
.bts.txt
file in your project - Write the script
- Assets -> Create -> Behaviour Script to create a new
BehaviourScript
asset - Choose the asset, specify the
.bts.txt
file, click compile - In your GameObject, create an
Behaviour Tree
component - Select the corresponding
BehaviourScript
asset.
Would appreciate a cup of coffee if you liked my work!
- Alipay
- Paypal
- Write longer and detailed introduction
- Documentation of language syntax
- Better blackboard variable support, language wise / inspector wise