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§
Sourcefn on_play(
self,
state: impl Into<VFXSpawnerState>,
vfx_values: impl Into<VFXExpressionValues>,
vfx_component: impl Into<VisualEffect>,
)
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
Sourcefn on_update(
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>, )
OnUpdate(crate::unity_engine::vfx::vfxspawnerstate::VFXSpawnerState, crate::unity_engine::vfx::vfxexpressionvalues::VFXExpressionValues, crate::unity_engine::vfx::visualeffect::VisualEffect) overload
Sourcefn on_stop(
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>, )
OnStop(crate::unity_engine::vfx::vfxspawnerstate::VFXSpawnerState, crate::unity_engine::vfx::vfxexpressionvalues::VFXExpressionValues, crate::unity_engine::vfx::visualeffect::VisualEffect) 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: IVFXSpawnerCallbacks> IVFXSpawnerCallbacksMethods for __T
Available on crate feature
unity_engine-vfx-vfxspawnercallbacks only.