Table of Contents

Class UIDropdownChoice

Namespace
PAC.UI
public class UIDropdownChoice : MonoBehaviour
Inheritance
UIDropdownChoice

Fields

direction

public DropdownDirection direction

Field Value

DropdownDirection

options

public List<string> options

Field Value

List<string>

selectedOptionIndex

public int selectedOptionIndex

Field Value

int

Properties

selectedOption

public string selectedOption { get; }

Property Value

string

Methods

Select(string)

public bool Select(string option)

Parameters

option string

Returns

bool

SetUpDropdown()

public void SetUpDropdown()

SubscribeToOptionChanged(UnityAction)

public void SubscribeToOptionChanged(UnityAction call)

Parameters

call UnityAction