pub trait IBasicMenuContent_ScrollMethods: IBasicMenuContent_Scroll {
// Provided methods
fn ctor(
self,
menu_content: impl Into<BasicMenuContent>,
scroll_bar: impl Into<GameObject>,
) { ... }
fn get_scroll(self) -> f32 { ... }
fn get_scroll_old(self) -> f32 { ... }
fn get_scroll_from(self) -> f32 { ... }
fn tick(self) { ... }
fn scroll_instant(self) { ... }
fn reset(self) { ... }
fn set_scroll_frame(self, frame: impl Into<f32>) { ... }
fn set_scroll_bar_handle_size(self, size: impl Into<f32>) { ... }
}Provided Methods§
Sourcefn ctor(
self,
menu_content: impl Into<BasicMenuContent>,
scroll_bar: impl Into<GameObject>,
)
fn ctor( self, menu_content: impl Into<BasicMenuContent>, scroll_bar: impl Into<GameObject>, )
.ctor(crate::app::basicmenucontent::BasicMenuContent, crate::unity_engine::gameobject::GameObject) overload
Sourcefn get_scroll(self) -> f32
fn get_scroll(self) -> f32
GetScroll() overload
Sourcefn get_scroll_old(self) -> f32
fn get_scroll_old(self) -> f32
GetScrollOld() overload
Sourcefn get_scroll_from(self) -> f32
fn get_scroll_from(self) -> f32
GetScrollFrom() overload
Sourcefn scroll_instant(self)
fn scroll_instant(self)
ScrollInstant() overload
Sourcefn set_scroll_frame(self, frame: impl Into<f32>)
fn set_scroll_frame(self, frame: impl Into<f32>)
SetScrollFrame(f32) overload
Sourcefn set_scroll_bar_handle_size(self, size: impl Into<f32>)
fn set_scroll_bar_handle_size(self, size: impl Into<f32>)
SetScrollBarHandleSize(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: IBasicMenuContent_Scroll> IBasicMenuContent_ScrollMethods for __T
Available on crate feature
app-basicmenucontent only.