GetMapCollider

GetMapCollider(int)

public MapCollider GetMapCollider(int index) ;

Description

Get the MapCollider from the index .

Parameters

Parameter Name Description
index index

Returns

MapCollider

GetMapCollider(PolygonCollider2D)

public MapCollider GetMapCollider(PolygonCollider2D collider) ;

Description

Get MapCollider from PolygonCollider2D.

Parameters

Parameter Name Description
collider PolygonCollider2D

Returns

MapCollider. If there is none, null is returned.

GetMapCollider(Cell)

public MapCollider GetMapCollider(Cell cell) ;

Description

Get MapCollider from Cell.

Parameters

Parameter Name Description
cell Cell

Returns

MapCollider. If there is none, null is returned.