Skip to main content

IBasicItemMenuItemContentMethods

Trait IBasicItemMenuItemContentMethods 

Source
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§

Source

fn find_game_object(self, name: impl Into<Il2CppString>) -> GameObject

FindGameObject(::unity::Il2CppString) overload

Source

fn setup_objects(self)

SetupObjects() overload

Source

fn blank(self)

Blank() overload

Source

fn build(self, menu_item: impl Into<BasicMenuItem>)

Build(crate::app::basicmenuitem::BasicMenuItem) overload

Source

fn build_text(self)

BuildText() overload

Source

fn build_text_2(self, unit_item: impl Into<UnitItem>)

BuildText(crate::app::unititem::UnitItem) overload

Source

fn set_color_engage_item(self)

SetColorEngageItem() overload

Source

fn update_text_color(self)

UpdateTextColor() overload

Source

fn get_text_component(self) -> Text

GetTextComponent() overload

Source

fn get_text_mesh_pro_component(self) -> TextMeshProUGUI

GetTextMeshProComponent() overload

Source

fn set_icon_color(self, color: impl Into<Color>)

SetIconColor(crate::unity_engine::color::Color) overload

Source

fn show_fixed_cursor(self)

ShowFixedCursor() overload

Source

fn hide_fixed_cursor(self)

HideFixedCursor() overload

Source

fn ctor(self)

.ctor() 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: IBasicItemMenuItemContent> IBasicItemMenuItemContentMethods for __T

Available on crate feature app-basicitemmenuitemcontent only.