/Engine/Source/Editor/MovieSceneTools/Public/MovieSceneEventUtils.h
Remove unused custom events (that don't have corresponding event end points in the given event sections)
static void RemoveUnusedCustomEvents ( const [TArray](API\Runtime\Core\Containers\TArray)< [TWeakObjectPtr](API\Runtime\Core\UObject\TWeakObjectPtr)< [UMovieSceneEventSectionBase](API\Runtime\MovieSceneTracks\Sections\UMovieSceneEventSectionBase) >> & EventSections, [UBlueprint](API\Runtime\Engine\Engine\UBlueprint) * DirectorBP )