Hacker News new | ask | show | jobs
by marijnz 2917 days ago
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.
1 comments

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