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

Answer by andresp

Create an editor script containing this: using UnityEditor; public class FBXScaleFix : AssetPostprocessor { public void OnPreprocessModel() { ModelImporter modelImporter = (ModelImporter)...

View Article



Answer by andresp

Yes. If you are concerned about performance it is better to disable the entire GUI entity itself ([Source][1]). [1]: http://www.mindthecube.com/blog/2010/09/avoiding-performance-cost-of-ongui

View Article

Answer by andresp

add this to your code:// do something yield WaitForSeconds(3.0); // wait for 3 seconds // do something more...SourceEDIT - C# Example:using UnityEngine; using System.Collections; public class test :...

View Article

Answer by andresp

there is no need to use "magic numbers" and trial and error here if you use GetPixelBilinear function instead of GetPixel: if (GUI.RepeatButton(new Rect(beginX, beginY, dimX, dimY),...

View Article

Answer by andresp

Make sure you are saving the file in UTF8 without BOM (Byte Order Mark).

View Article


Answer by andresp

Make sure you are saving the file in UTF8 without BOM (Byte Order Mark)

View Article

Answer by andresp

Start the folder name with a dot ".". Unity ignores folders (and files) starting with "." (e.g. .svn, .git...).

View Article
Browsing latest articles
Browse All 14 View Live




Latest Images