Beispiel #1
0
    private void FixedUpdate()
    {
        var x = Input.GetAxis("Mouse X");
        var y = Input.GetAxis("Mouse Y");

        rotator.Rotate(new Vector2(x, y));
    }