![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Settings defining how a camera moves along an axis. More...
Public Attributes | |
bool | moveOnAxis = true |
Does the camera move along this axis. More... | |
bool | hardFollow |
Does the camera transform exactly follow the character transform on this axis. More... | |
float | minOffsetForMove |
How much does the character need to move before the camera starts to move. Ignored if hardFollow is true; More... | |
float | acceleration |
The acceleration applied to the camera until it catches up to characer. Ignored if hardFollow is true; More... | |
Settings defining how a camera moves along an axis.
float PlatformerPro.CameraAxisSettings.acceleration |
The acceleration applied to the camera until it catches up to characer. Ignored if hardFollow is true;
bool PlatformerPro.CameraAxisSettings.hardFollow |
Does the camera transform exactly follow the character transform on this axis.
float PlatformerPro.CameraAxisSettings.minOffsetForMove |
How much does the character need to move before the camera starts to move. Ignored if hardFollow is true;
bool PlatformerPro.CameraAxisSettings.moveOnAxis = true |
Does the camera move along this axis.