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; }
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; }