Forge/Editor/PrefabInspector.cs
/// <summary>
/// Returns true if the two strings are equal. Treats null and "" as equal.
/// </summary>
Returns true if the two strings are equal. Treats null and "" as equal.
Returns true if the two strings are equal . Treats null and " " as equal .
private static bool AreStringsEqual(string a, string b) {
            if (string.IsNullOrEmpty(a) && string.IsNullOrEmpty(b)) {
                return true;
            }
            return a == b;
        }
private static bool AreStringsEqual ( string a , string b ) { if ( string . IsNullOrEmpty ( a ) && string . IsNullOrEmpty ( b ) ) { return true ; } return a == b ; }
Returns true if the two strings are equal.
Returns true if the two strings are equal .
a
string
b
string