コード例 #1
0
    private void Initialize(SerializedProperty property)
    {
        SubclassSelectorAttribute utility = (SubclassSelectorAttribute)attribute;

        GetAllInheritedTypes(GetFieldType(property), utility.IsIncludeMono());
        GetInheritedTypeNameArrays();
    }
コード例 #2
0
    private void Initialize(SerializedProperty property)
    {
        SubclassSelectorAttribute utility = (SubclassSelectorAttribute)attribute;
        var type = utility.Type();

        if (type == null)
        {
            type = GetType(property);
        }
        GetAllInheritedTypes(type, utility.IsIncludeMono());
        GetInheritedTypeNameArrays();
    }