Nostalgia
2.1.5
|
Edge type of tile collider More...
Public Member Functions | |
override bool | IsUpdateCollider (Collider2D collider, Vector2 cellPos) |
Determines whether the need to update the collider More... | |
Public Attributes | |
bool | loop = true |
Whether start and end points of the vertices leads More... | |
Vector2[] | points |
Array of vertices More... | |
Protected Member Functions | |
override bool | UpdateColliderProperty (Collider2D collider) |
Protected Member Functions inherited from TileCollider< EdgeCollider2D > | |
override System.Type | GetRequireColliderType () |
Get the type of request to Collider2D. More... | |
Edge type of tile collider
override bool IsUpdateCollider | ( | Collider2D | collider, |
Vector2 | cellPos | ||
) |
Determines whether the need to update the collider
collider | Collider |
cellPos | Cell position |
|
protected |
bool loop = true |
Whether start and end points of the vertices leads
Vector2 [] points |
Array of vertices