pub struct OverlayCanvas { /* private fields */ }Expand description
A screen-space-overlay Canvas drawn on top of the game’s own UI (the
maximum sorting order) and kept across scene loads. Parent UI elements, or a
RawImage, under game_object.
Create it on Unity’s main thread, e.g. in on_scene_loaded.
Implementations§
Source§impl OverlayCanvas
impl OverlayCanvas
Auto Trait Implementations§
impl Freeze for OverlayCanvas
impl RefUnwindSafe for OverlayCanvas
impl Send for OverlayCanvas
impl Sync for OverlayCanvas
impl Unpin for OverlayCanvas
impl UnsafeUnpin for OverlayCanvas
impl UnwindSafe for OverlayCanvas
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