static void Init() { NewSceneCreator window = GetWindow <NewSceneCreator>(); window.Show(); window.newSceneName = "NewScene"; }
static void init() { NewSceneCreator window = GetWindowWithRect <NewSceneCreator>(new Rect(200, 100, 300, 110)); window.Show(); }