Hi, Is there a way I can put a scripting component (attached to gameObject) in a specified layer? To clarifiy, the GameObject (and its heirarchy) is put into a layer with the respective script. On another note, since I need to raycast the name bubble (to prevent its display text on other side of solid objects), could I use a raycasting technique to render ONLY texts in specified layers? Need some help please, Happy programming!
The way that I am thinking about is just iterating through the name bubbles that we want to turn off (when we want to turn them off) - which works. However, I am giving a look to this article: http://docs.unity3d.com/Documentation/Components/Layers.html Which could possibly simply the process. However, when attached to the main camera its not working as I intend - working on it.