![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Public Attributes | |
RaycastType | type |
Type of collider to change. More... | |
bool | disableCollider |
Resize or disable the colldier. Set to true to disable (resize will be ignored). More... | |
float | disableBeyondExtent |
Only colliders whoose extent in the axis orthogonal to the collider is larger than this will be disabled. If you use a negative value it disables colliders with a lower value. i.e. If you set this to 2 for SIDES, then only side colliders that have y extent > 2 will be disabled. More... | |
Vector2 | extentChange |
Difference between the normal extent and the new extent. More... | |
float | lengthChange |
Amount to alter the length, usually zero is fine. More... | |
float PlatformerPro.ColliderResizeInfo.disableBeyondExtent |
Only colliders whoose extent in the axis orthogonal to the collider is larger than this will be disabled. If you use a negative value it disables colliders with a lower value. i.e. If you set this to 2 for SIDES, then only side colliders that have y extent > 2 will be disabled.
bool PlatformerPro.ColliderResizeInfo.disableCollider |
Resize or disable the colldier. Set to true to disable (resize will be ignored).
Vector2 PlatformerPro.ColliderResizeInfo.extentChange |
Difference between the normal extent and the new extent.
float PlatformerPro.ColliderResizeInfo.lengthChange |
Amount to alter the length, usually zero is fine.
RaycastType PlatformerPro.ColliderResizeInfo.type |
Type of collider to change.