pub trait IAssetBundleResourceMethods: IAssetBundleResource {
Show 14 methods
// Provided methods
fn create_web_request(
self,
loc: impl Into<IResourceLocation>,
) -> UnityWebRequest { ... }
fn create_web_request_2(
self,
url: impl Into<Il2CppString>,
) -> UnityWebRequest { ... }
fn percent_complete(self) -> f32 { ... }
fn get_download_status(self) -> DownloadStatus { ... }
fn get_asset_bundle(self) -> AssetBundle { ... }
fn start(self, provide_handle: impl Into<ProvideHandle>) { ... }
fn wait_for_completion_handler(self) -> bool { ... }
fn add_callback_invoke_if_done(
self,
operation: impl Into<AsyncOperation>,
callback: impl Into<Action_1<AsyncOperation>>,
) { ... }
fn begin_operation(self) { ... }
fn local_request_operation_completed(self, op: impl Into<AsyncOperation>) { ... }
fn complete_bundle_load(self, bundle: impl Into<AssetBundle>) { ... }
fn web_request_operation_completed(self, op: impl Into<AsyncOperation>) { ... }
fn unload(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn create_web_request(
self,
loc: impl Into<IResourceLocation>,
) -> UnityWebRequest
fn create_web_request( self, loc: impl Into<IResourceLocation>, ) -> UnityWebRequest
CreateWebRequest(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation) overload
Sourcefn create_web_request_2(self, url: impl Into<Il2CppString>) -> UnityWebRequest
fn create_web_request_2(self, url: impl Into<Il2CppString>) -> UnityWebRequest
CreateWebRequest(::unity::Il2CppString) overload
Sourcefn percent_complete(self) -> f32
fn percent_complete(self) -> f32
PercentComplete() overload
Sourcefn get_download_status(self) -> DownloadStatus
fn get_download_status(self) -> DownloadStatus
GetDownloadStatus() overload
Sourcefn get_asset_bundle(self) -> AssetBundle
fn get_asset_bundle(self) -> AssetBundle
GetAssetBundle() overload
Sourcefn start(self, provide_handle: impl Into<ProvideHandle>)
fn start(self, provide_handle: impl Into<ProvideHandle>)
Start(crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle) overload
Sourcefn wait_for_completion_handler(self) -> bool
fn wait_for_completion_handler(self) -> bool
WaitForCompletionHandler() overload
Sourcefn add_callback_invoke_if_done(
self,
operation: impl Into<AsyncOperation>,
callback: impl Into<Action_1<AsyncOperation>>,
)
fn add_callback_invoke_if_done( self, operation: impl Into<AsyncOperation>, callback: impl Into<Action_1<AsyncOperation>>, )
AddCallbackInvokeIfDone(crate::unity_engine::asyncoperation::AsyncOperation, crate::system::action_1::Action_1<crate::unity_engine::asyncoperation::AsyncOperation>) overload
Sourcefn begin_operation(self)
fn begin_operation(self)
BeginOperation() overload
Sourcefn local_request_operation_completed(self, op: impl Into<AsyncOperation>)
fn local_request_operation_completed(self, op: impl Into<AsyncOperation>)
LocalRequestOperationCompleted(crate::unity_engine::asyncoperation::AsyncOperation) overload
Sourcefn complete_bundle_load(self, bundle: impl Into<AssetBundle>)
fn complete_bundle_load(self, bundle: impl Into<AssetBundle>)
CompleteBundleLoad(crate::unity_engine::assetbundle::AssetBundle) overload
Sourcefn web_request_operation_completed(self, op: impl Into<AsyncOperation>)
fn web_request_operation_completed(self, op: impl Into<AsyncOperation>)
WebRequestOperationCompleted(crate::unity_engine::asyncoperation::AsyncOperation) 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§
impl<__T: IAssetBundleResource> IAssetBundleResourceMethods for __T
unity_engine-resource_management-resource_providers-assetbundleresource only.