pub trait ISpriteManagerMethods: ISpriteManager {
// Provided methods
fn ctor(self) { ... }
fn load(self, path: impl Into<Il2CppString>) { ... }
fn unload(self) { ... }
fn get(self, name: impl Into<Il2CppString>) -> Sprite { ... }
fn try_get(self, name: impl Into<Il2CppString>) -> Sprite { ... }
}Provided Methods§
Sourcefn load(self, path: impl Into<Il2CppString>)
fn load(self, path: impl Into<Il2CppString>)
Load(::unity::Il2CppString) overload
Sourcefn get(self, name: impl Into<Il2CppString>) -> Sprite
fn get(self, name: impl Into<Il2CppString>) -> Sprite
Get(::unity::Il2CppString) overload
Sourcefn try_get(self, name: impl Into<Il2CppString>) -> Sprite
fn try_get(self, name: impl Into<Il2CppString>) -> Sprite
TryGet(::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: ISpriteManager> ISpriteManagerMethods for __T
Available on crate feature
app-spritemanager only.