Skip to main content

IBasicMenuContent_CursorMethods

Trait IBasicMenuContent_CursorMethods 

Source
pub trait IBasicMenuContent_CursorMethods: IBasicMenuContent_Cursor {
Show 15 methods // Provided methods fn ctor( self, menu_content: impl Into<BasicMenuContent>, obj_front_cursor: impl Into<GameObject>, obj_back_cursor: impl Into<GameObject>, ) { ... } fn get_pos_x(self) -> f32 { ... } fn get_pos_y(self) -> f32 { ... } fn tick(self, scroll: impl Into<BasicMenuContent_Scroll>) { ... } fn update_visibility(self) { ... } fn move_instant(self) { ... } fn set_move_frame(self, frame: impl Into<f32>) { ... } fn pause_anim(self) { ... } fn resume_anim(self) { ... } fn restart_anim(self) { ... } fn set_sibling_index(self, index: impl Into<i32>) { ... } fn set_back_cursor_image_enabled(self, enabled: impl Into<bool>) { ... } fn set_to_keep_animator_state(self, keep: impl Into<bool>) { ... } fn move_front_cursor_from( self, from_x: impl Into<f32>, from_y: impl Into<f32>, frame: impl Into<f32>, ) { ... } fn set_front_cursor_visibility(self, visibility: impl Into<bool>) { ... }
}

Provided Methods§

Source

fn ctor( self, menu_content: impl Into<BasicMenuContent>, obj_front_cursor: impl Into<GameObject>, obj_back_cursor: impl Into<GameObject>, )

.ctor(crate::app::basicmenucontent::BasicMenuContent, crate::unity_engine::gameobject::GameObject, crate::unity_engine::gameobject::GameObject) overload

Source

fn get_pos_x(self) -> f32

GetPosX() overload

Source

fn get_pos_y(self) -> f32

GetPosY() overload

Source

fn tick(self, scroll: impl Into<BasicMenuContent_Scroll>)

Tick(crate::app::basicmenucontent::BasicMenuContent_Scroll) overload

Source

fn update_visibility(self)

UpdateVisibility() overload

Source

fn move_instant(self)

MoveInstant() overload

Source

fn set_move_frame(self, frame: impl Into<f32>)

SetMoveFrame(f32) overload

Source

fn pause_anim(self)

PauseAnim() overload

Source

fn resume_anim(self)

ResumeAnim() overload

Source

fn restart_anim(self)

RestartAnim() overload

Source

fn set_sibling_index(self, index: impl Into<i32>)

SetSiblingIndex(i32) overload

Source

fn set_back_cursor_image_enabled(self, enabled: impl Into<bool>)

SetBackCursorImageEnabled(bool) overload

Source

fn set_to_keep_animator_state(self, keep: impl Into<bool>)

SetToKeepAnimatorState(bool) overload

Source

fn move_front_cursor_from( self, from_x: impl Into<f32>, from_y: impl Into<f32>, frame: impl Into<f32>, )

MoveFrontCursorFrom(f32, f32, f32) overload

Source

fn set_front_cursor_visibility(self, visibility: impl Into<bool>)

SetFrontCursorVisibility(bool) 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: IBasicMenuContent_Cursor> IBasicMenuContent_CursorMethods for __T

Available on crate feature app-basicmenucontent only.