https://github.com/blakeliafk/unity-behaviourtree
Unity 行为树/AI
https://github.com/blakeliafk/unity-behaviourtree
Last synced: 3 months ago
JSON representation
Unity 行为树/AI
- Host: GitHub
- URL: https://github.com/blakeliafk/unity-behaviourtree
- Owner: BlakeLiAFK
- Created: 2019-08-28T06:04:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-28T06:23:47.000Z (over 5 years ago)
- Last Synced: 2025-02-07T08:23:33.072Z (4 months ago)
- Language: C#
- Homepage:
- Size: 94.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unity 行为树
行为树实例### 1. 用代码写的行为树
```
流程说明
->RootNode(SelectNode)
-> SequenceNode
-> ConditionNode 是否饿了
-> SelectNode
-> ConditionNode 是否有饭
-> SequenceNode 做饭流程
-> ActionNode 走去厨房
-> ActionNode 做饭
-> ActionNode 走去餐桌
-> ActionNode 吃饭
-> ParallelNode 并行节点
-> ConditionNode 是否有钱
-> SequenceNode
-> MoveNode 走去酒馆
-> RandomNode
-> ActionNode 喝水
-> ActionNode 喝酒
```### 2. 简单图形编辑器(未完成)
![]()