pub trait IConfigBasicMenuItemMethods: IConfigBasicMenuItem {
// Provided methods
fn on_build(self) { ... }
fn on_build_menu_item_content(self) { ... }
fn on_select(self) { ... }
fn on_deselect(self) { ... }
fn init_content(self) { ... }
fn init_color(self) { ... }
fn set_title_text(self, text: impl Into<Il2CppString>) { ... }
fn update_text(self) { ... }
fn is_config_method(
self,
config_method: impl Into<ConfigBasicMenuItem_ConfigMethodKind>,
) -> bool { ... }
fn ctor(self) { ... }
}Provided Methods§
OnBuildMenuItemContent() overload
Sourcefn on_deselect(self)
fn on_deselect(self)
OnDeselect() overload
Sourcefn init_content(self)
fn init_content(self)
InitContent() overload
Sourcefn init_color(self)
fn init_color(self)
InitColor() overload
Sourcefn set_title_text(self, text: impl Into<Il2CppString>)
fn set_title_text(self, text: impl Into<Il2CppString>)
SetTitleText(::unity::Il2CppString) overload
Sourcefn update_text(self)
fn update_text(self)
UpdateText() overload
Sourcefn is_config_method(
self,
config_method: impl Into<ConfigBasicMenuItem_ConfigMethodKind>,
) -> bool
fn is_config_method( self, config_method: impl Into<ConfigBasicMenuItem_ConfigMethodKind>, ) -> bool
IsConfigMethod(crate::root::configbasicmenuitem::ConfigBasicMenuItem_ConfigMethodKind) 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§
impl<__T: IConfigBasicMenuItem> IConfigBasicMenuItemMethods for __T
Available on crate feature
root-configbasicmenuitem only.