If statement

 avatar
unknown
csharp
2 years ago
156 B
4
Indexable
if (theAttrib != null && !string.IsNullOrEmpty(theAttrib.ElementName))
{
    return theAttrib.ElementName;
}
else
{
    return serializedObjectType.Name;
}
Editor is loading...