Optimize Actor::DestroyChildren

This commit is contained in:
Wojtek Figat
2025-06-20 09:05:25 +02:00
parent 2e10d776e9
commit d3a50cdacb
6 changed files with 124 additions and 4 deletions

View File

@@ -549,7 +549,13 @@ private:
OnActorOrderInParentChanged = 3,
OnActorNameChanged = 4,
OnActorActiveChanged = 5,
#if USE_EDITOR
OnActorDestroyChildren = 6,
#endif
};
static void callActorEvent(ActorEventType eventType, Actor* a, Actor* b);
#if USE_EDITOR
API_EVENT(Internal) static Delegate<Actor*> ActorDestroyChildren;
#endif
};