Quantcast
Channel: Answers by "knowpixels"
Browsing latest articles
Browse All 14 View Live

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 Article



Answer 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 Article

Answer 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 Article

Answer 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 Article

Answer 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 Article


Answer 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 Article

Answer 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
Browsing latest articles
Browse All 14 View Live




Latest Images