Table of Contents

Class UIScrollbar

Namespace
PAC.UI
public class UIScrollbar : MonoBehaviour
Inheritance
UIScrollbar

Fields

backgroundColour

public Color backgroundColour

Field Value

Color

backgroundHoverColour

public Color backgroundHoverColour

Field Value

Color

backgroundPressedColour

public Color backgroundPressedColour

Field Value

Color

handleColour

public Color handleColour

Field Value

Color

handleHoverColour

public Color handleHoverColour

Field Value

Color

handlePressedColour

public Color handlePressedColour

Field Value

Color

height

public float height

Field Value

float

width

public float width

Field Value

float

Properties

scrollAmount

public float scrollAmount { get; set; }

Property Value

float

Methods

GetScrollAmount()

public float GetScrollAmount()

Returns

float

SetScrollAmount(float)

public void SetScrollAmount(float scrollAmount)

Parameters

scrollAmount float

UpdateDisplay()

public void UpdateDisplay()