static void CreateSymbolsWindow() { if (Instance == null) { Instance = (SymbolsWindow)EditorWindow.GetWindow<SymbolsWindow>("Symbols", true); Instance.position = new Rect(Screen.currentResolution.width / 2 - 121, Screen.currentResolution.height / 2 - 167, 275, 335); Instance.minSize = new Vector2(275, 335); Instance.BuildSymbolsDict(); } }
static void CreateSymbolsWindow() { if (Instance == null) { Instance = (SymbolsWindow)EditorWindow.GetWindow <SymbolsWindow>("Symbols", true); Instance.position = new Rect(Screen.currentResolution.width / 2 - 121, Screen.currentResolution.height / 2 - 167, 275, 335); Instance.minSize = new Vector2(275, 335); Instance.BuildSymbolsDict(); } }