Skip to main content

IVFXSpawnerCallbacksMethods

Trait IVFXSpawnerCallbacksMethods 

Source
pub trait IVFXSpawnerCallbacksMethods: IVFXSpawnerCallbacks {
    // Provided methods
    fn on_play(
        self,
        state: impl Into<VFXSpawnerState>,
        vfx_values: impl Into<VFXExpressionValues>,
        vfx_component: impl Into<VisualEffect>,
    ) { ... }
    fn on_update(
        self,
        state: impl Into<VFXSpawnerState>,
        vfx_values: impl Into<VFXExpressionValues>,
        vfx_component: impl Into<VisualEffect>,
    ) { ... }
    fn on_stop(
        self,
        state: impl Into<VFXSpawnerState>,
        vfx_values: impl Into<VFXExpressionValues>,
        vfx_component: impl Into<VisualEffect>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_play( self, state: impl Into<VFXSpawnerState>, vfx_values: impl Into<VFXExpressionValues>, vfx_component: impl Into<VisualEffect>, )

OnPlay(crate::unity_engine::vfx::vfxspawnerstate::VFXSpawnerState, crate::unity_engine::vfx::vfxexpressionvalues::VFXExpressionValues, crate::unity_engine::vfx::visualeffect::VisualEffect) overload

Source

fn on_update( self, state: impl Into<VFXSpawnerState>, vfx_values: impl Into<VFXExpressionValues>, vfx_component: impl Into<VisualEffect>, )

OnUpdate(crate::unity_engine::vfx::vfxspawnerstate::VFXSpawnerState, crate::unity_engine::vfx::vfxexpressionvalues::VFXExpressionValues, crate::unity_engine::vfx::visualeffect::VisualEffect) overload

Source

fn on_stop( self, state: impl Into<VFXSpawnerState>, vfx_values: impl Into<VFXExpressionValues>, vfx_component: impl Into<VisualEffect>, )

OnStop(crate::unity_engine::vfx::vfxspawnerstate::VFXSpawnerState, crate::unity_engine::vfx::vfxexpressionvalues::VFXExpressionValues, crate::unity_engine::vfx::visualeffect::VisualEffect) 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: IVFXSpawnerCallbacks> IVFXSpawnerCallbacksMethods for __T

Available on crate feature unity_engine-vfx-vfxspawnercallbacks only.