static string FetchName(SerializedProperty property) { var depProperty = property.FindPropertyRelative(SceneTemplateUtils.DependencyPropertyName); var refValue = depProperty.objectReferenceValue; return(EditorGUIUtility.GetObjectNameWithInfo(refValue).ToLowerInvariant()); }