robot_2Generated
code_blocksInput

Description

An integer vector with Y set to -1. This represents the down direction.

Usage

The Vector2Int.Down field is a static member of the Vector2Int struct. It is used to represent a downward direction in a 2D integer vector space. This can be particularly useful in grid-based games or applications where directional vectors are needed.

Example

// Example usage of Vector2Int.Down
Vector2Int downDirection = Vector2Int.Down;

// Use downDirection in a movement function
void MoveDown(Vector2Int position)
{
    position += downDirection;
}