Table of Contents

Class UIDropdown

Namespace
PAC.UI
public class UIDropdown : MonoBehaviour
Inheritance
UIDropdown

Fields

openingButton

public GameObject openingButton

Field Value

GameObject

parentDropdown

public UIDropdown parentDropdown

Field Value

UIDropdown

Properties

isRootDropdown

public bool isRootDropdown { get; }

Property Value

bool

open

public bool open { get; }

Property Value

bool

rootDropdown

public UIDropdown rootDropdown { get; }

Property Value

UIDropdown

Methods

Close()

public void Close()

CloseRoot()

Closes the highest-level dropdown containing this one.

public void CloseRoot()

FullyOpen()

Opens this dropdown and all child dropdowns, and all their child dropdowns, etc.

public void FullyOpen()

Initialise()

public void Initialise()

MouseOff()

public bool MouseOff()

Returns

bool

Open()

public void Open()

SetOpen(bool)

public void SetOpen(bool open)

Parameters

open bool

SetOpenEditor(bool)

public void SetOpenEditor(bool open)

Parameters

open bool

ToggleOpen()

public void ToggleOpen()