Exemple #1
0
    public override void Init(ControllerComponentConfig Config)
    {
        base.Init(Config);
        _currentIndexAction = -1;

        SetNextAction();
    }
Exemple #2
0
 public override void Init(ControllerComponentConfig Config)
 {
     _config = Config;
     if (_config != null && _config.WatcherSets != null && _config.WatcherSets.Length > 0)
     {
         for (int i = _config.WatcherSets.Length - 1; i >= 0; --i)
         {
             _config.WatcherSets[i].Add(this);
         }
     }
     Main.Instance.GameplayLoopInstance.SubElement(this);
 }
Exemple #3
0
 public override void Init(ControllerComponentConfig Config)
 {
     base.Init(Config);
     _inputNameMoveX = IndexPlayer >= 0 ? "Horizontal_" + IndexPlayer : "Horizontal";
     _inputNameMoveY = IndexPlayer >= 0 ? "Vertical_" + IndexPlayer : "Vertical";
 }
 public abstract void Init(ControllerComponentConfig Config);