Quantcast
Channel: Questions in topic: "renaming"
Viewing all articles
Browse latest Browse all 48

Force Rename of GameObject in Hierarchy

$
0
0
Hi all, I have an editor script that clones an existing GameObject then selects it in the hierarchy. I want to rename the GameObject immediately after selection, mimicing the F2 rename feature. Any way to do this in code? Thanks.

Viewing all articles
Browse latest Browse all 48

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>