Attributes

Table of Content

Table of Content

Table of Content

Dropdown

Displays a dropdown in the Inspector with given values.

Values can be hardcoded or referenced from another field.

using MVsToolkit.Dev;



[Dropdown(8, 16, 32, 64)] 
public int Size;

public string[] Options = new string[] { "PNG", "JPG", "PDF" };

[Dropdown("options")]
public

Require namespace MVsToolkit.Dev

Supported types: string, float, int

Create a free website with Framer, the website builder loved by startups, designers and agencies.