行为树详细介绍的文档

This commit is contained in:
gongxh
2025-09-23 18:18:20 +08:00
parent 11e6b06b24
commit 260a8badae
45 changed files with 4801 additions and 903 deletions

View File

@@ -47,7 +47,7 @@ export class BTAnimation extends BT.LeafNode {
}
/** 条件节点 */
@BT.ClassCondition("BTConditionRandom", { name: "随机条件节点", group: "基础条件节点", desc: "随机0-1的值于设置值返回成功,否则返回失败" })
@BT.ClassCondition("BTConditionRandom", { name: "随机条件节点", group: "基础条件节点", desc: "随机0-1的值于设置值返回成功,否则返回失败" })
export class BTConditionRandom extends BT.Condition {
@BT.prop({ type: BT.ParamType.float, description: "值", defaultValue: 0.5 })