Efficiently retrieve all objects with certain tag

Gama97
Tue, 26 Jul 2016 18:47:56 +0000
C++

Hey so for the game I’m making I wanted to be able to activate/deactivate certain objects upon button press assuming they have a certain tag. I’ve had a look through some answers but the consensus seems to be that tags aren’t greatly efficient at the moment and I didn’t end up finding any solutions. Therefore I was wondering whether anyone could either providing an alternative approach to this or an example of how to retrieve objects with a certain tag in C++. All help appreciated, thanks!

2 posts - 1 participant