Example #1
0
    static public void OpenNGUIChecker()
    {
        NGUIChecker window = EditorWindow.GetWindow <NGUIChecker>(false, "NGUI Checker");

        window.minSize = window.maxSize = new Vector2(DefaultWidth, DefaultHeight);
        window.Show();
    }
Example #2
0
 void OnDisable()
 {
     instance = null;
 }
Example #3
0
 void OnEnable()
 {
     instance = this;
 }