Quantcast
Channel: Answers for "Rename gameobject (game not running, via inspector script)"
Browsing all 4 articles
Browse latest View live

Answer by JakeMcDig

It's actually very simple to change a GameObject's name. I believe you're trying harder than you are supposed to. Go to your Hierarchy window, and select the object you want to rename by clicking on...

View Article


Answer by jokim

Are you familiar with [ExecuteInEditMode] ? Here's what I came up with, from the top of my head (while I actually try something else out) [ExecuteInEditMode] public class MyClass : MonoBehaviour {...

View Article


Answer by JakeMcDig

It's actually very simple to change a GameObject's name. I believe you're trying harder than you are supposed to. Go to your Hierarchy window, and select the object you want to rename by clicking on...

View Article

Answer by jokim

Are you familiar with [ExecuteInEditMode] ? Here's what I came up with, from the top of my head (while I actually try something else out) [ExecuteInEditMode] public class MyClass : MonoBehaviour {...

View Article
Browsing all 4 articles
Browse latest View live