Property | 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 |
Method | 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, |
public LTRect ( float x, float y, float width, float height ) : UnityEngine | ||
x | float | |
y | float | |
width | float | |
height | float | |
return | UnityEngine |
public LTRect ( float x, float y, float width, float height, float alpha ) : UnityEngine | ||
x | float | |
y | float | |
width | float | |
height | float | |
alpha | float | |
return | UnityEngine |
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 | |
return | UnityEngine |
public setFontScaleToFit ( bool fontScaleToFit ) : LTRect, | ||
fontScaleToFit | bool | |
return | LTRect, |
public setSizeByHeight ( bool sizeByHeight ) : LTRect, | ||
sizeByHeight | bool | |
return | LTRect, |
public setUseSimpleScale ( bool useSimpleScale ) : LTRect, | ||
useSimpleScale | bool | |
return | LTRect, |
public setUseSimpleScale ( bool useSimpleScale, Rect relativeRect ) : LTRect, | ||
useSimpleScale | bool | |
relativeRect | Rect | |
return | LTRect, |