UnityEditor.ASEditorBackend.SettingsAreValid C# (CSharp) Method

SettingsAreValid() public static method

public static SettingsAreValid ( ) : bool
return bool
        public static bool SettingsAreValid()
        {
            PListConfig config = new PListConfig("Library/ServerPreferences.plist");
            string str = config["Maint UserName"];
            string str2 = config["Maint Server"];
            string str3 = config["Maint database name"];
            string str4 = config["Maint Timeout"];
            string str5 = config["Maint port number"];
            return ((((str.Length != 0) && (str2.Length != 0)) && ((str3.Length != 0) && (str4.Length != 0))) && (str5.Length != 0));
        }

Usage Example

示例#1
0
 internal static bool IsAssetServerSetUp()
 {
     if (InternalEditorUtility.HasTeamLicense())
     {
         return(ASEditorBackend.SettingsAreValid());
     }
     return(false);
 }
All Usage Examples Of UnityEditor.ASEditorBackend::SettingsAreValid