- Home /
 
              This question was 
             closed Apr 23, 2017 at 08:56 AM by 
             Deadcow_ for the following reason: 
             
 
            Apparently I need to enchance my searching skills ;) http://answers.unity3d.com/questions/1168080/force-rename-of-gameobject-in-hierarchy.html
 
               Question by 
               Deadcow_ · Apr 23, 2017 at 08:45 AM · 
                c#editoreditor-scriptingeditorwindow  
              
 
              Enter to "set name in hierarchy" mode via script
Hello guys, I wonder if there is a way to simulate this double click on hierarchy item.
I want to have a button that'll create new object in hierarchy, and then I want this object to be focused and in rename mode.
Like, click the button -> enter new name right away via keyboard -> hit enter -> boom, done, new object with the right name!
               Comment