Skip to main content

IMyRoomWakeupSelectMenuItemContentMethods

Trait IMyRoomWakeupSelectMenuItemContentMethods 

Source
pub trait IMyRoomWakeupSelectMenuItemContentMethods: IMyRoomWakeupSelectMenuItemContent {
    // Provided methods
    fn setup_objects(self) { ... }
    fn set_rank_color(
        self,
        rank_image: impl Into<Image>,
        base_image: impl Into<Image>,
        number_text: impl Into<TextMeshProUGUI>,
        color: impl Into<Color>,
    ) { ... }
    fn get_command_color(self) -> Color { ... }
    fn build(self, menu_item: impl Into<BasicMenuItem>) { ... }
    fn build_text(self) { ... }
    fn update_text_color(self) { ... }
    fn update(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn setup_objects(self)

SetupObjects() overload

Source

fn set_rank_color( self, rank_image: impl Into<Image>, base_image: impl Into<Image>, number_text: impl Into<TextMeshProUGUI>, color: impl Into<Color>, )

SetRankColor(crate::unity_engine::ui::image::Image, crate::unity_engine::ui::image::Image, crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::unity_engine::color::Color) overload

Source

fn get_command_color(self) -> Color

GetCommandColor() 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 update_text_color(self)

UpdateTextColor() overload

Source

fn update(self)

Update() 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: IMyRoomWakeupSelectMenuItemContent> IMyRoomWakeupSelectMenuItemContentMethods for __T

Available on crate feature app-myroomwakeupselectmenuitemcontent only.