Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.ColliderResizeInfo Class Reference

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...
 

Member Data Documentation

◆ disableBeyondExtent

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.

◆ disableCollider

bool PlatformerPro.ColliderResizeInfo.disableCollider

Resize or disable the colldier. Set to true to disable (resize will be ignored).

◆ extentChange

Vector2 PlatformerPro.ColliderResizeInfo.extentChange

Difference between the normal extent and the new extent.

◆ lengthChange

float PlatformerPro.ColliderResizeInfo.lengthChange

Amount to alter the length, usually zero is fine.

◆ type

RaycastType PlatformerPro.ColliderResizeInfo.type

Type of collider to change.


The documentation for this class was generated from the following file: