pub trait IResourceCacheMethods: IResourceCache {
// Provided methods
fn awake(self) { ... }
fn on_destroy(self) { ... }
fn create(self, asset_path: impl Into<Il2CppString>) -> ResourceHandle_2 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn on_destroy(self)
fn on_destroy(self)
OnDestroy() overload
Sourcefn create(self, asset_path: impl Into<Il2CppString>) -> ResourceHandle_2
fn create(self, asset_path: impl Into<Il2CppString>) -> ResourceHandle_2
Create(::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: IResourceCache> IResourceCacheMethods for __T
Available on crate feature
combat-resourcecache only.