Exemple #1
0
 protected override void DrawInterface()
 {
     EditorGUILayout.BeginHorizontal();
     if (_savesModule == null)
     {
         if (!_checked)
         {
             GUILayout.Label("Checking...");
             Check(false);
             _checked = true;
         }
         else
         {
             GUILayout.Label("Saves not existed");
             if (EditorGUIUtils.RefreshButton())
             {
                 Check(true);
             }
         }
     }
     else
     {
         GUILayout.Label("Saves module created!");
     }
     EditorGUILayout.EndHorizontal();
 }