Esempio n. 1
0
		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();
			}
		}
Esempio n. 2
0
 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();
     }
 }