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§
Sourcefn get_name_hash(self) -> i32
fn get_name_hash(self) -> i32
get_NameHash() overload
Sourcefn set_name_hash(self, value: impl Into<i32>)
fn set_name_hash(self, value: impl Into<i32>)
set_NameHash(i32) overload
Sourcefn get_addressable_path(self) -> Il2CppString
fn get_addressable_path(self) -> Il2CppString
get_AddressablePath() overload
Sourcefn set_addressable_path(self, value: impl Into<Il2CppString>)
fn set_addressable_path(self, value: impl Into<Il2CppString>)
set_AddressablePath(::unity::Il2CppString) overload
Sourcefn get_prefab(self) -> GameObject
fn get_prefab(self) -> GameObject
get_Prefab() overload
Sourcefn set_prefab(self, value: impl Into<GameObject>)
fn set_prefab(self, value: impl Into<GameObject>)
set_Prefab(crate::unity_engine::gameobject::GameObject) overload
Sourcefn ctor(self, name: impl Into<Il2CppString>, hash: impl Into<i32>)
fn ctor(self, name: impl Into<Il2CppString>, hash: impl Into<i32>)
.ctor(::unity::Il2CppString, i32) 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: IAdhocAssetLoader_Asset> IAdhocAssetLoader_AssetMethods for __T
Available on crate feature
combat-adhocassetloader only.