(client) chore:Clean code

This commit is contained in:
2025-08-28 16:20:24 +08:00
parent 909e995e15
commit c3bff1cf88
76 changed files with 5689 additions and 445 deletions

View File

@ -7,10 +7,10 @@ namespace Data
public class BehaviorTreeDef : Define
{
public BehaviorTreeDef[] childTree;
public string className= "ThinkNode_Selector";
public string className = "ThinkNode_Selector";
public string value;
public override bool Init(XElement xmlDef)
{
base.Init(xmlDef);
@ -23,7 +23,7 @@ namespace Data
var xElements = nodes as XElement[] ?? nodes.ToArray();
if (!xElements.Any())
return true; // 没有子节点也是有效的
List<BehaviorTreeDef> children = new();
foreach (var node in xElements)
{