Inheritance: EditorWindow
				public static void Init (Level lvl, string lvlTitle, int NOR, int NOC)
				{
						levelTitle = lvlTitle;
						numberOfRows = NOR;
						numberOfColumns = NOC;
						level = lvl;
						window = (GridWindowEditor)EditorWindow.GetWindow (typeof(GridWindowEditor));
						window.title = levelTitle;
				}
Beispiel #2
0
 public static void Init(Level lvl, string lvlTitle, int NOR, int NOC)
 {
     levelTitle      = lvlTitle;
     numberOfRows    = NOR;
     numberOfColumns = NOC;
     level           = lvl;
     window          = (GridWindowEditor)EditorWindow.GetWindow(typeof(GridWindowEditor));
     window.title    = levelTitle;
 }