Ejemplo n.º 1
0
        public void OnChoiceSelected(int idx)
        {
            if (idx < 0 || idx >= axes.Length)
            {
                Debug.LogError($"Cannot select axis {idx} as only {axes.Length} in list");
                return;
            }

            _bindings.BindAction(action, axes[idx]);
        }
Ejemplo n.º 2
0
 private void RebindAxis(Axis name)
 {
     _scanning = false;
     _bindings.BindAction(action, name);
 }