Skip to main content

ITextAssetBundleMethods

Trait ITextAssetBundleMethods 

Source
pub trait ITextAssetBundleMethods: ITextAssetBundle {
    // Provided methods
    fn ctor(self, path: impl Into<Il2CppString>) { ... }
    fn on_load(self) { ... }
    fn on_unload(self) { ... }
    fn get_bytes(self) -> Array<u8> { ... }
    fn set_bytes(self, value: impl Into<Array<u8>>) { ... }
}

Provided Methods§

Source

fn ctor(self, path: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn on_load(self)

OnLoad() overload

Source

fn on_unload(self)

OnUnload() overload

Source

fn get_bytes(self) -> Array<u8>

get_Bytes() overload

Source

fn set_bytes(self, value: impl Into<Array<u8>>)

set_Bytes(::unity::Array<u8>) 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: ITextAssetBundle> ITextAssetBundleMethods for __T

Available on crate feature app-textassetbundle only.