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

Very simple parralax scroller. More...

Inheritance diagram for PlatformerPro.SimpleParallax:

Public Attributes

Camera scrollCamera
 The main camera that moves with character. More...
 
float factor = 0.33f
 THow much the background moves with the camera. More...
 

Protected Attributes

Vector3 lastCameraPosition
 The last camera position. More...
 

Detailed Description

Very simple parralax scroller.

Member Data Documentation

◆ factor

float PlatformerPro.SimpleParallax.factor = 0.33f

THow much the background moves with the camera.

◆ lastCameraPosition

Vector3 PlatformerPro.SimpleParallax.lastCameraPosition
protected

The last camera position.

◆ scrollCamera

Camera PlatformerPro.SimpleParallax.scrollCamera

The main camera that moves with character.


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