Z
Z
Zefirot2021-11-15 11:47:50
Unity
Zefirot, 2021-11-15 11:47:50

How to make a selective menu in the editor?

Well, the text field in the editor is understandable, just designate the public variable with the [Range(0, 6)] slider, and how to make a selective menu so that you can choose from the list, the variable itself will be a String[] array, tell me how to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Farawa, 2021-11-15
@Zefirot

use enum
61925faaa200e432589546.png
61926045f3f66082781819.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question