Answer by knowpixels
Hi p_unity, I had some trouble finding GUITexture & GUIText relative position and size examples using transform position properties between 0 and 1 in the documentation too. I add GUIText and...
View ArticleAnswer by knowpixels
You can slice the "materials" array when changing offset/scale for textures: The above lines : renderer.material[3].SetTextureOffset ("_MainTex", offset); renderer.material[3].SetTextureScale...
View ArticleAnswer by knowpixels
There are 2 types of Arrays in Unity Script. ---------------------------------------------------------------------- The "Built In" arrays, such as Vector3[] and GameObject[]. These builtin arrays run...
View ArticleAnswer by knowpixels
Unity 3.x - 4.5 can not alter WindZone script properties at run time under JS/US strict typing (#pragma strict). If you want this to work use dynamic typing: 1. so remove #pragma strict from top of...
View ArticleAnswer by knowpixels
The WindZone DataType is private in Unity as of 3.x - this is still true as of 4.5.x This means you cannot access its properties using strict typing (#pragma strict) and typeof(). So if you try...
View ArticleAnswer by knowpixels
The WindZone DataType is private in Unity as of 3.x - this is still true as of 4.5.x This means you cannot access its properties using strict typing (#pragma strict) and typeof(). So if you try...
View ArticleAnswer by knowpixels
You dont need to hack around with reflections if you understand Unity typing paradigms. The WindZone DataType is private in Unity as of 3.x - this is still true as of 4.5.x This means you cannot access...
View Article
More Pages to Explore .....