Skip to content

Filtering options with tags #2

@PereViader

Description

@PereViader

Add new functionality to filter possible serialized types

interface IInterface
{
}

[SelectImplementationTag("Potato")]
class A : IInterface
{
}

[SelectImplementationTag("Banana")]
class B : IInterface
{
}



public SomeClass : MonoBehaviour
{

    [SelectImplementation(typeof(IA), include: new [] { "Potato" })]

    public IInterface value = default;

}

should only display A as an option. If include was left null (default value) the default behaviour is to display them all

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions