pub trait IDynamicResourceLocatorMethods: IDynamicResourceLocator {
// Provided methods
fn get_locator_id(self) -> Il2CppString { ... }
fn get_keys(self) -> IEnumerable_1<Object> { ... }
fn get_atlas_sprite_provider_id(self) -> Il2CppString { ... }
fn ctor(self, addr: impl Into<AddressablesImpl>) { ... }
fn locate(
self,
key: impl Into<Object>,
type: impl Into<SystemType>,
) -> (bool, IList_1_Interface<IResourceLocation>) { ... }
fn create_dynamic_locations(
self,
type: impl Into<SystemType>,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
loc_name: impl Into<Il2CppString>,
sub_key: impl Into<Il2CppString>,
main_loc: impl Into<IResourceLocation>,
) { ... }
}Provided Methods§
Sourcefn get_locator_id(self) -> Il2CppString
fn get_locator_id(self) -> Il2CppString
get_LocatorId() overload
Sourcefn get_keys(self) -> IEnumerable_1<Object>
fn get_keys(self) -> IEnumerable_1<Object>
get_Keys() overload
Sourcefn get_atlas_sprite_provider_id(self) -> Il2CppString
fn get_atlas_sprite_provider_id(self) -> Il2CppString
get_AtlasSpriteProviderId() overload
Sourcefn ctor(self, addr: impl Into<AddressablesImpl>)
fn ctor(self, addr: impl Into<AddressablesImpl>)
.ctor(crate::unity_engine::addressable_assets::addressablesimpl::AddressablesImpl) overload
Sourcefn locate(
self,
key: impl Into<Object>,
type: impl Into<SystemType>,
) -> (bool, IList_1_Interface<IResourceLocation>)
fn locate( self, key: impl Into<Object>, type: impl Into<SystemType>, ) -> (bool, IList_1_Interface<IResourceLocation>)
Locate(crate::system::object::Object, ::unity::SystemType, *mutcrate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>) overload
Sourcefn create_dynamic_locations(
self,
type: impl Into<SystemType>,
locations: impl Into<IList_1_Interface<IResourceLocation>>,
loc_name: impl Into<Il2CppString>,
sub_key: impl Into<Il2CppString>,
main_loc: impl Into<IResourceLocation>,
)
fn create_dynamic_locations( self, type: impl Into<SystemType>, locations: impl Into<IList_1_Interface<IResourceLocation>>, loc_name: impl Into<Il2CppString>, sub_key: impl Into<Il2CppString>, main_loc: impl Into<IResourceLocation>, )
CreateDynamicLocations(::unity::SystemType, crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>, ::unity::Il2CppString, ::unity::Il2CppString, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation) 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: IDynamicResourceLocator> IDynamicResourceLocatorMethods for __T
unity_engine-addressable_assets-dynamicresourcelocator only.