Skip to main content

IISceneProvider_InterfaceMethods

Trait IISceneProvider_InterfaceMethods 

Source
pub trait IISceneProvider_InterfaceMethods: IISceneProvider_Interface {
    // Provided methods
    fn provide_scene(
        self,
        resource_manager: impl Into<ResourceManager>,
        location: impl Into<IResourceLocation>,
        load_mode: impl Into<LoadSceneMode>,
        activate_on_load: impl Into<bool>,
        priority: impl Into<i32>,
    ) -> AsyncOperationHandle_1<SceneInstance> { ... }
    fn release_scene(
        self,
        resource_manager: impl Into<ResourceManager>,
        scene_load_handle: impl Into<AsyncOperationHandle_1<SceneInstance>>,
    ) -> AsyncOperationHandle_1<SceneInstance> { ... }
}

Provided Methods§

Source

fn provide_scene( self, resource_manager: impl Into<ResourceManager>, location: impl Into<IResourceLocation>, load_mode: impl Into<LoadSceneMode>, activate_on_load: impl Into<bool>, priority: impl Into<i32>, ) -> AsyncOperationHandle_1<SceneInstance>

ProvideScene(crate::unity_engine::resource_management::resourcemanager::ResourceManager, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::scene_management::loadscenemode::LoadSceneMode, bool, i32) overload

Source

fn release_scene( self, resource_manager: impl Into<ResourceManager>, scene_load_handle: impl Into<AsyncOperationHandle_1<SceneInstance>>, ) -> AsyncOperationHandle_1<SceneInstance>

ReleaseScene(crate::unity_engine::resource_management::resourcemanager::ResourceManager, crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance>) 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: IISceneProvider_Interface> IISceneProvider_InterfaceMethods for __T

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