C# Class LTRect, LeanTween

Inheritance: System.Object
Afficher le fichier Open project: dentedpixel/LeanTween Class Usage Examples

Méthodes publiques

Свойство Type Description
_rect Rect
alpha float
alphaEnabled bool
color Color
colorTouched bool
fontScaleToFit bool
labelStr string
margin Vector2
pivot Vector2
relativeRect Rect
rotateEnabled bool
rotation float
sizeByHeight bool
style GUIStyle
texture Texture
type LTGUI.Element_Type
useColor bool
useSimpleScale bool

Méthodes publiques

Méthode Description
LTRect ( ) : UnityEngine
LTRect ( Rect rect ) : UnityEngine
LTRect ( float x, float y, float width, float height ) : UnityEngine
LTRect ( float x, float y, float width, float height, float alpha ) : UnityEngine
LTRect ( float x, float y, float width, float height, float alpha, float rotation ) : UnityEngine
ToString ( ) : string
reset ( ) : void
resetForRotation ( ) : void
setAlpha ( float alpha ) : LTRect,
setColor ( Color color ) : LTRect,
setFontScaleToFit ( bool fontScaleToFit ) : LTRect,
setId ( int id, int counter ) : void
setLabel ( String str ) : LTRect,
setSizeByHeight ( bool sizeByHeight ) : LTRect,
setStyle ( GUIStyle style ) : LTRect,
setUseSimpleScale ( bool useSimpleScale ) : LTRect,
setUseSimpleScale ( bool useSimpleScale, Rect relativeRect ) : LTRect,

Method Details

LTRect() public méthode

public LTRect ( ) : UnityEngine
Résultat UnityEngine

LTRect() public méthode

public LTRect ( Rect rect ) : UnityEngine
rect Rect
Résultat UnityEngine

LTRect() public méthode

public LTRect ( float x, float y, float width, float height ) : UnityEngine
x float
y float
width float
height float
Résultat UnityEngine

LTRect() public méthode

public LTRect ( float x, float y, float width, float height, float alpha ) : UnityEngine
x float
y float
width float
height float
alpha float
Résultat UnityEngine

LTRect() public méthode

public LTRect ( float x, float y, float width, float height, float alpha, float rotation ) : UnityEngine
x float
y float
width float
height float
alpha float
rotation float
Résultat UnityEngine

ToString() public méthode

public ToString ( ) : string
Résultat string

reset() public méthode

public reset ( ) : void
Résultat void

resetForRotation() public méthode

public resetForRotation ( ) : void
Résultat void

setAlpha() public méthode

public setAlpha ( float alpha ) : LTRect,
alpha float
Résultat LTRect,

setColor() public méthode

public setColor ( Color color ) : LTRect,
color Color
Résultat LTRect,

setFontScaleToFit() public méthode

public setFontScaleToFit ( bool fontScaleToFit ) : LTRect,
fontScaleToFit bool
Résultat LTRect,

setId() public méthode

public setId ( int id, int counter ) : void
id int
counter int
Résultat void

setLabel() public méthode

public setLabel ( String str ) : LTRect,
str String
Résultat LTRect,

setSizeByHeight() public méthode

public setSizeByHeight ( bool sizeByHeight ) : LTRect,
sizeByHeight bool
Résultat LTRect,

setStyle() public méthode

public setStyle ( GUIStyle style ) : LTRect,
style GUIStyle
Résultat LTRect,

setUseSimpleScale() public méthode

public setUseSimpleScale ( bool useSimpleScale ) : LTRect,
useSimpleScale bool
Résultat LTRect,

setUseSimpleScale() public méthode

public setUseSimpleScale ( bool useSimpleScale, Rect relativeRect ) : LTRect,
useSimpleScale bool
relativeRect Rect
Résultat LTRect,

Property Details

_rect public_oe property

public Rect _rect
Résultat Rect

alpha public_oe property

public float alpha
Résultat float

alphaEnabled public_oe property

public bool alphaEnabled
Résultat bool

color public_oe property

public Color color
Résultat Color

colorTouched public_oe static_oe property

public static bool colorTouched
Résultat bool

fontScaleToFit public_oe property

public bool fontScaleToFit
Résultat bool

labelStr public_oe property

public string labelStr
Résultat string

margin public_oe property

public Vector2 margin
Résultat Vector2

pivot public_oe property

public Vector2 pivot
Résultat Vector2

relativeRect public_oe property

public Rect relativeRect
Résultat Rect

rotateEnabled public_oe property

public bool rotateEnabled
Résultat bool

rotation public_oe property

public float rotation
Résultat float

sizeByHeight public_oe property

public bool sizeByHeight
Résultat bool

style public_oe property

public GUIStyle style
Résultat GUIStyle

texture public_oe property

public Texture texture
Résultat Texture

type public_oe property

public LTGUI.Element_Type type
Résultat LTGUI.Element_Type

useColor public_oe property

public bool useColor
Résultat bool

useSimpleScale public_oe property

public bool useSimpleScale
Résultat bool