pub struct SplashScreenLogo {
pub duration: f32,
pub logo: PPtr,
}Expand description
SplashScreenLogo is a sub class of the Unity engine since version 5.5.0f3. Exert from Unity’s scripting documentation: A single logo that is shown during the Splash Screen. Controls the Sprite that is displayed and its duration.
Fields§
§duration: f32The total time in seconds for which the logo is shown. The minimum duration is 2 seconds.
logo: PPtrThe Sprite that is shown during this logo. If this is null, then no logo will be displayed for the duration.
PPtr<Sprite>: (5.5.0f3 - 2022.3.2f1)
Trait Implementations§
Source§impl Debug for SplashScreenLogo
impl Debug for SplashScreenLogo
Source§impl<'de> Deserialize<'de> for SplashScreenLogo
impl<'de> Deserialize<'de> for SplashScreenLogo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SplashScreenLogo
impl RefUnwindSafe for SplashScreenLogo
impl Send for SplashScreenLogo
impl Sync for SplashScreenLogo
impl Unpin for SplashScreenLogo
impl UnwindSafe for SplashScreenLogo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more