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

Changes facing direction using transform. More...

Inheritance diagram for PlatformerPro.UnitySpriteDirectionFacerY:

Public Attributes

bool flipLeftAndRight
 Should left = -1 or left = 1? More...
 
bool flipSpriteOffset
 If the sprite x position is non zero should we inverse it on switch? More...
 

Protected Attributes

IMob animatable
 The character reference. More...
 
Vector3 cachedScale
 The cached scale. More...
 
Vector3 cachedOffset
 The cached offset. More...
 

Detailed Description

Changes facing direction using transform.

Member Data Documentation

◆ animatable

IMob PlatformerPro.UnitySpriteDirectionFacerY.animatable
protected

The character reference.

◆ cachedOffset

Vector3 PlatformerPro.UnitySpriteDirectionFacerY.cachedOffset
protected

The cached offset.

◆ cachedScale

Vector3 PlatformerPro.UnitySpriteDirectionFacerY.cachedScale
protected

The cached scale.

◆ flipLeftAndRight

bool PlatformerPro.UnitySpriteDirectionFacerY.flipLeftAndRight

Should left = -1 or left = 1?

◆ flipSpriteOffset

bool PlatformerPro.UnitySpriteDirectionFacerY.flipSpriteOffset

If the sprite x position is non zero should we inverse it on switch?


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