C# Class ScreenManager.AdjustedScreen

Class that adjust the element position in a safety zone
Inheritance: Screen
Show file Open project: Syderis/CellSDK-Samples

Public Properties

Property Type Description
adjust Vector2

Protected Properties

Property Type Description
bottom float
left float
maxScale float
right float
scale Vector2
top float

Public Methods

Method Description
AddComponent ( Component component, float x, float y ) : void
AddComponent ( Component component, float x, float y, BodyShape shape, BodyType bodyType, Category category ) : void
AdjustedScreen ( ) : System

Method Details

AddComponent() public method

public AddComponent ( Component component, float x, float y ) : void
component Component
x float
y float
return void

AddComponent() public method

public AddComponent ( Component component, float x, float y, BodyShape shape, BodyType bodyType, Category category ) : void
component Component
x float
y float
shape BodyShape
bodyType BodyType
category Category
return void

AdjustedScreen() public method

public AdjustedScreen ( ) : System
return System

Property Details

adjust public property

public Vector2 adjust
return Vector2

bottom protected property

protected float bottom
return float

left protected property

protected float left
return float

maxScale protected property

protected float maxScale
return float

right protected property

protected float right
return float

scale protected property

protected Vector2 scale
return Vector2

top protected property

protected float top
return float