Skip to main content

ITMP_DropdownMethods

Trait ITMP_DropdownMethods 

Source
pub trait ITMP_DropdownMethods: ITMP_Dropdown {
Show 51 methods // Provided methods fn get_template(self) -> RectTransform { ... } fn set_template(self, value: impl Into<RectTransform>) { ... } fn get_caption_text(self) -> TMP_Text { ... } fn set_caption_text(self, value: impl Into<TMP_Text>) { ... } fn get_caption_image(self) -> Image { ... } fn set_caption_image(self, value: impl Into<Image>) { ... } fn get_placeholder(self) -> Graphic { ... } fn set_placeholder(self, value: impl Into<Graphic>) { ... } fn get_item_text(self) -> TMP_Text { ... } fn set_item_text(self, value: impl Into<TMP_Text>) { ... } fn get_item_image(self) -> Image { ... } fn set_item_image(self, value: impl Into<Image>) { ... } fn get_options(self) -> List_1<TMP_Dropdown_OptionData> { ... } fn set_options(self, value: impl Into<List_1<TMP_Dropdown_OptionData>>) { ... } fn get_on_value_changed(self) -> TMP_Dropdown_DropdownEvent { ... } fn set_on_value_changed(self, value: impl Into<TMP_Dropdown_DropdownEvent>) { ... } fn get_alpha_fade_speed(self) -> f32 { ... } fn set_alpha_fade_speed(self, value: impl Into<f32>) { ... } fn get_value(self) -> i32 { ... } fn set_value(self, value: impl Into<i32>) { ... } fn set_value_without_notify(self, input: impl Into<i32>) { ... } fn set_value_2(self, value: impl Into<i32>, send_callback: impl Into<bool>) { ... } fn get_is_expanded(self) -> bool { ... } fn ctor(self) { ... } fn awake(self) { ... } fn start(self) { ... } fn on_disable(self) { ... } fn refresh_shown_value(self) { ... } fn add_options(self, options: impl Into<List_1<TMP_Dropdown_OptionData>>) { ... } fn add_options_2(self, options: impl Into<List_1<Il2CppString>>) { ... } fn add_options_3(self, options: impl Into<List_1<Sprite>>) { ... } fn clear_options(self) { ... } fn setup_template(self) { ... } fn on_pointer_click(self, event_data: impl Into<PointerEventData>) { ... } fn on_submit(self, event_data: impl Into<BaseEventData>) { ... } fn on_cancel(self, event_data: impl Into<BaseEventData>) { ... } fn show(self) { ... } fn create_blocker(self, root_canvas: impl Into<Canvas>) -> GameObject { ... } fn destroy_blocker(self, blocker: impl Into<GameObject>) { ... } fn create_dropdown_list(self, template: impl Into<GameObject>) -> GameObject { ... } fn destroy_dropdown_list(self, dropdown_list: impl Into<GameObject>) { ... } fn create_item( self, item_template: impl Into<TMP_Dropdown_DropdownItem>, ) -> TMP_Dropdown_DropdownItem { ... } fn destroy_item(self, item: impl Into<TMP_Dropdown_DropdownItem>) { ... } fn add_item( self, data: impl Into<TMP_Dropdown_OptionData>, selected: impl Into<bool>, item_template: impl Into<TMP_Dropdown_DropdownItem>, items: impl Into<List_1<TMP_Dropdown_DropdownItem>>, ) -> TMP_Dropdown_DropdownItem { ... } fn alpha_fade_list(self, duration: impl Into<f32>, alpha: impl Into<f32>) { ... } fn alpha_fade_list_2( self, duration: impl Into<f32>, start: impl Into<f32>, end: impl Into<f32>, ) { ... } fn set_alpha(self, alpha: impl Into<f32>) { ... } fn hide(self) { ... } fn delayed_destroy_dropdown_list(self, delay: impl Into<f32>) -> IEnumerator { ... } fn immediate_destroy_dropdown_list(self) { ... } fn on_select_item(self, toggle: impl Into<Toggle>) { ... }
}

Provided Methods§

Source

fn get_template(self) -> RectTransform

get_template() overload

Source

fn set_template(self, value: impl Into<RectTransform>)

set_template(crate::unity_engine::recttransform::RectTransform) overload

Source

fn get_caption_text(self) -> TMP_Text

get_captionText() overload

Source

fn set_caption_text(self, value: impl Into<TMP_Text>)

set_captionText(crate::tm_pro::tmp_text::TMP_Text) overload

Source

fn get_caption_image(self) -> Image

get_captionImage() overload

Source

fn set_caption_image(self, value: impl Into<Image>)

set_captionImage(crate::unity_engine::ui::image::Image) overload

Source

fn get_placeholder(self) -> Graphic

get_placeholder() overload

Source

fn set_placeholder(self, value: impl Into<Graphic>)

set_placeholder(crate::unity_engine::ui::graphic::Graphic) overload

Source

fn get_item_text(self) -> TMP_Text

get_itemText() overload

Source

fn set_item_text(self, value: impl Into<TMP_Text>)

set_itemText(crate::tm_pro::tmp_text::TMP_Text) overload

Source

fn get_item_image(self) -> Image

get_itemImage() overload

Source

fn set_item_image(self, value: impl Into<Image>)

set_itemImage(crate::unity_engine::ui::image::Image) overload

Source

fn get_options(self) -> List_1<TMP_Dropdown_OptionData>

get_options() overload

Source

fn set_options(self, value: impl Into<List_1<TMP_Dropdown_OptionData>>)

set_options(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_dropdown::TMP_Dropdown_OptionData>) overload

Source

fn get_on_value_changed(self) -> TMP_Dropdown_DropdownEvent

get_onValueChanged() overload

Source

fn set_on_value_changed(self, value: impl Into<TMP_Dropdown_DropdownEvent>)

set_onValueChanged(crate::tm_pro::tmp_dropdown::TMP_Dropdown_DropdownEvent) overload

Source

fn get_alpha_fade_speed(self) -> f32

get_alphaFadeSpeed() overload

Source

fn set_alpha_fade_speed(self, value: impl Into<f32>)

set_alphaFadeSpeed(f32) overload

Source

fn get_value(self) -> i32

get_value() overload

Source

fn set_value(self, value: impl Into<i32>)

set_value(i32) overload

Source

fn set_value_without_notify(self, input: impl Into<i32>)

SetValueWithoutNotify(i32) overload

Source

fn set_value_2(self, value: impl Into<i32>, send_callback: impl Into<bool>)

SetValue(i32, bool) overload

Source

fn get_is_expanded(self) -> bool

get_IsExpanded() overload

Source

fn ctor(self)

.ctor() overload

Source

fn awake(self)

Awake() overload

Source

fn start(self)

Start() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn refresh_shown_value(self)

RefreshShownValue() overload

Source

fn add_options(self, options: impl Into<List_1<TMP_Dropdown_OptionData>>)

AddOptions(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_dropdown::TMP_Dropdown_OptionData>) overload

Source

fn add_options_2(self, options: impl Into<List_1<Il2CppString>>)

AddOptions(crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>) overload

Source

fn add_options_3(self, options: impl Into<List_1<Sprite>>)

AddOptions(crate::system::collections::generic::list_1::List_1<crate::unity_engine::sprite::Sprite>) overload

Source

fn clear_options(self)

ClearOptions() overload

Source

fn setup_template(self)

SetupTemplate() overload

Source

fn on_pointer_click(self, event_data: impl Into<PointerEventData>)

OnPointerClick(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn on_submit(self, event_data: impl Into<BaseEventData>)

OnSubmit(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload

Source

fn on_cancel(self, event_data: impl Into<BaseEventData>)

OnCancel(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload

Source

fn show(self)

Show() overload

Source

fn create_blocker(self, root_canvas: impl Into<Canvas>) -> GameObject

CreateBlocker(crate::unity_engine::canvas::Canvas) overload

Source

fn destroy_blocker(self, blocker: impl Into<GameObject>)

DestroyBlocker(crate::unity_engine::gameobject::GameObject) overload

Source

fn create_dropdown_list(self, template: impl Into<GameObject>) -> GameObject

CreateDropdownList(crate::unity_engine::gameobject::GameObject) overload

Source

fn destroy_dropdown_list(self, dropdown_list: impl Into<GameObject>)

DestroyDropdownList(crate::unity_engine::gameobject::GameObject) overload

Source

fn create_item( self, item_template: impl Into<TMP_Dropdown_DropdownItem>, ) -> TMP_Dropdown_DropdownItem

CreateItem(crate::tm_pro::tmp_dropdown::TMP_Dropdown_DropdownItem) overload

Source

fn destroy_item(self, item: impl Into<TMP_Dropdown_DropdownItem>)

DestroyItem(crate::tm_pro::tmp_dropdown::TMP_Dropdown_DropdownItem) overload

Source

fn add_item( self, data: impl Into<TMP_Dropdown_OptionData>, selected: impl Into<bool>, item_template: impl Into<TMP_Dropdown_DropdownItem>, items: impl Into<List_1<TMP_Dropdown_DropdownItem>>, ) -> TMP_Dropdown_DropdownItem

AddItem(crate::tm_pro::tmp_dropdown::TMP_Dropdown_OptionData, bool, crate::tm_pro::tmp_dropdown::TMP_Dropdown_DropdownItem, crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_dropdown::TMP_Dropdown_DropdownItem>) overload

Source

fn alpha_fade_list(self, duration: impl Into<f32>, alpha: impl Into<f32>)

AlphaFadeList(f32, f32) overload

Source

fn alpha_fade_list_2( self, duration: impl Into<f32>, start: impl Into<f32>, end: impl Into<f32>, )

AlphaFadeList(f32, f32, f32) overload

Source

fn set_alpha(self, alpha: impl Into<f32>)

SetAlpha(f32) overload

Source

fn hide(self)

Hide() overload

Source

fn delayed_destroy_dropdown_list(self, delay: impl Into<f32>) -> IEnumerator

DelayedDestroyDropdownList(f32) overload

Source

fn immediate_destroy_dropdown_list(self)

ImmediateDestroyDropdownList() overload

Source

fn on_select_item(self, toggle: impl Into<Toggle>)

OnSelectItem(crate::unity_engine::ui::toggle::Toggle) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: ITMP_Dropdown> ITMP_DropdownMethods for __T

Available on crate feature tm_pro-tmp_dropdown only.