/** * Initialization method. * * @method initialize * @constructor **/ public BehaviorTree(object target = null) { _target = target; this._id = B3.CreateUUID(); this.title = "The behavior tree"; this.description = "Default description"; this.properties = new Dictionary <string, string>(); _nodeDic = new Dictionary <string, BaseNode>(); _tick = new Tick(); _tick.Tree = this; _tick.Target = _target; }