Exemple #1
0
 public static T GetAttribute <T>(this SerializedProperty property) where T : Attribute
 {
     return(ReflectionUtility.GetField(GetTargetObject(property), property.name).GetCustomAttribute <T>(true));
 }