pub trait IBasicItemMenuItemContentMethods: IBasicItemMenuItemContent {
Show 14 methods
// Provided methods
fn find_game_object(self, name: impl Into<Il2CppString>) -> GameObject { ... }
fn setup_objects(self) { ... }
fn blank(self) { ... }
fn build(self, menu_item: impl Into<BasicMenuItem>) { ... }
fn build_text(self) { ... }
fn build_text_2(self, unit_item: impl Into<UnitItem>) { ... }
fn set_color_engage_item(self) { ... }
fn update_text_color(self) { ... }
fn get_text_component(self) -> Text { ... }
fn get_text_mesh_pro_component(self) -> TextMeshProUGUI { ... }
fn set_icon_color(self, color: impl Into<Color>) { ... }
fn show_fixed_cursor(self) { ... }
fn hide_fixed_cursor(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn find_game_object(self, name: impl Into<Il2CppString>) -> GameObject
fn find_game_object(self, name: impl Into<Il2CppString>) -> GameObject
FindGameObject(::unity::Il2CppString) overload
Sourcefn setup_objects(self)
fn setup_objects(self)
SetupObjects() 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_text(self)
fn build_text(self)
BuildText() overload
Sourcefn build_text_2(self, unit_item: impl Into<UnitItem>)
fn build_text_2(self, unit_item: impl Into<UnitItem>)
BuildText(crate::app::unititem::UnitItem) overload
Sourcefn set_color_engage_item(self)
fn set_color_engage_item(self)
SetColorEngageItem() overload
Sourcefn update_text_color(self)
fn update_text_color(self)
UpdateTextColor() 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 set_icon_color(self, color: impl Into<Color>)
fn set_icon_color(self, color: impl Into<Color>)
SetIconColor(crate::unity_engine::color::Color) overload
Sourcefn show_fixed_cursor(self)
fn show_fixed_cursor(self)
ShowFixedCursor() overload
Sourcefn hide_fixed_cursor(self)
fn hide_fixed_cursor(self)
HideFixedCursor() 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: IBasicItemMenuItemContent> IBasicItemMenuItemContentMethods for __T
Available on crate feature
app-basicitemmenuitemcontent only.