Skip to main content

IEffectShootMethods

Trait IEffectShootMethods 

Source
pub trait IEffectShootMethods: IEffectShoot {
    // Provided methods
    fn update(self) { ... }
    fn shoot(self) { ... }
    fn shoot_2(
        self,
        start: impl Into<Vector3>,
        goal: impl Into<Vector3>,
        time: impl Into<f32>,
        callback: impl Into<EffectShoot_Callback>,
    ) { ... }
    fn set_loop(self, enable: impl Into<bool>) { ... }
    fn stop(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn update(self)

Update() overload

Source

fn shoot(self)

Shoot() overload

Source

fn shoot_2( self, start: impl Into<Vector3>, goal: impl Into<Vector3>, time: impl Into<f32>, callback: impl Into<EffectShoot_Callback>, )

Shoot(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, f32, crate::app::effectshoot::EffectShoot_Callback) overload

Source

fn set_loop(self, enable: impl Into<bool>)

SetLoop(bool) overload

Source

fn stop(self)

Stop() 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: IEffectShoot> IEffectShootMethods for __T

Available on crate feature app-effectshoot only.