private void BindHotfixConditionals(BehaviorTreeTasks tasks) { foreach (var hotfixConditional in tasks.hotfixConditionals) { var component = BehaviorTreeComponentFactory.Create(GetParent <Entity>(), hotfixConditional); if (component != null) { behaviorTreeConditionalComponents.Add(hotfixConditional, component); } } }
private void BindHotfixDecorators(BehaviorTreeTasks tasks) { foreach (var hotfixDecorator in tasks.hotfixDecorators) { var component = BehaviorTreeComponentFactory.Create(GetParent <Entity>(), hotfixDecorator); if (component != null) { behaviorTreeDecoratorComponents.Add(hotfixDecorator, component); } } }
private void BindHotfixActions(BehaviorTreeTasks tasks) { foreach (var hotfixAction in tasks.hotfixActions) { var component = BehaviorTreeComponentFactory.Create(GetParent <Entity>(), hotfixAction); if (component != null) { behaviorTreeActionComponents.Add(hotfixAction, component); } } }