pub trait IUnitSelectMenuMethods: IUnitSelectMenu {
// Provided methods
fn ctor(
self,
menu_item_list: impl Into<List_1<BasicMenuItem>>,
menu_content: impl Into<UnitSelectMenuContent>,
) { ... }
fn rebuild_menu(self) { ... }
fn get_name(self) -> Il2CppString { ... }
fn set_select_index_from_unit(self, unit: impl Into<Unit>) { ... }
fn get_root_game_object(self) -> GameObject { ... }
fn play_cursor_anim_idle(self) { ... }
fn set_cursor_alpha(self, alpha: impl Into<f32>) { ... }
}Provided Methods§
Sourcefn ctor(
self,
menu_item_list: impl Into<List_1<BasicMenuItem>>,
menu_content: impl Into<UnitSelectMenuContent>,
)
fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<UnitSelectMenuContent>, )
.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::unitselectmenucontent::UnitSelectMenuContent) overload
RebuildMenu() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn set_select_index_from_unit(self, unit: impl Into<Unit>)
fn set_select_index_from_unit(self, unit: impl Into<Unit>)
SetSelectIndexFromUnit(crate::app::unit::Unit) overload
Sourcefn get_root_game_object(self) -> GameObject
fn get_root_game_object(self) -> GameObject
GetRootGameObject() overload
Sourcefn play_cursor_anim_idle(self)
fn play_cursor_anim_idle(self)
PlayCursorAnimIdle() overload
Sourcefn set_cursor_alpha(self, alpha: impl Into<f32>)
fn set_cursor_alpha(self, alpha: impl Into<f32>)
SetCursorAlpha(f32) 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: IUnitSelectMenu> IUnitSelectMenuMethods for __T
Available on crate feature
app-unitselectmenu only.