Hacker News new | ask | show | jobs
by kylnew 2921 days ago
I like where this is going, but not sure of the practical use case. Can this help me inspect my game objects at runtime or just act like a standalone playground CLI?
1 comments

You can inspects game objects at runtime. You could, for example, do: GameObject.Find("YourGameObject).GetComponent<Sprite>(). There's probably features that would make it easier to access game objects though, as names are not unique. So you could use the instance ID, but that's a bit of a hassle.
This is pretty handy still. Sometimes I just want to grab an object and map it’s children’s properties into a debug friendly format for output.

Nice work