Exemple #1
0
    void Update()
    {
        HandleSound();

        _inputVertical.ReadInput();
        _inputHorizontal.ReadInput();
        _motorVertical.Tick();
        _motorHorizontal.Tick();
    }
Exemple #2
0
 void Update()
 {
     _input.ReadInput();
     _motor.Tick();
 }