///<summary> /// Metoda Laboratorium_Click otwierająca interfejs LaboratoriumWindow /// po kliknięciu Laboratorium_Click ///</summary> private void Laboratorium_Click(object sender, RoutedEventArgs e) { LabWindow objLabWindow = new LabWindow(); this.Visibility = Visibility.Hidden; objLabWindow.Show(); }
private void OnEnable() { titleContent = new GUIContent("lab"); titleContent.image = (Texture2D)EditorGUIUtility.Load("Assets/lab/Icons/32x32/lab.png"); Init(); gWindow = this; }
public static void ShowEditor() { gWindow = EditorWindow.GetWindow<LabWindow>(); }
private void OnEnable() { titleContent = new GUIContent("lab"); titleContent.image = (Texture2D)EditorGUIUtility.Load("Assets/lab/Icons/32x32/lab.png"); Init(); gWindow = this; }
public static void ShowEditor() { gWindow = EditorWindow.GetWindow <LabWindow>(); }