Mad Level Manager
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
MadLevelManager.MadLevelBackgroundLayer Class Reference
Inheritance diagram for MadLevelManager.MadLevelBackgroundLayer:

Public Types

enum  ScaleMode { Manual, Fill }
 
enum  Align { None, Top, Middle, Bottom }
 

Public Member Functions

void SetDirty ()
 
void Cleanup ()
 
void Update ()
 

Public Attributes

const float ScrollSpeedMultiplier = 0.01f
 
Texture2D texture
 
Color tint = Color.white
 
Vector2 scale = Vector2.one
 
ScaleMode scaleMode
 
Align align = Align.Middle
 
bool repeatX = true
 
bool repeatY = false
 
float fillMarginLeft = -2
 
bool dontStretch = true
 
Vector2 position = Vector2.zero
 
float followSpeed = 1
 
Vector2 scrollSpeed
 

Properties

MadLevelBackground parent [get]
 

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