- Home /
Misplaced Audio Source
I have an audio source that plays some music presently, and I cannot for the life of me remember which game object it is on in the scene(/hierarchy). It is a very large scene and it doesn't seem to be in any of the obvious places. Is there any way I can search for component types on objects in the hierarchy?
I once wrote such a editor script, that let you define the component to search for. Let me see if I can pull it up by tomorrow, if you haven't got a solid answer by then :S
That would be perfect, and an excellent tool besides. $$anonymous$$uch obliged if you can get it. :D
Answer by DaveA · Mar 09, 2011 at 11:14 PM
You may be looking for this: http://www.unifycommunity.com/wiki/index.php?title=FindObjects
Hehe, and I had just written a code similar to this one, inspired by Statement. Its quite lighter, and in JS, if anyone wants it. It could be improved but meh, its a 9 $$anonymous$$utes exercise.
Excellent, and thank you. I agree with putting the JS one up as well.
Your answer

Follow this Question
Related Questions
Search button filter 1 Answer
Find which scripts public variables appear in? 1 Answer
Search value in XML 2 Answers
Can I find all references to a specified game object? 0 Answers