Download

Actor's lifecycle in editor?

This page here covers the Actor lifecycle: https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Actors/ActorLifecycle/index.html

However it doesn’t seem to apply to the actor’s lifecycle while in the editor? I don’t mean PIE I mean just normal editor work. For example, I tried overriding the PreInitializeComponents() function which according to the chart should be called regardless of the “path” the Actor takes, but it doesn’t seem to get called.

What functions should I be using during editor work for setup and tear down of Actors? Like when an artist drags it off the build panel, or deletes it from the scene?