pub trait IAdhocAssetLoaderMethods: IAdhocAssetLoader {
// Provided methods
fn on_destroy(self) { ... }
fn get_item(self, path: impl Into<Il2CppString>) -> GameObject { ... }
fn add(self, name: impl Into<Il2CppString>) { ... }
fn preload(self) { ... }
fn is_ready(self) -> bool { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn on_destroy(self)
fn on_destroy(self)
OnDestroy() overload
Sourcefn get_item(self, path: impl Into<Il2CppString>) -> GameObject
fn get_item(self, path: impl Into<Il2CppString>) -> GameObject
get_Item(::unity::Il2CppString) overload
Sourcefn add(self, name: impl Into<Il2CppString>)
fn add(self, name: impl Into<Il2CppString>)
Add(::unity::Il2CppString) 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: IAdhocAssetLoader> IAdhocAssetLoaderMethods for __T
Available on crate feature
combat-adhocassetloader only.