Skip to main content

IAdhocAssetLoader_AssetMethods

Trait IAdhocAssetLoader_AssetMethods 

Source
pub trait IAdhocAssetLoader_AssetMethods: IAdhocAssetLoader_Asset {
    // Provided methods
    fn get_name_hash(self) -> i32 { ... }
    fn set_name_hash(self, value: impl Into<i32>) { ... }
    fn get_addressable_path(self) -> Il2CppString { ... }
    fn set_addressable_path(self, value: impl Into<Il2CppString>) { ... }
    fn get_prefab(self) -> GameObject { ... }
    fn set_prefab(self, value: impl Into<GameObject>) { ... }
    fn is(self, hash: impl Into<i32>) -> bool { ... }
    fn ctor(self, name: impl Into<Il2CppString>, hash: impl Into<i32>) { ... }
    fn load(self) { ... }
    fn is_ready(self) -> bool { ... }
    fn dispose(self) { ... }
}

Provided Methods§

Source

fn get_name_hash(self) -> i32

get_NameHash() overload

Source

fn set_name_hash(self, value: impl Into<i32>)

set_NameHash(i32) overload

Source

fn get_addressable_path(self) -> Il2CppString

get_AddressablePath() overload

Source

fn set_addressable_path(self, value: impl Into<Il2CppString>)

set_AddressablePath(::unity::Il2CppString) overload

Source

fn get_prefab(self) -> GameObject

get_Prefab() overload

Source

fn set_prefab(self, value: impl Into<GameObject>)

set_Prefab(crate::unity_engine::gameobject::GameObject) overload

Source

fn is(self, hash: impl Into<i32>) -> bool

Is(i32) overload

Source

fn ctor(self, name: impl Into<Il2CppString>, hash: impl Into<i32>)

.ctor(::unity::Il2CppString, i32) overload

Source

fn load(self)

Load() overload

Source

fn is_ready(self) -> bool

IsReady() overload

Source

fn dispose(self)

Dispose() 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: IAdhocAssetLoader_Asset> IAdhocAssetLoader_AssetMethods for __T

Available on crate feature combat-adhocassetloader only.