Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Protected Member Functions | Properties | List of all members
TMPro.TMP_Dropdown Class Reference
Inheritance diagram for TMPro.TMP_Dropdown:

Classes

class  DropdownEvent
 
class  DropdownItem
 
class  OptionData
 
class  OptionDataList
 

Public Member Functions

void AddOptions (List< OptionData > options)
 
void AddOptions (List< string > options)
 
void AddOptions (List< Sprite > options)
 
void ClearOptions ()
 
void Hide ()
 
virtual void OnCancel (BaseEventData eventData)
 
virtual void OnPointerClick (PointerEventData eventData)
 
virtual void OnSubmit (BaseEventData eventData)
 
void RefreshShownValue ()
 
void Show ()
 

Protected Member Functions

override void Awake ()
 
virtual GameObject CreateBlocker (Canvas rootCanvas)
 
virtual GameObject CreateDropdownList (GameObject template)
 
virtual DropdownItem CreateItem (DropdownItem itemTemplate)
 
virtual void DestroyBlocker (GameObject blocker)
 
virtual void DestroyDropdownList (GameObject dropdownList)
 
virtual void DestroyItem (DropdownItem item)
 
 TMP_Dropdown ()
 

Properties

Image captionImage [get, set]
 
TMP_Text captionText [get, set]
 
bool IsExpanded [get]
 
Image itemImage [get, set]
 
TMP_Text itemText [get, set]
 
DropdownEvent onItemSelected [get, set]
 
DropdownEvent onValueChanged [get, set]
 
List< OptionDataoptions [get, set]
 
RectTransform template [get, set]
 
int value [get, set]
 

Constructor & Destructor Documentation

TMPro.TMP_Dropdown.TMP_Dropdown ( )
inlineprotected

Member Function Documentation

void TMPro.TMP_Dropdown.AddOptions ( List< OptionData options)
inline
void TMPro.TMP_Dropdown.AddOptions ( List< string >  options)
inline
void TMPro.TMP_Dropdown.AddOptions ( List< Sprite options)
inline
override void TMPro.TMP_Dropdown.Awake ( )
inlineprotected
void TMPro.TMP_Dropdown.ClearOptions ( )
inline
virtual GameObject TMPro.TMP_Dropdown.CreateBlocker ( Canvas  rootCanvas)
inlineprotectedvirtual
virtual GameObject TMPro.TMP_Dropdown.CreateDropdownList ( GameObject  template)
inlineprotectedvirtual
virtual DropdownItem TMPro.TMP_Dropdown.CreateItem ( DropdownItem  itemTemplate)
inlineprotectedvirtual
virtual void TMPro.TMP_Dropdown.DestroyBlocker ( GameObject  blocker)
inlineprotectedvirtual
virtual void TMPro.TMP_Dropdown.DestroyDropdownList ( GameObject  dropdownList)
inlineprotectedvirtual
virtual void TMPro.TMP_Dropdown.DestroyItem ( DropdownItem  item)
inlineprotectedvirtual
void TMPro.TMP_Dropdown.Hide ( )
inline
virtual void TMPro.TMP_Dropdown.OnCancel ( BaseEventData  eventData)
inlinevirtual
virtual void TMPro.TMP_Dropdown.OnPointerClick ( PointerEventData  eventData)
inlinevirtual
virtual void TMPro.TMP_Dropdown.OnSubmit ( BaseEventData  eventData)
inlinevirtual
void TMPro.TMP_Dropdown.RefreshShownValue ( )
inline
void TMPro.TMP_Dropdown.Show ( )
inline

Property Documentation

Image TMPro.TMP_Dropdown.captionImage
getset
TMP_Text TMPro.TMP_Dropdown.captionText
getset
bool TMPro.TMP_Dropdown.IsExpanded
get
Image TMPro.TMP_Dropdown.itemImage
getset
TMP_Text TMPro.TMP_Dropdown.itemText
getset
DropdownEvent TMPro.TMP_Dropdown.onItemSelected
getset
DropdownEvent TMPro.TMP_Dropdown.onValueChanged
getset
List<OptionData> TMPro.TMP_Dropdown.options
getset
RectTransform TMPro.TMP_Dropdown.template
getset
int TMPro.TMP_Dropdown.value
getset

The documentation for this class was generated from the following file: