![]() |
Adventure Creator
1.81.2
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
|
Public Member Functions | |
Grid2D (Collider2D _collider, float _cellWidth, float _cellHeight) | |
void | Rebuild () |
void | DrawGizmos () |
Node | GridToNode (int gridX, int gridY) |
Node | PositionToNode (Vector2 position) |
int | PositionToGridX (Vector2 position) |
int | PositionToGridY (Vector2 position) |
int | GetNeighbours (Node node, ref Node[] neighbourArray) |
bool | IsPointInside (Vector2 pos) |
void | ClearCharHoles () |
void | AddCharHole (Vector3 centre, float radius, float yScale) |
bool | Approximately (float f1, float f2) |
Properties | |
int | MaxSize [get] |