- Home /
Question by
vividhelix · Nov 05, 2013 at 05:43 AM ·
editorinspectorfocusprogrammatically
Programmatically focus textfield in Editor
I'm afraid I know the answer to this, but does anyone know of a way to programmatically focus a textfield in the Editor that you don't control? For example the transform.position.x. From what I can see, you need a control name which the built in controls don't have and there's no other way to focus, even if you have a control id.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613121250im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Select TextField when it gets focus (in custom editor) 0 Answers
Is there a Function Callback for when a vairable is altered in the Inspector? 1 Answer
[Solved]Why doesn't my ScriptableObject based asset save using a custom inspector ? 1 Answer