MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnDisable

Method OnDisable

Source/Engine/Particles/ParticleEffect.cpp:815–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813}
814
815void ParticleEffect::OnDisable()
816{
817#if USE_EDITOR
818 GetScene()->Ticking.Update.RemoveTickExecuteInEditor(this);
819 GetSceneRendering()->RemoveViewportIcon(this);
820#endif
821 GetSceneRendering()->RemoveActor(this, _sceneRenderingKey);
822 GetScene()->Ticking.Update.RemoveTick(this);
823
824 // Base
825 Actor::OnDisable();
826}
827
828void ParticleEffect::OnActiveInTreeChanged()
829{

Callers

nothing calls this directly

Calls 5

GetSceneFunction · 0.85
RemoveTickMethod · 0.80
OnDisableFunction · 0.50
RemoveActorMethod · 0.45

Tested by

no test coverage detected