- Home /
Making a clickable button in Editor Mode
So let's say I autogenerate a grid of train tracks. I want to make it so that I can put a little red button next to each open track that when I click it displays a drop down menu of all the valid train tracks I can insert into the open track. This is for the purpose of manually adding train tracks in editor mode. I do not want the player to have access to this button.
How would I go about making this button? Just some pointers in the general direction would be helpful.
Your answer
Follow this Question
Related Questions
Initialising List array for use in a custom Editor 1 Answer
How to properly handle Undo events in custom inspector? 0 Answers
How can i create a pup-up menu like the one for choose the shader on materials in unity 2019? 1 Answer
Execute in EditMode every time a script's parameter is changed 0 Answers