Table of Contents

Class UIScale

Namespace
PAC.UI
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

float

width

public float width

Field Value

float

Properties

decimalPlaces

public int decimalPlaces { get; }

Property Value

int

value

public float value { get; }

Property Value

float

Methods

SetValue(float)

public bool SetValue(float value)

Parameters

value float

Returns

bool

SetValueNoNotify(float)

public bool SetValueNoNotify(float value)

Parameters

value float

Returns

bool

SubscribeToValueChange(UnityAction)

public void SubscribeToValueChange(UnityAction call)

Parameters

call UnityAction

UpdateDisplay()

public void UpdateDisplay()