Quantcast
Channel: Latest Questions by Veehmot
Viewing all articles
Browse latest Browse all 38

Make GameObject not selectable on Editor Mode

$
0
0
I have a **GameObject** that contains a *child* **GameObject** (which has the mesh information). Whenever I select the visible **GameObject**, the *child* is automatically selected, but I want the *parent* to be the one being selected. Why I'm doing that instead of directly using the *child* object is because I don't like the **MeshFilter** and **MeshRenderer** components being visible. The parent **GameObject** has none of those scripts. So, I want to **hide** information. If that isn't possible, is there a way to attach *mesh* information to a **GameObject** without using the **MeshFilter** component? ![alt text][1] [1]: http://i.imgur.com/WfY9q.png

Viewing all articles
Browse latest Browse all 38

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>