Skip to main content

IWeaponModelManagerMethods

Trait IWeaponModelManagerMethods 

Source
pub trait IWeaponModelManagerMethods: IWeaponModelManager {
    // Provided methods
    fn try_create_game_object(
        self,
        key: impl Into<i32>,
        name: impl Into<Il2CppString>,
        child: impl Into<Il2CppString>,
    ) -> GameObject { ... }
    fn show(self, iid: impl Into<Il2CppString>) { ... }
    fn show_2(self, root: impl Into<GameObject>) { ... }
    fn show_3(self, item: impl Into<ItemData>) { ... }
    fn hide(self) { ... }
    fn clear(self) { ... }
    fn on_destroy(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn try_create_game_object( self, key: impl Into<i32>, name: impl Into<Il2CppString>, child: impl Into<Il2CppString>, ) -> GameObject

TryCreateGameObject(i32, ::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn show(self, iid: impl Into<Il2CppString>)

Show(::unity::Il2CppString) overload

Source

fn show_2(self, root: impl Into<GameObject>)

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

Source

fn show_3(self, item: impl Into<ItemData>)

Show(crate::app::itemdata::ItemData) overload

Source

fn hide(self)

Hide() overload

Source

fn clear(self)

Clear() overload

Source

fn on_destroy(self)

OnDestroy() 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: IWeaponModelManager> IWeaponModelManagerMethods for __T

Available on crate feature app-weaponmodelmanager only.