Ejemplo n.º 1
0
        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);
                }
            }
        }
Ejemplo n.º 2
0
        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);
                }
            }
        }
Ejemplo n.º 3
0
        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);
                }
            }
        }