Created
June 16, 2015 14:10
-
-
Save sephirot47/7bc296d708c0895b8f48 to your computer and use it in GitHub Desktop.
UE4 Get ALL Actors in the level
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//For every actor in this level... | |
for (TActorIterator<AActor> actor(GetWorld()); actor; ++actor) | |
{ | |
//Do whatever you want with your actor | |
actor->BlahBlah(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment