| 123456789101112131415161718192021222324252627282930313233343536373839 |
- using System.Collections.Generic;
- namespace Model
- {
- public class NodeProto
- {
- public int Id;
- public string Name;
- public string Desc = "";
-
- public BehaviorTreeArgsDict Args;
-
- public List<NodeProto> children = new List<NodeProto>();
- public List<NodeProto> Children
- {
- get
- {
- return this.children;
- }
- set
- {
- this.children = value;
- }
- }
- public NodeProto()
- {
- this.Args = new BehaviorTreeArgsDict();
- }
- public NodeProto(BehaviorTreeArgsDict dict)
- {
- this.Args = dict;
- }
- }
- }
|