Nostalgia
2.1.5
|
Box type of tile collider More...
Public Member Functions | |
override void | GetPolygons (Vector2 cellPos, List< List< Vector2 >> polygons) |
Get polygons. More... | |
override bool | IsUpdateCollider (Collider2D collider, Vector2 cellPos) |
Determines whether the need to update the collider More... | |
Public Attributes | |
Vector2 | size = new Vector2(1, 1) |
Size More... | |
Protected Member Functions | |
override bool | UpdateColliderProperty (Collider2D collider) |
Protected Member Functions inherited from TileCollider< BoxCollider2D > | |
override System.Type | GetRequireColliderType () |
Get the type of request to Collider2D. More... | |
Box type of tile collider
override void GetPolygons | ( | Vector2 | cellPos, |
List< List< Vector2 >> | polygons | ||
) |
Get polygons.
cellPos | Cell position |
polygons | List containing polygons |
override bool IsUpdateCollider | ( | Collider2D | collider, |
Vector2 | cellPos | ||
) |
Determines whether the need to update the collider
collider | Collider |
cellPos | Cell position |
|
protected |
Vector2 size = new Vector2(1, 1) |
Size