pub trait IResourceManagerMethods: IResourceManager {
Show 61 methods
// Provided methods
fn get_internal_id_transform_func(
self,
) -> Func_2<IResourceLocation, Il2CppString> { ... }
fn set_internal_id_transform_func(
self,
value: impl Into<Func_2<IResourceLocation, Il2CppString>>,
) { ... }
fn transform_internal_id(
self,
location: impl Into<IResourceLocation>,
) -> Il2CppString { ... }
fn get_web_request_override(self) -> Action_1<UnityWebRequest> { ... }
fn set_web_request_override(
self,
value: impl Into<Action_1<UnityWebRequest>>,
) { ... }
fn get_operation_cache_count(self) -> i32 { ... }
fn get_instance_operation_count(self) -> i32 { ... }
fn add_update_receiver(self, receiver: impl Into<IUpdateReceiver>) { ... }
fn remove_update_reciever(self, receiver: impl Into<IUpdateReceiver>) { ... }
fn get_allocator(self) -> IAllocationStrategy { ... }
fn set_allocator(self, value: impl Into<IAllocationStrategy>) { ... }
fn get_resource_providers(self) -> IList_1_Interface<IResourceProvider> { ... }
fn get_certificate_handler_instance(self) -> CertificateHandler { ... }
fn set_certificate_handler_instance(
self,
value: impl Into<CertificateHandler>,
) { ... }
fn ctor(self, alloc: impl Into<IAllocationStrategy>) { ... }
fn on_object_added(self, obj: impl Into<Object>) { ... }
fn on_object_removed(self, obj: impl Into<Object>) { ... }
fn register_for_callbacks(self) { ... }
fn clear_diagnostics_callback(self) { ... }
fn clear_diagnostic_callbacks(self) { ... }
fn unregister_diagnostic_callback(
self,
func: impl Into<Action_1<ResourceManager_DiagnosticEventContext>>,
) { ... }
fn register_diagnostic_callback(
self,
func: impl Into<Action_4<AsyncOperationHandle, ResourceManager_DiagnosticEventType, i32, Object>>,
) { ... }
fn register_diagnostic_callback_2(
self,
func: impl Into<Action_1<ResourceManager_DiagnosticEventContext>>,
) { ... }
fn post_diagnostic_event(
self,
context: impl Into<ResourceManager_DiagnosticEventContext>,
) { ... }
fn get_resource_provider(
self,
t: impl Into<SystemType>,
location: impl Into<IResourceLocation>,
) -> IResourceProvider { ... }
fn get_default_type_for_location(
self,
loc: impl Into<IResourceLocation>,
) -> SystemType { ... }
fn calculate_locations_hash(
self,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
t: impl Into<SystemType>,
) -> i32 { ... }
fn provide_resource(
self,
location: impl Into<IResourceLocation>,
desired_type: impl Into<SystemType>,
release_dependencies_on_failure: impl Into<bool>,
) -> AsyncOperationHandle { ... }
fn provide_resource_2<M0: IlType + Copy + ClassIdentity>(
self,
location: impl Into<IResourceLocation>,
) -> AsyncOperationHandle_1<M0> { ... }
fn start_operation<M0: IlType + Copy + ClassIdentity>(
self,
operation: impl Into<AsyncOperationBase_1<M0>>,
dependency: impl Into<AsyncOperationHandle>,
) -> AsyncOperationHandle_1<M0> { ... }
fn start_operation_2(
self,
operation: impl Into<IAsyncOperation>,
dependency: impl Into<AsyncOperationHandle>,
) -> AsyncOperationHandle { ... }
fn on_instance_operation_destroy(self, o: impl Into<IAsyncOperation>) { ... }
fn on_operation_destroy_non_cached(self, o: impl Into<IAsyncOperation>) { ... }
fn on_operation_destroy_cached(self, o: impl Into<IAsyncOperation>) { ... }
fn create_operation<M0: IlType + Copy + ClassIdentity>(
self,
actual_type: impl Into<SystemType>,
type_hash: impl Into<i32>,
cache_key: impl Into<IOperationCacheKey>,
on_destroy_action: impl Into<Action_1<IAsyncOperation>>,
) -> M0 { ... }
fn add_operation_to_cache(
self,
key: impl Into<IOperationCacheKey>,
operation: impl Into<IAsyncOperation>,
) { ... }
fn remove_operation_from_cache(
self,
key: impl Into<IOperationCacheKey>,
) -> bool { ... }
fn is_operation_cached(self, key: impl Into<IOperationCacheKey>) -> bool { ... }
fn cached_operation_count(self) -> i32 { ... }
fn create_completed_operation<M0: IlType + Copy + ClassIdentity>(
self,
result: impl Into<M0>,
error_msg: impl Into<Il2CppString>,
) -> AsyncOperationHandle_1<M0> { ... }
fn release(self, handle: impl Into<AsyncOperationHandle>) { ... }
fn acquire(self, handle: impl Into<AsyncOperationHandle>) { ... }
fn acquire_group_op_from_cache(
self,
key: impl Into<IOperationCacheKey>,
) -> GroupOperation { ... }
fn create_group_operation<M0: IlType + Copy + ClassIdentity>(
self,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
) -> AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>> { ... }
fn create_group_operation_2<M0: IlType + Copy + ClassIdentity>(
self,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
allow_failed_dependencies: impl Into<bool>,
) -> AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>> { ... }
fn create_generic_group_operation(
self,
operations: impl Into<List_1<AsyncOperationHandle>>,
released_cached_op_on_complete: impl Into<bool>,
) -> AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>> { ... }
fn provide_resource_group_cached(
self,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
group_hash: impl Into<i32>,
desired_type: impl Into<SystemType>,
callback: impl Into<Action_1<AsyncOperationHandle>>,
release_dependencies_on_failure: impl Into<bool>,
) -> AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>> { ... }
fn provide_resources<M0: IlType + Copy + ClassIdentity>(
self,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
callback: impl Into<Action_1<M0>>,
) -> AsyncOperationHandle_1<IList_1_Interface<M0>> { ... }
fn provide_resources_2<M0: IlType + Copy + ClassIdentity>(
self,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
release_dependencies_on_failure: impl Into<bool>,
callback: impl Into<Action_1<M0>>,
) -> AsyncOperationHandle_1<IList_1_Interface<M0>> { ... }
fn create_chain_operation<M0: IlType + Copy + ClassIdentity, M1: IlType + Copy + ClassIdentity>(
self,
dependent_op: impl Into<AsyncOperationHandle_1<M1>>,
callback: impl Into<Func_2<AsyncOperationHandle_1<M1>, AsyncOperationHandle_1<M0>>>,
) -> AsyncOperationHandle_1<M0> { ... }
fn create_chain_operation_2<M0: IlType + Copy + ClassIdentity>(
self,
dependent_op: impl Into<AsyncOperationHandle>,
callback: impl Into<Func_2<AsyncOperationHandle, AsyncOperationHandle_1<M0>>>,
) -> AsyncOperationHandle_1<M0> { ... }
fn create_chain_operation_3<M0: IlType + Copy + ClassIdentity, M1: IlType + Copy + ClassIdentity>(
self,
dependent_op: impl Into<AsyncOperationHandle_1<M1>>,
callback: impl Into<Func_2<AsyncOperationHandle_1<M1>, AsyncOperationHandle_1<M0>>>,
release_dependencies_on_failure: impl Into<bool>,
) -> AsyncOperationHandle_1<M0> { ... }
fn create_chain_operation_4<M0: IlType + Copy + ClassIdentity>(
self,
dependent_op: impl Into<AsyncOperationHandle>,
callback: impl Into<Func_2<AsyncOperationHandle, AsyncOperationHandle_1<M0>>>,
release_dependencies_on_failure: impl Into<bool>,
) -> AsyncOperationHandle_1<M0> { ... }
fn provide_scene(
self,
scene_provider: impl Into<ISceneProvider_Interface>,
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,
scene_provider: impl Into<ISceneProvider_Interface>,
scene_load_handle: impl Into<AsyncOperationHandle_1<SceneInstance>>,
) -> AsyncOperationHandle_1<SceneInstance> { ... }
fn provide_instance(
self,
provider: impl Into<IInstanceProvider_Interface>,
location: impl Into<IResourceLocation>,
instantiate_parameters: impl Into<InstantiationParameters>,
) -> AsyncOperationHandle_1<GameObject> { ... }
fn cleanup_scene_instances(self, scene: impl Into<Scene>) { ... }
fn execute_deferred_callbacks(self) { ... }
fn register_for_deferred_callback(
self,
op: impl Into<IAsyncOperation>,
increment_ref_count: impl Into<bool>,
) { ... }
fn update(self, unscaled_delta_time: impl Into<f32>) { ... }
fn dispose(self) { ... }
}Provided Methods§
Sourcefn get_internal_id_transform_func(
self,
) -> Func_2<IResourceLocation, Il2CppString>
fn get_internal_id_transform_func( self, ) -> Func_2<IResourceLocation, Il2CppString>
get_InternalIdTransformFunc() overload
Sourcefn set_internal_id_transform_func(
self,
value: impl Into<Func_2<IResourceLocation, Il2CppString>>,
)
fn set_internal_id_transform_func( self, value: impl Into<Func_2<IResourceLocation, Il2CppString>>, )
set_InternalIdTransformFunc(crate::system::func_2::Func_2<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,::unity::Il2CppString>) overload
Sourcefn transform_internal_id(
self,
location: impl Into<IResourceLocation>,
) -> Il2CppString
fn transform_internal_id( self, location: impl Into<IResourceLocation>, ) -> Il2CppString
TransformInternalId(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation) overload
Sourcefn get_web_request_override(self) -> Action_1<UnityWebRequest>
fn get_web_request_override(self) -> Action_1<UnityWebRequest>
get_WebRequestOverride() overload
Sourcefn set_web_request_override(self, value: impl Into<Action_1<UnityWebRequest>>)
fn set_web_request_override(self, value: impl Into<Action_1<UnityWebRequest>>)
set_WebRequestOverride(crate::system::action_1::Action_1<crate::unity_engine::networking::unitywebrequest::UnityWebRequest>) overload
Sourcefn get_operation_cache_count(self) -> i32
fn get_operation_cache_count(self) -> i32
get_OperationCacheCount() overload
Sourcefn get_instance_operation_count(self) -> i32
fn get_instance_operation_count(self) -> i32
get_InstanceOperationCount() overload
Sourcefn add_update_receiver(self, receiver: impl Into<IUpdateReceiver>)
fn add_update_receiver(self, receiver: impl Into<IUpdateReceiver>)
AddUpdateReceiver(crate::unity_engine::resource_management::iupdatereceiver::IUpdateReceiver) overload
Sourcefn remove_update_reciever(self, receiver: impl Into<IUpdateReceiver>)
fn remove_update_reciever(self, receiver: impl Into<IUpdateReceiver>)
RemoveUpdateReciever(crate::unity_engine::resource_management::iupdatereceiver::IUpdateReceiver) overload
Sourcefn get_allocator(self) -> IAllocationStrategy
fn get_allocator(self) -> IAllocationStrategy
get_Allocator() overload
Sourcefn set_allocator(self, value: impl Into<IAllocationStrategy>)
fn set_allocator(self, value: impl Into<IAllocationStrategy>)
set_Allocator(crate::unity_engine::resource_management::util::iallocationstrategy::IAllocationStrategy) overload
Sourcefn get_resource_providers(self) -> IList_1_Interface<IResourceProvider>
fn get_resource_providers(self) -> IList_1_Interface<IResourceProvider>
get_ResourceProviders() overload
Sourcefn get_certificate_handler_instance(self) -> CertificateHandler
fn get_certificate_handler_instance(self) -> CertificateHandler
get_CertificateHandlerInstance() overload
Sourcefn set_certificate_handler_instance(self, value: impl Into<CertificateHandler>)
fn set_certificate_handler_instance(self, value: impl Into<CertificateHandler>)
set_CertificateHandlerInstance(crate::unity_engine::networking::certificatehandler::CertificateHandler) overload
Sourcefn ctor(self, alloc: impl Into<IAllocationStrategy>)
fn ctor(self, alloc: impl Into<IAllocationStrategy>)
.ctor(crate::unity_engine::resource_management::util::iallocationstrategy::IAllocationStrategy) overload
Sourcefn on_object_added(self, obj: impl Into<Object>)
fn on_object_added(self, obj: impl Into<Object>)
OnObjectAdded(crate::system::object::Object) overload
Sourcefn on_object_removed(self, obj: impl Into<Object>)
fn on_object_removed(self, obj: impl Into<Object>)
OnObjectRemoved(crate::system::object::Object) overload
Sourcefn register_for_callbacks(self)
fn register_for_callbacks(self)
RegisterForCallbacks() overload
Sourcefn clear_diagnostics_callback(self)
fn clear_diagnostics_callback(self)
ClearDiagnosticsCallback() overload
Sourcefn clear_diagnostic_callbacks(self)
fn clear_diagnostic_callbacks(self)
ClearDiagnosticCallbacks() overload
Sourcefn unregister_diagnostic_callback(
self,
func: impl Into<Action_1<ResourceManager_DiagnosticEventContext>>,
)
fn unregister_diagnostic_callback( self, func: impl Into<Action_1<ResourceManager_DiagnosticEventContext>>, )
UnregisterDiagnosticCallback(crate::system::action_1::Action_1<crate::unity_engine::resource_management::resourcemanager::ResourceManager_DiagnosticEventContext>) overload
Sourcefn register_diagnostic_callback(
self,
func: impl Into<Action_4<AsyncOperationHandle, ResourceManager_DiagnosticEventType, i32, Object>>,
)
fn register_diagnostic_callback( self, func: impl Into<Action_4<AsyncOperationHandle, ResourceManager_DiagnosticEventType, i32, Object>>, )
RegisterDiagnosticCallback(crate::system::action_4::Action_4<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle,crate::unity_engine::resource_management::resourcemanager::ResourceManager_DiagnosticEventType,i32,crate::system::object::Object>) overload
Sourcefn register_diagnostic_callback_2(
self,
func: impl Into<Action_1<ResourceManager_DiagnosticEventContext>>,
)
fn register_diagnostic_callback_2( self, func: impl Into<Action_1<ResourceManager_DiagnosticEventContext>>, )
RegisterDiagnosticCallback(crate::system::action_1::Action_1<crate::unity_engine::resource_management::resourcemanager::ResourceManager_DiagnosticEventContext>) overload
Sourcefn post_diagnostic_event(
self,
context: impl Into<ResourceManager_DiagnosticEventContext>,
)
fn post_diagnostic_event( self, context: impl Into<ResourceManager_DiagnosticEventContext>, )
PostDiagnosticEvent(crate::unity_engine::resource_management::resourcemanager::ResourceManager_DiagnosticEventContext) overload
Sourcefn get_resource_provider(
self,
t: impl Into<SystemType>,
location: impl Into<IResourceLocation>,
) -> IResourceProvider
fn get_resource_provider( self, t: impl Into<SystemType>, location: impl Into<IResourceLocation>, ) -> IResourceProvider
GetResourceProvider(::unity::SystemType, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation) overload
Sourcefn get_default_type_for_location(
self,
loc: impl Into<IResourceLocation>,
) -> SystemType
fn get_default_type_for_location( self, loc: impl Into<IResourceLocation>, ) -> SystemType
GetDefaultTypeForLocation(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation) overload
Sourcefn calculate_locations_hash(
self,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
t: impl Into<SystemType>,
) -> i32
fn calculate_locations_hash( self, locations: impl Into<IList_1_Interface<IResourceLocation>>, t: impl Into<SystemType>, ) -> i32
CalculateLocationsHash(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>, ::unity::SystemType) overload
Sourcefn provide_resource(
self,
location: impl Into<IResourceLocation>,
desired_type: impl Into<SystemType>,
release_dependencies_on_failure: impl Into<bool>,
) -> AsyncOperationHandle
fn provide_resource( self, location: impl Into<IResourceLocation>, desired_type: impl Into<SystemType>, release_dependencies_on_failure: impl Into<bool>, ) -> AsyncOperationHandle
ProvideResource(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, ::unity::SystemType, bool) overload
fn provide_resource_2<M0: IlType + Copy + ClassIdentity>( self, location: impl Into<IResourceLocation>, ) -> AsyncOperationHandle_1<M0>
fn start_operation<M0: IlType + Copy + ClassIdentity>( self, operation: impl Into<AsyncOperationBase_1<M0>>, dependency: impl Into<AsyncOperationHandle>, ) -> AsyncOperationHandle_1<M0>
Sourcefn start_operation_2(
self,
operation: impl Into<IAsyncOperation>,
dependency: impl Into<AsyncOperationHandle>,
) -> AsyncOperationHandle
fn start_operation_2( self, operation: impl Into<IAsyncOperation>, dependency: impl Into<AsyncOperationHandle>, ) -> AsyncOperationHandle
StartOperation(crate::unity_engine::resource_management::async_operations::iasyncoperation::IAsyncOperation, crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle) overload
Sourcefn on_instance_operation_destroy(self, o: impl Into<IAsyncOperation>)
fn on_instance_operation_destroy(self, o: impl Into<IAsyncOperation>)
OnInstanceOperationDestroy(crate::unity_engine::resource_management::async_operations::iasyncoperation::IAsyncOperation) overload
Sourcefn on_operation_destroy_non_cached(self, o: impl Into<IAsyncOperation>)
fn on_operation_destroy_non_cached(self, o: impl Into<IAsyncOperation>)
OnOperationDestroyNonCached(crate::unity_engine::resource_management::async_operations::iasyncoperation::IAsyncOperation) overload
Sourcefn on_operation_destroy_cached(self, o: impl Into<IAsyncOperation>)
fn on_operation_destroy_cached(self, o: impl Into<IAsyncOperation>)
OnOperationDestroyCached(crate::unity_engine::resource_management::async_operations::iasyncoperation::IAsyncOperation) overload
fn create_operation<M0: IlType + Copy + ClassIdentity>( self, actual_type: impl Into<SystemType>, type_hash: impl Into<i32>, cache_key: impl Into<IOperationCacheKey>, on_destroy_action: impl Into<Action_1<IAsyncOperation>>, ) -> M0
Sourcefn add_operation_to_cache(
self,
key: impl Into<IOperationCacheKey>,
operation: impl Into<IAsyncOperation>,
)
fn add_operation_to_cache( self, key: impl Into<IOperationCacheKey>, operation: impl Into<IAsyncOperation>, )
AddOperationToCache(crate::unity_engine::resource_management::util::ioperationcachekey::IOperationCacheKey, crate::unity_engine::resource_management::async_operations::iasyncoperation::IAsyncOperation) overload
Sourcefn remove_operation_from_cache(self, key: impl Into<IOperationCacheKey>) -> bool
fn remove_operation_from_cache(self, key: impl Into<IOperationCacheKey>) -> bool
RemoveOperationFromCache(crate::unity_engine::resource_management::util::ioperationcachekey::IOperationCacheKey) overload
Sourcefn is_operation_cached(self, key: impl Into<IOperationCacheKey>) -> bool
fn is_operation_cached(self, key: impl Into<IOperationCacheKey>) -> bool
IsOperationCached(crate::unity_engine::resource_management::util::ioperationcachekey::IOperationCacheKey) overload
Sourcefn cached_operation_count(self) -> i32
fn cached_operation_count(self) -> i32
CachedOperationCount() overload
fn create_completed_operation<M0: IlType + Copy + ClassIdentity>( self, result: impl Into<M0>, error_msg: impl Into<Il2CppString>, ) -> AsyncOperationHandle_1<M0>
Sourcefn release(self, handle: impl Into<AsyncOperationHandle>)
fn release(self, handle: impl Into<AsyncOperationHandle>)
Release(crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle) overload
Sourcefn acquire(self, handle: impl Into<AsyncOperationHandle>)
fn acquire(self, handle: impl Into<AsyncOperationHandle>)
Acquire(crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle) overload
Sourcefn acquire_group_op_from_cache(
self,
key: impl Into<IOperationCacheKey>,
) -> GroupOperation
fn acquire_group_op_from_cache( self, key: impl Into<IOperationCacheKey>, ) -> GroupOperation
AcquireGroupOpFromCache(crate::unity_engine::resource_management::util::ioperationcachekey::IOperationCacheKey) overload
fn create_group_operation<M0: IlType + Copy + ClassIdentity>( self, locations: impl Into<IList_1_Interface<IResourceLocation>>, ) -> AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>
fn create_group_operation_2<M0: IlType + Copy + ClassIdentity>( self, locations: impl Into<IList_1_Interface<IResourceLocation>>, allow_failed_dependencies: impl Into<bool>, ) -> AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>
Sourcefn create_generic_group_operation(
self,
operations: impl Into<List_1<AsyncOperationHandle>>,
released_cached_op_on_complete: impl Into<bool>,
) -> AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>
fn create_generic_group_operation( self, operations: impl Into<List_1<AsyncOperationHandle>>, released_cached_op_on_complete: impl Into<bool>, ) -> AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>
CreateGenericGroupOperation(crate::system::collections::generic::list_1::List_1<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>, bool) overload
Sourcefn provide_resource_group_cached(
self,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
group_hash: impl Into<i32>,
desired_type: impl Into<SystemType>,
callback: impl Into<Action_1<AsyncOperationHandle>>,
release_dependencies_on_failure: impl Into<bool>,
) -> AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>
fn provide_resource_group_cached( self, locations: impl Into<IList_1_Interface<IResourceLocation>>, group_hash: impl Into<i32>, desired_type: impl Into<SystemType>, callback: impl Into<Action_1<AsyncOperationHandle>>, release_dependencies_on_failure: impl Into<bool>, ) -> AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>
ProvideResourceGroupCached(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>, i32, ::unity::SystemType, crate::system::action_1::Action_1<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>, bool) overload
fn provide_resources<M0: IlType + Copy + ClassIdentity>( self, locations: impl Into<IList_1_Interface<IResourceLocation>>, callback: impl Into<Action_1<M0>>, ) -> AsyncOperationHandle_1<IList_1_Interface<M0>>
fn provide_resources_2<M0: IlType + Copy + ClassIdentity>( self, locations: impl Into<IList_1_Interface<IResourceLocation>>, release_dependencies_on_failure: impl Into<bool>, callback: impl Into<Action_1<M0>>, ) -> AsyncOperationHandle_1<IList_1_Interface<M0>>
fn create_chain_operation<M0: IlType + Copy + ClassIdentity, M1: IlType + Copy + ClassIdentity>( self, dependent_op: impl Into<AsyncOperationHandle_1<M1>>, callback: impl Into<Func_2<AsyncOperationHandle_1<M1>, AsyncOperationHandle_1<M0>>>, ) -> AsyncOperationHandle_1<M0>
fn create_chain_operation_2<M0: IlType + Copy + ClassIdentity>( self, dependent_op: impl Into<AsyncOperationHandle>, callback: impl Into<Func_2<AsyncOperationHandle, AsyncOperationHandle_1<M0>>>, ) -> AsyncOperationHandle_1<M0>
fn create_chain_operation_3<M0: IlType + Copy + ClassIdentity, M1: IlType + Copy + ClassIdentity>( self, dependent_op: impl Into<AsyncOperationHandle_1<M1>>, callback: impl Into<Func_2<AsyncOperationHandle_1<M1>, AsyncOperationHandle_1<M0>>>, release_dependencies_on_failure: impl Into<bool>, ) -> AsyncOperationHandle_1<M0>
fn create_chain_operation_4<M0: IlType + Copy + ClassIdentity>( self, dependent_op: impl Into<AsyncOperationHandle>, callback: impl Into<Func_2<AsyncOperationHandle, AsyncOperationHandle_1<M0>>>, release_dependencies_on_failure: impl Into<bool>, ) -> AsyncOperationHandle_1<M0>
Sourcefn provide_scene(
self,
scene_provider: impl Into<ISceneProvider_Interface>,
location: impl Into<IResourceLocation>,
load_mode: impl Into<LoadSceneMode>,
activate_on_load: impl Into<bool>,
priority: impl Into<i32>,
) -> AsyncOperationHandle_1<SceneInstance>
fn provide_scene( self, scene_provider: impl Into<ISceneProvider_Interface>, 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::resource_providers::isceneprovider_interface::ISceneProvider_Interface, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::scene_management::loadscenemode::LoadSceneMode, bool, i32) overload
Sourcefn release_scene(
self,
scene_provider: impl Into<ISceneProvider_Interface>,
scene_load_handle: impl Into<AsyncOperationHandle_1<SceneInstance>>,
) -> AsyncOperationHandle_1<SceneInstance>
fn release_scene( self, scene_provider: impl Into<ISceneProvider_Interface>, scene_load_handle: impl Into<AsyncOperationHandle_1<SceneInstance>>, ) -> AsyncOperationHandle_1<SceneInstance>
ReleaseScene(crate::unity_engine::resource_management::resource_providers::isceneprovider_interface::ISceneProvider_Interface, crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance>) overload
Sourcefn provide_instance(
self,
provider: impl Into<IInstanceProvider_Interface>,
location: impl Into<IResourceLocation>,
instantiate_parameters: impl Into<InstantiationParameters>,
) -> AsyncOperationHandle_1<GameObject>
fn provide_instance( self, provider: impl Into<IInstanceProvider_Interface>, location: impl Into<IResourceLocation>, instantiate_parameters: impl Into<InstantiationParameters>, ) -> AsyncOperationHandle_1<GameObject>
ProvideInstance(crate::unity_engine::resource_management::resource_providers::iinstanceprovider_interface::IInstanceProvider_Interface, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters) overload
Sourcefn cleanup_scene_instances(self, scene: impl Into<Scene>)
fn cleanup_scene_instances(self, scene: impl Into<Scene>)
CleanupSceneInstances(crate::unity_engine::scene_management::scene::Scene) overload
Sourcefn execute_deferred_callbacks(self)
fn execute_deferred_callbacks(self)
ExecuteDeferredCallbacks() overload
Sourcefn register_for_deferred_callback(
self,
op: impl Into<IAsyncOperation>,
increment_ref_count: impl Into<bool>,
)
fn register_for_deferred_callback( self, op: impl Into<IAsyncOperation>, increment_ref_count: impl Into<bool>, )
RegisterForDeferredCallback(crate::unity_engine::resource_management::async_operations::iasyncoperation::IAsyncOperation, bool) 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: IResourceManager> IResourceManagerMethods for __T
unity_engine-resource_management-resourcemanager only.