pub trait IHUDPopupMethods: IHUDPopup {
// Provided methods
fn update(self) { ... }
fn set_world_position(self) -> (HUDPopup, Vector3) { ... }
fn set_world_position_and_display_number(
self,
value: impl Into<i32>,
) -> (HUDPopup, Vector3) { ... }
fn set2_d_offset(
self,
offset_x: impl Into<f32>,
offset_y: impl Into<f32>,
) -> HUDPopup { ... }
fn set_text(self, text: impl Into<Il2CppString>) -> HUDPopup { ... }
fn set_text_2(self, value: impl Into<i32>) -> HUDPopup { ... }
fn get_text(self) -> Il2CppString { ... }
fn set_text_color(self, color: impl Into<Color>) -> HUDPopup { ... }
fn set_image(
self,
name: impl Into<Il2CppString>,
sprite: impl Into<Sprite>,
) -> HUDPopup { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn set_world_position(self) -> (HUDPopup, Vector3)
fn set_world_position(self) -> (HUDPopup, Vector3)
SetWorldPosition(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_world_position_and_display_number(
self,
value: impl Into<i32>,
) -> (HUDPopup, Vector3)
fn set_world_position_and_display_number( self, value: impl Into<i32>, ) -> (HUDPopup, Vector3)
SetWorldPositionAndDisplayNumber(*mutcrate::unity_engine::vector3::Vector3, i32) overload
Sourcefn set2_d_offset(
self,
offset_x: impl Into<f32>,
offset_y: impl Into<f32>,
) -> HUDPopup
fn set2_d_offset( self, offset_x: impl Into<f32>, offset_y: impl Into<f32>, ) -> HUDPopup
Set2DOffset(f32, f32) overload
Sourcefn set_text(self, text: impl Into<Il2CppString>) -> HUDPopup
fn set_text(self, text: impl Into<Il2CppString>) -> HUDPopup
SetText(::unity::Il2CppString) overload
Sourcefn set_text_2(self, value: impl Into<i32>) -> HUDPopup
fn set_text_2(self, value: impl Into<i32>) -> HUDPopup
SetText(i32) overload
Sourcefn get_text(self) -> Il2CppString
fn get_text(self) -> Il2CppString
GetText() overload
Sourcefn set_text_color(self, color: impl Into<Color>) -> HUDPopup
fn set_text_color(self, color: impl Into<Color>) -> HUDPopup
SetTextColor(crate::unity_engine::color::Color) overload
Sourcefn set_image(
self,
name: impl Into<Il2CppString>,
sprite: impl Into<Sprite>,
) -> HUDPopup
fn set_image( self, name: impl Into<Il2CppString>, sprite: impl Into<Sprite>, ) -> HUDPopup
SetImage(::unity::Il2CppString, crate::unity_engine::sprite::Sprite) 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: IHUDPopup> IHUDPopupMethods for __T
Available on crate feature
combat-hudpopup only.