Exemplo n.º 1
0
 public static void CloseWindow()
 {
     if (s_GradientPicker != null)
     {
         s_GradientPicker.Close();
         GUIUtility.ExitGUI();
     }
 }
Exemplo n.º 2
0
        public static void CloseWindow()
        {
            if (s_GradientPicker == null)
            {
                return;
            }

            s_GradientPicker.UnregisterEvents();
            s_GradientPicker.Close();
            GUIUtility.ExitGUI();
        }