Inheritance: EditorWindow
Exemple #1
0
        ///<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();
        }
Exemple #2
0
 private void OnEnable()
 {
     titleContent       = new GUIContent("lab");
     titleContent.image = (Texture2D)EditorGUIUtility.Load("Assets/lab/Icons/32x32/lab.png");
     Init();
     gWindow = this;
 }
Exemple #3
0
 public static void ShowEditor()
 {
     gWindow = EditorWindow.GetWindow<LabWindow>();
 }
Exemple #4
0
 private void OnEnable()
 {
     titleContent = new GUIContent("lab");
     titleContent.image = (Texture2D)EditorGUIUtility.Load("Assets/lab/Icons/32x32/lab.png");
     Init();
     gWindow = this;
 }
Exemple #5
0
 public static void ShowEditor()
 {
     gWindow = EditorWindow.GetWindow <LabWindow>();
 }