pub trait IBasicMenuItemContentMethods: IBasicMenuItemContent {
Show 24 methods
// Provided methods
fn get_menu_item(self) -> BasicMenuItem { ... }
fn get_name(self) -> Il2CppString { ... }
fn get_text(self) -> Il2CppString { ... }
fn set_text(self, name: impl Into<Il2CppString>) { ... }
fn set_text_size(self, font_size: impl Into<i32>) { ... }
fn set_text_base_color(self, color: impl Into<Color>) { ... }
fn set_text_blend_color(self, color: impl Into<Color>) { ... }
fn set_frm_content(self, frm_content: impl Into<GameObject>) { ... }
fn get_child_object(self) -> GameObject { ... }
fn get_text_component(self) -> Text { ... }
fn get_text_mesh_pro_component(self) -> TextMeshProUGUI { ... }
fn get_rect_transform(self) -> RectTransform { ... }
fn update_text_color(self) { ... }
fn set_menu_item(self, menu_item: impl Into<BasicMenuItem>) { ... }
fn build(self, menu_item: impl Into<BasicMenuItem>) { ... }
fn build_font(self) { ... }
fn build_text(self) { ... }
fn build_text_color(self) { ... }
fn unbind(self) { ... }
fn disable(self) { ... }
fn start(self) { ... }
fn update(self) { ... }
fn force_rebuild_layout(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
GetMenuItem() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn get_text(self) -> Il2CppString
fn get_text(self) -> Il2CppString
GetText() overload
Sourcefn set_text(self, name: impl Into<Il2CppString>)
fn set_text(self, name: impl Into<Il2CppString>)
SetText(::unity::Il2CppString) overload
Sourcefn set_text_size(self, font_size: impl Into<i32>)
fn set_text_size(self, font_size: impl Into<i32>)
SetTextSize(i32) overload
Sourcefn set_text_base_color(self, color: impl Into<Color>)
fn set_text_base_color(self, color: impl Into<Color>)
SetTextBaseColor(crate::unity_engine::color::Color) overload
Sourcefn set_text_blend_color(self, color: impl Into<Color>)
fn set_text_blend_color(self, color: impl Into<Color>)
SetTextBlendColor(crate::unity_engine::color::Color) overload
Sourcefn set_frm_content(self, frm_content: impl Into<GameObject>)
fn set_frm_content(self, frm_content: impl Into<GameObject>)
SetFrmContent(crate::unity_engine::gameobject::GameObject) overload
Sourcefn get_child_object(self) -> GameObject
fn get_child_object(self) -> GameObject
get_childObject() overload
Sourcefn get_text_component(self) -> Text
fn get_text_component(self) -> Text
GetTextComponent() overload
Sourcefn get_text_mesh_pro_component(self) -> TextMeshProUGUI
fn get_text_mesh_pro_component(self) -> TextMeshProUGUI
GetTextMeshProComponent() overload
Sourcefn get_rect_transform(self) -> RectTransform
fn get_rect_transform(self) -> RectTransform
GetRectTransform() overload
Sourcefn update_text_color(self)
fn update_text_color(self)
UpdateTextColor() overload
SetMenuItem(crate::app::basicmenuitem::BasicMenuItem) overload
Sourcefn build(self, menu_item: impl Into<BasicMenuItem>)
fn build(self, menu_item: impl Into<BasicMenuItem>)
Build(crate::app::basicmenuitem::BasicMenuItem) overload
Sourcefn build_font(self)
fn build_font(self)
BuildFont() overload
Sourcefn build_text(self)
fn build_text(self)
BuildText() overload
Sourcefn build_text_color(self)
fn build_text_color(self)
BuildTextColor() overload
Sourcefn force_rebuild_layout(self)
fn force_rebuild_layout(self)
ForceRebuildLayout() 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: IBasicMenuItemContent> IBasicMenuItemContentMethods for __T
app-basicmenuitemcontent only.