public override void loadConfig(TezReader reader) { reader.beginObject("Node"); m_Child = TezBehaviorTree.create(reader.readString("CID")); m_Child.loadConfig(reader); reader.endObject("Node"); }
public override void loadConfig(TezReader reader) { reader.beginArray("Nodes"); var count = reader.count; for (int i = 0; i < count; i++) { reader.beginObject(i); var node = TezBehaviorTree.create(reader.readString("CID")); this.addNode(node); node.loadConfig(reader); reader.endObject(i); } reader.endArray("Nodes"); }
public virtual void close() { this.tree = null; }
public virtual void close() { m_Tree = null; this.parent = null; }