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

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

Detailed Description

Settings defining how a camera moves along an axis.

Member Data Documentation

◆ acceleration

float PlatformerPro.CameraAxisSettings.acceleration

The acceleration applied to the camera until it catches up to characer. Ignored if hardFollow is true;

◆ hardFollow

bool PlatformerPro.CameraAxisSettings.hardFollow

Does the camera transform exactly follow the character transform on this axis.

◆ minOffsetForMove

float PlatformerPro.CameraAxisSettings.minOffsetForMove

How much does the character need to move before the camera starts to move. Ignored if hardFollow is true;

◆ moveOnAxis

bool PlatformerPro.CameraAxisSettings.moveOnAxis = true

Does the camera move along this axis.


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