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§
Sourcefn ctor(
self,
menu_content: impl Into<BasicMenuContent>,
obj_front_cursor: impl Into<GameObject>,
obj_back_cursor: impl Into<GameObject>,
)
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
Sourcefn tick(self, scroll: impl Into<BasicMenuContent_Scroll>)
fn tick(self, scroll: impl Into<BasicMenuContent_Scroll>)
Tick(crate::app::basicmenucontent::BasicMenuContent_Scroll) overload
Sourcefn update_visibility(self)
fn update_visibility(self)
UpdateVisibility() overload
Sourcefn move_instant(self)
fn move_instant(self)
MoveInstant() overload
Sourcefn set_move_frame(self, frame: impl Into<f32>)
fn set_move_frame(self, frame: impl Into<f32>)
SetMoveFrame(f32) overload
Sourcefn pause_anim(self)
fn pause_anim(self)
PauseAnim() overload
Sourcefn resume_anim(self)
fn resume_anim(self)
ResumeAnim() overload
Sourcefn restart_anim(self)
fn restart_anim(self)
RestartAnim() overload
Sourcefn set_sibling_index(self, index: impl Into<i32>)
fn set_sibling_index(self, index: impl Into<i32>)
SetSiblingIndex(i32) overload
Sourcefn set_back_cursor_image_enabled(self, enabled: impl Into<bool>)
fn set_back_cursor_image_enabled(self, enabled: impl Into<bool>)
SetBackCursorImageEnabled(bool) overload
Sourcefn set_to_keep_animator_state(self, keep: impl Into<bool>)
fn set_to_keep_animator_state(self, keep: impl Into<bool>)
SetToKeepAnimatorState(bool) overload
Sourcefn move_front_cursor_from(
self,
from_x: impl Into<f32>,
from_y: impl Into<f32>,
frame: impl Into<f32>,
)
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
Sourcefn set_front_cursor_visibility(self, visibility: impl Into<bool>)
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§
impl<__T: IBasicMenuContent_Cursor> IBasicMenuContent_CursorMethods for __T
Available on crate feature
app-basicmenucontent only.