Prefab of a prefab?
Let's say I make a projectile prefab. The prefab gets instantiated in code. It has all kinds of components attached to it with all kinds of tweaked values. Now I want to have another prefab with all...
View ArticleProject panel GameObject hierarchy max depth?
In the hierarchy view, you can expand gameobjects to an unlimited depth. However it seems that the project panel is limited to just a game object and its immediate sub-objects. Any way to make the...
View ArticleUnity stopped compiling automatically
All of the sudden, Unity stopped automatically compiling my scripts. I tried uninstalling and reinstalling Unity. I tried deleting and re-syncing the entire project. Nothing works, any code changes I...
View ArticleAny way to set the ZW part of a dynamic mesh's UVs?
Unity lets you set the Vector2 UV's for each vertex for a mesh (Mesh.uv). However in shaders the UVs are passed in as float4's, where the xy components are the UV coordinates you give and the zw...
View Article