public WorldPresetScreen(WorldGraphEditor worldGraphEditor, bool loadStyle = true) { this.worldGraphEditor = worldGraphEditor; LoadPresetList(LoadPresetBoard()); if (loadStyle) { LoadStyle(); } }
static void Init() { WorldGraphEditor window = EditorWindow.GetWindow <WorldGraphEditor>("World Graph"); window.Show(); }