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

Aligns a GO to the left edge of the camera. More...

Inheritance diagram for PlatformerPro.AlignToMiddle:

Public Attributes

Camera alignCamera
 The align camera. More...
 
Vector2 offset = Vector2.one
 The offset from left edge. More...
 

Protected Member Functions

virtual void DoAlign ()
 Does the align. More...
 

Detailed Description

Aligns a GO to the left edge of the camera.

Member Function Documentation

◆ DoAlign()

virtual void PlatformerPro.AlignToMiddle.DoAlign ( )
protectedvirtual

Does the align.

Member Data Documentation

◆ alignCamera

Camera PlatformerPro.AlignToMiddle.alignCamera

The align camera.

◆ offset

Vector2 PlatformerPro.AlignToMiddle.offset = Vector2.one

The offset from left edge.


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