pub trait ILegacyResourcesLocatorMethods: ILegacyResourcesLocator {
// Provided methods
fn locate(
self,
key: impl Into<Object>,
type: impl Into<SystemType>,
) -> (bool, IList_1_Interface<IResourceLocation>) { ... }
fn get_keys(self) -> IEnumerable_1<Object> { ... }
fn get_locator_id(self) -> Il2CppString { ... }
fn ctor(self) { ... }
}Provided Methods§
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 get_keys(self) -> IEnumerable_1<Object>
fn get_keys(self) -> IEnumerable_1<Object>
get_Keys() overload
Sourcefn get_locator_id(self) -> Il2CppString
fn get_locator_id(self) -> Il2CppString
get_LocatorId() 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: ILegacyResourcesLocator> ILegacyResourcesLocatorMethods for __T
Available on crate feature
unity_engine-addressable_assets-resource_locators-legacyresourceslocator only.