pub trait IMapUnitCommandMenuItemContentMethods: IMapUnitCommandMenuItemContent {
// Provided methods
fn find_game_object(self, name: impl Into<Il2CppString>) -> GameObject { ... }
fn setup_objects(self) { ... }
fn build(self, menu_item: impl Into<BasicMenuItem>) { ... }
fn build_text(self) { ... }
fn set_help_text(self, help: impl Into<Il2CppString>, c: impl Into<Color>) { ... }
fn set_help_text_alpha(self, alpha: impl Into<f32>) { ... }
fn get_text_mesh_pro_component(self) -> TextMeshProUGUI { ... }
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 set_help_text(self, help: impl Into<Il2CppString>, c: impl Into<Color>)
fn set_help_text(self, help: impl Into<Il2CppString>, c: impl Into<Color>)
SetHelpText(::unity::Il2CppString, crate::unity_engine::color::Color) overload
Sourcefn set_help_text_alpha(self, alpha: impl Into<f32>)
fn set_help_text_alpha(self, alpha: impl Into<f32>)
SetHelpTextAlpha(f32) overload
Sourcefn get_text_mesh_pro_component(self) -> TextMeshProUGUI
fn get_text_mesh_pro_component(self) -> TextMeshProUGUI
GetTextMeshProComponent() 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: IMapUnitCommandMenuItemContent> IMapUnitCommandMenuItemContentMethods for __T
Available on crate feature
app-mapunitcommandmenuitemcontent only.