public Automator AddAutomator(AutomatorConfig config)
        {
            var automator = AddAutomator(config.AutomatorType);

            automator.Init(config);
            return(automator);
        }
        public T AddAutomator <T>(AutomatorConfig config) where T : Automator
        {
            var go = new GameObject(typeof(T).ToString());

            go.transform.SetParent(transform);
            var automator = go.AddComponent <T>();

            automators.Add(automator);
            SubscribeEvents(automator);
            automator.Init(config);
            return(automator);
        }
 public abstract void Init(AutomatorConfig config);