If statement

Anonymous
csharp
10/03/2023 12:22 PM
208 B
25
Indexable
if (theAttrib != null && !string.IsNullOrEmpty(theAttrib.ElementName))
{
    return theAttrib.ElementName;
}
else
{
    return serializedObjectType.Name;
}
Editor is loading...