private void SetTutorialActive(Mechanic mechanic) { _currentInputDevice = InputChecker.GetInputType(); _keyboardMove.SetActive(mechanic == Mechanic.Move && _currentInputDevice == InputChecker.InputType.MouseKeyboard); _gamePadMove.SetActive(mechanic == Mechanic.Move && _currentInputDevice == InputChecker.InputType.Controller); _keyboardDash.SetActive(mechanic == Mechanic.Dash && _currentInputDevice == InputChecker.InputType.MouseKeyboard); _gamePadDash.SetActive(mechanic == Mechanic.Dash && _currentInputDevice == InputChecker.InputType.Controller); }
void Start() { _currentInputDevice = _defaultInputDevice; }