pub trait IShopWeaponModelRendererMethods: IShopWeaponModelRenderer {
// Provided methods
fn create_internal(self) { ... }
fn destroy(self) { ... }
fn get_render_texture(self) -> RenderTexture { ... }
fn set_weapon(
self,
item_data: impl Into<ItemData>,
delay_loading: impl Into<bool>,
) { ... }
fn load_weapon_model(self, item_data: impl Into<ItemData>) { ... }
fn on_finish_loading_weapon(self, game_object_in: impl Into<GameObject>) { ... }
fn remove_weapon(self) { ... }
fn remove_weapon_core(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn create_internal(self)
fn create_internal(self)
CreateInternal() overload
Sourcefn get_render_texture(self) -> RenderTexture
fn get_render_texture(self) -> RenderTexture
GetRenderTexture() overload
Sourcefn set_weapon(
self,
item_data: impl Into<ItemData>,
delay_loading: impl Into<bool>,
)
fn set_weapon( self, item_data: impl Into<ItemData>, delay_loading: impl Into<bool>, )
SetWeapon(crate::app::itemdata::ItemData, bool) overload
Sourcefn load_weapon_model(self, item_data: impl Into<ItemData>)
fn load_weapon_model(self, item_data: impl Into<ItemData>)
LoadWeaponModel(crate::app::itemdata::ItemData) overload
Sourcefn on_finish_loading_weapon(self, game_object_in: impl Into<GameObject>)
fn on_finish_loading_weapon(self, game_object_in: impl Into<GameObject>)
OnFinishLoadingWeapon(crate::unity_engine::gameobject::GameObject) overload
Sourcefn remove_weapon(self)
fn remove_weapon(self)
RemoveWeapon() overload
Sourcefn remove_weapon_core(self)
fn remove_weapon_core(self)
RemoveWeaponCore() 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: IShopWeaponModelRenderer> IShopWeaponModelRendererMethods for __T
Available on crate feature
app-shopweaponmodelrenderer only.