public void AddChild(IBehaviourTreeNode child) { if (this.childNode != null) { throw new ApplicationException("Can't add more than a single child to InverterNode!"); } this.childNode = child; }