C# Class ScreenManager.AdjustedScreen

Class that adjust the element position in a safety zone
Inheritance: Screen
显示文件 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_oe property

public Vector2 adjust
return Vector2

bottom protected_oe property

protected float bottom
return float

left protected_oe property

protected float left
return float

maxScale protected_oe property

protected float maxScale
return float

right protected_oe property

protected float right
return float

scale protected_oe property

protected Vector2 scale
return Vector2

top protected_oe property

protected float top
return float