Depiction Engine For Unity 2023.0 (Alpha)
|
An xy index along with xy(horizontal, vertical) grid dimension. More...
Public Member Functions | |
Grid2DIndex (Vector2Int index, Vector2Int dimensions) | |
override bool | Equals (object obj) |
bool | Equals (Grid2DIndex grid2DIndex) |
override int | GetHashCode () |
override string | ToString () |
Static Public Member Functions | |
static bool | operator== (Grid2DIndex index, Grid2DIndex otherIndex) |
static bool | operator!= (Grid2DIndex index, Grid2DIndex otherIndex) |
Public Attributes | |
Vector2Int | index |
Vector2Int | dimensions |
Static Public Attributes | |
static readonly Grid2DIndex | Empty = new Grid2DIndex(new Vector2Int(-1, -1), Vector2Int.zero) |
An xy index along with xy(horizontal, vertical) grid dimension.