- Home /
Question by
SpikeSource · Apr 05, 2017 at 12:42 PM ·
unity 5uibuttontextfieldcustomeditor
Append multiple textfields to custom editor on button click
I have created a custom editor script in which I have a button. I want to make it possible to add a new textfield in the inspector each time this button is clicked.
I cant get my head around how to do this, and especially how to get the references to those textfields.
I know this might be very trivial to some of you, but would anyone be able to help me out?
Comment
Your answer
Follow this Question
Related Questions
Loading a scene after a random amount of time. 1 Answer
UI Button-parameters inaccessable in spite of "using UnityEngine.UI" 4 Answers
Add Listeners to array of Buttons 2 Answers
Cannot implicitly convert 'UnityEngine.UI.Button[]' to 'UnityEngine.UI.Button' 1 Answer
Unity 5: UI button OnPointerDown not function as expected 1 Answer