Class in Nostalgia / Inherits from: TileColliderBase
Description
Convenient class to specify the type of Collider2D by generic
Type Parameters
Type Parameter Name |
Description |
Type Constraints |
T |
Type of Collider2D |
|
Methods
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 |
IsUpdateCollider |
Determines whether the need to update the colliderIn the inherited class, to determine the change of property to each other as needed. |
OnValidate |
Called when the script is loaded or the value of the Inspector changes (Editor only) |
UpdateCollider |
To update the Collider |
UpdateColliderProperty |
Method to update the property of Collider2D.Thing in the inherited class to describe the process of updating the property as needed here. |