export variable with a choice of given strings [version 3.1]

kryzmakkryzmak Posts: 84Member

If you declare an export var var_name : String you just get an empty string field in the editor. How can I provide a fixed set of strings, so that you just have a kind of dropdown menu with choosable options?


  • kryzmakkryzmak Posts: 84Member
    Answer ✓

    Just found an answer for myself

    export(String, string_1, string_2) var var_name

Sign In or Register to comment.