Class UIScale
public class UIScale : MonoBehaviour
- Inheritance
-
UIScale
Fields
backgroundColour
public Color backgroundColour
Field Value
- Color
backgroundHoverColour
public Color backgroundHoverColour
Field Value
- Color
backgroundPressedColour
public Color backgroundPressedColour
Field Value
- Color
height
public float height
Field Value
width
public float width
Field Value
Properties
decimalPlaces
public int decimalPlaces { get; }
Property Value
value
public float value { get; }
Property Value
Methods
SetValue(float)
public bool SetValue(float value)
Parameters
value
float
Returns
SetValueNoNotify(float)
public bool SetValueNoNotify(float value)
Parameters
value
float
Returns
SubscribeToValueChange(UnityAction)
public void SubscribeToValueChange(UnityAction call)
Parameters
call
UnityAction
UpdateDisplay()
public void UpdateDisplay()