Skip to main content

ISceneProvider_UnloadSceneOpMethods

Trait ISceneProvider_UnloadSceneOpMethods 

Source
pub trait ISceneProvider_UnloadSceneOpMethods: ISceneProvider_UnloadSceneOp {
    // Provided methods
    fn init(
        self,
        scene_load_handle: impl Into<AsyncOperationHandle_1<SceneInstance>>,
    ) { ... }
    fn execute(self) { ... }
    fn invoke_wait_for_completion(self) -> bool { ... }
    fn unload_scene_completed(self, obj: impl Into<AsyncOperation>) { ... }
    fn unload_scene_completed_no_release(self, obj: impl Into<AsyncOperation>) { ... }
    fn get_progress(self) -> f32 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn init( self, scene_load_handle: impl Into<AsyncOperationHandle_1<SceneInstance>>, )

Init(crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance>) overload

Source

fn execute(self)

Execute() overload

Source

fn invoke_wait_for_completion(self) -> bool

InvokeWaitForCompletion() overload

Source

fn unload_scene_completed(self, obj: impl Into<AsyncOperation>)

UnloadSceneCompleted(crate::unity_engine::asyncoperation::AsyncOperation) overload

Source

fn unload_scene_completed_no_release(self, obj: impl Into<AsyncOperation>)

UnloadSceneCompletedNoRelease(crate::unity_engine::asyncoperation::AsyncOperation) overload

Source

fn get_progress(self) -> f32

get_Progress() overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: ISceneProvider_UnloadSceneOp> ISceneProvider_UnloadSceneOpMethods for __T

Available on crate feature unity_engine-resource_management-resource_providers-sceneprovider only.