Skip to main content

IResourceCacheMethods

Trait IResourceCacheMethods 

Source
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§

Source

fn awake(self)

Awake() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn create(self, asset_path: impl Into<Il2CppString>) -> ResourceHandle_2

Create(::unity::Il2CppString) overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IResourceCache> IResourceCacheMethods for __T

Available on crate feature combat-resourcecache only.