Exemplo n.º 1
0
    // Summary:
    // Stores the aim position of the present position of the mouse within the game view.
    private void OnAim(InputValue value)
    {
        currentAimPosition = value.Get <Vector2>();
        playerMovement.CalculateLocalRotation(centerPosition, currentAimPosition);

        DirectWeaponRotatorsToPoint(value);
    }