TileBoxCollider
Class in Nostalgia / Inherits from: TileCollider<UnityEngine.BoxCollider2D>
Implements interfaces: ITileColliderCombinable
Description
Box type of tile collider
Fields
Field Name | Description |
---|---|
size | Size |
Properties
Property Name | Description |
---|---|
isCombine | Whether to combine Collider |
isSplitMapCollider | Whether to split MapCollider |
Methods
Method Name | Description |
---|---|
GetPolygons | Get polygons. |
IsUpdateCollider | Determines whether the need to update the collider |
Inherited Members
Fields
Field Name | Description |
---|---|
isTrigger | Is Trigger be set to Collider. |
offset | Offset in the case where the center of the tile is set to 0 |
physicsMaterial | PhysicsMaterial2D be set to Collider. |
Properties
Property Name | Description |
---|---|
tile | It is associated with tile |
Methods
Method Name | Description |
---|---|
GetRequireColliderType | Get the type of request to Collider2D. |
OnValidate | Called when the script is loaded or the value of the Inspector changes (Editor only) |
UpdateCollider | To update the Collider |