- Home /
Unity Custom Editor window keeps showing up blank
I Can't get my code to show anything in the Editor window I made. I have searched and searched but I can't find the problem. Can you guys figure it out? Btw im using UnityScript.
#pragma strict
import System.IO;
// This script will generate folders
var numberOfFolders : int = 1;
var folderName = new Array(numberOfFolders);
class FolderMaker extends EditorWindow
{
@MenuItem("Project Tools/ Create Many Folders")
static function ShowWindow ()
{
EditorWindow.GetWindow (FolderMaker);
}
function OnGui()
{
GUILayout.TextField ("Base Settings");
numberOfFolders = EditorGUILayout.IntField ("NumberOfFolders", numberOfFolders);
}
}
Comment
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
[Unity Editor] Emulate Touch Input - Still Asking 12/10 1 Answer
The parallel function to Selection.activeObject in the Inspector? 0 Answers
Find instance of EditorWindow without creating new one? 2 Answers
Object2Terrain error/wont work. 1 Answer