I have a static class that manages things in my game. Actors add themselves to it. I want clean up to be automatic such that when an actor adds itself it doesn’t then need to remove itself when it’s destroyed.
in my addActorFucntion I want to bind one of the static class function to the added actor’s OnDestroy.