private void Initialize(SerializedProperty property) { SubclassSelectorAttribute utility = (SubclassSelectorAttribute)attribute; GetAllInheritedTypes(GetFieldType(property), utility.IsIncludeMono()); GetInheritedTypeNameArrays(); }
private void Initialize(SerializedProperty property) { SubclassSelectorAttribute utility = (SubclassSelectorAttribute)attribute; var type = utility.Type(); if (type == null) { type = GetType(property); } GetAllInheritedTypes(type, utility.IsIncludeMono()); GetInheritedTypeNameArrays(); }