Skip to main content

IAssetBundleLocalResourceMethods

Trait IAssetBundleLocalResourceMethods 

Source
pub trait IAssetBundleLocalResourceMethods: IAssetBundleLocalResource {
    // Provided methods
    fn get_asset_bundle(self) -> AssetBundle { ... }
    fn ctor(self) { ... }
    fn percent_complete(self) -> f32 { ... }
    fn local_request_operation_completed(self, op: impl Into<AsyncOperation>) { ... }
    fn wait_for_completion_handler(self) -> bool { ... }
    fn load(
        self,
        key: impl Into<Il2CppString>,
        provide_handle: impl Into<ProvideHandle>,
    ) { ... }
    fn unload(self) { ... }
}

Provided Methods§

Source

fn get_asset_bundle(self) -> AssetBundle

GetAssetBundle() overload

Source

fn ctor(self)

.ctor() overload

Source

fn percent_complete(self) -> f32

PercentComplete() overload

Source

fn local_request_operation_completed(self, op: impl Into<AsyncOperation>)

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

Source

fn wait_for_completion_handler(self) -> bool

WaitForCompletionHandler() overload

Source

fn load( self, key: impl Into<Il2CppString>, provide_handle: impl Into<ProvideHandle>, )

Load(::unity::Il2CppString, crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle) overload

Source

fn unload(self)

Unload() 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: IAssetBundleLocalResource> IAssetBundleLocalResourceMethods for __T

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