- Home /
Is GameObject.FindWithTag Bad for Mobile Platforming?
The title says it all. Is GameObject.FindWithTag bad for Mobile gaming? I am making my first mobile game. I am making a tower defense game that will be universal on Android and IOS, Phones and Tablets.
Also does anyone have any extra tips?
Answer by Yinja · Aug 13, 2014 at 03:08 AM
Using GameObject.FindWithTag() isn't going to break your game on mobile platforms. GameObject.Find() performs even worse. Also depending how many gameobjects are in your scene will determine how costly a search can be. Tip: Cache the results, so you don't have to search for it again.
Your answer
Follow this Question
Related Questions
Is it possible to send SMS from an action in Unity? (Mobile iOS or Android) 1 Answer
Native list views on Mobile? 0 Answers
Unity 5 mobile single stick control 6 Answers
Different animations on mobile 0 Answers
Mecanim for Mobile Devices 2 Answers