public void Execute(float deltaTime) { _ship.Move(_horizontal.GetAxis(), _vertical.GetAxis(), deltaTime); }
private Vector3 GetCurrentDirection(Vector3 direction) { direction.Set(_horizontal.GetAxis(), 0, _vertical.GetAxis()); direction = direction.normalized; return(direction); }