Exemple #1
0
 public static void ShowWindow()
 {
     if (instance == null)
     {
         var window = GetWindow <JSDicCompare>(false, "JSDicCompare", true);
         window.minSize = new Vector2(872f, 680f);
         window.Show();
     }
     else
     {
         instance.Close();
         instance = null;
     }
 }
Exemple #2
0
 private void OnEnable()
 {
     instance = this;
 }