pub trait IVerticalLayoutUIMethods: IVerticalLayoutUI {
// Provided methods
fn ctor(self, canvas: impl Into<Canvas>, anchor: impl Into<Vector3>) { ... }
fn dispose(self) { ... }
fn text(self, text: impl Into<Il2CppString>) -> Text { ... }
fn button(
self,
text: impl Into<Il2CppString>,
on_pressed: impl Into<Action>,
) -> Button { ... }
fn dropdown(
self,
headline: impl Into<Il2CppString>,
items: impl Into<List_1<Il2CppString>>,
on_value_changed: impl Into<Action_1<Il2CppString>>,
) -> Dropdown { ... }
fn toggle(self, text: impl Into<Il2CppString>) -> Toggle { ... }
fn space(self, space: impl Into<f32>) { ... }
fn set_colors(self, widget: impl Into<Selectable>) { ... }
fn set_colors_2(self, widget: impl Into<Slider>) { ... }
}Provided Methods§
Sourcefn ctor(self, canvas: impl Into<Canvas>, anchor: impl Into<Vector3>)
fn ctor(self, canvas: impl Into<Canvas>, anchor: impl Into<Vector3>)
.ctor(crate::unity_engine::canvas::Canvas, crate::unity_engine::vector3::Vector3) overload
Sourcefn text(self, text: impl Into<Il2CppString>) -> Text
fn text(self, text: impl Into<Il2CppString>) -> Text
Text(::unity::Il2CppString) overload
Button(::unity::Il2CppString, crate::system::action::Action) overload
Sourcefn dropdown(
self,
headline: impl Into<Il2CppString>,
items: impl Into<List_1<Il2CppString>>,
on_value_changed: impl Into<Action_1<Il2CppString>>,
) -> Dropdown
fn dropdown( self, headline: impl Into<Il2CppString>, items: impl Into<List_1<Il2CppString>>, on_value_changed: impl Into<Action_1<Il2CppString>>, ) -> Dropdown
Dropdown(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>, crate::system::action_1::Action_1<::unity::Il2CppString>) overload
Sourcefn toggle(self, text: impl Into<Il2CppString>) -> Toggle
fn toggle(self, text: impl Into<Il2CppString>) -> Toggle
Toggle(::unity::Il2CppString) overload
Sourcefn set_colors(self, widget: impl Into<Selectable>)
fn set_colors(self, widget: impl Into<Selectable>)
SetColors(crate::unity_engine::ui::selectable::Selectable) overload
Sourcefn set_colors_2(self, widget: impl Into<Slider>)
fn set_colors_2(self, widget: impl Into<Slider>)
SetColors(crate::unity_engine::ui::slider::Slider) 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: IVerticalLayoutUI> IVerticalLayoutUIMethods for __T
Available on crate feature
combat-verticallayoutui only.