diff --git a/ComponentBasic/BehaviorPerform.cpp b/ComponentBasic/BehaviorPerform.cpp index c137b8b..16f56ea 100644 --- a/ComponentBasic/BehaviorPerform.cpp +++ b/ComponentBasic/BehaviorPerform.cpp @@ -336,7 +336,7 @@ QList> SequenceNode::getForwards() const QString SequenceNode::typeName() const { - return u8"顺序节点"; + return u8"顺序"; } LogicalResult SequenceNode::execute() { @@ -481,7 +481,7 @@ void SelectorNode::reset() QString SelectorNode::typeName() const { - return u8"选择节点"; + return u8"选择"; } LogicalResult SelectorNode::execute() @@ -523,7 +523,7 @@ void ParallelNode::reset() QString ParallelNode::typeName() const { - return u8"并行节点"; + return u8"并行"; } LogicalResult ParallelNode::execute() @@ -579,7 +579,7 @@ void CompareNode::reset() { QString CompareNode::typeName() const { - return QString(u8"%1<%2>").arg(u8"比较节点", delegateName()); + return QString(u8"%1<%2>").arg(u8"比较", delegateName()); } LogicalResult CompareNode::execute() @@ -764,7 +764,7 @@ QList> ExecuteNode::getForwards() const QString ExecuteNode::typeName() const { - return QString(u8"执行节点<%1>").arg(delegateName()); + return QString(u8"执行<%1>").arg(delegateName()); } QHash> ExecuteNode::inputList() const diff --git a/ComponentBasic/BehaviorPerform.h b/ComponentBasic/BehaviorPerform.h index f29d5c6..d4bc4ca 100644 --- a/ComponentBasic/BehaviorPerform.h +++ b/ComponentBasic/BehaviorPerform.h @@ -465,7 +465,7 @@ enum class IO_TYPE { class COMPONENTBASIC_EXPORT BehaviorMapNode : public LogicalNode { private: std::shared_ptr _bind_kernal; - QString _map_name = u8"行为树节点"; + QString _map_name = u8"行为树"; /// /// 地图变量表