C# Class ScreenManager.AdjustedScreen

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

Méthodes publiques

Свойство Type Description
adjust Vector2

Protected Properties

Свойство Type Description
bottom float
left float
maxScale float
right float
scale Vector2
top float

Méthodes publiques

Méthode 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 méthode

public AddComponent ( Component component, float x, float y ) : void
component Component
x float
y float
Résultat void

AddComponent() public méthode

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
Résultat void

AdjustedScreen() public méthode

public AdjustedScreen ( ) : System
Résultat System

Property Details

adjust public_oe property

public Vector2 adjust
Résultat Vector2

bottom protected_oe property

protected float bottom
Résultat float

left protected_oe property

protected float left
Résultat float

maxScale protected_oe property

protected float maxScale
Résultat float

right protected_oe property

protected float right
Résultat float

scale protected_oe property

protected Vector2 scale
Résultat Vector2

top protected_oe property

protected float top
Résultat float