mattrdowney / planetaria

A Unity framework for Euclidean 2-sphere games (e.g. 2D virtual reality games) [quasi-MIT license]
Other
10 stars 2 forks source link

Debug inspector shows Planetaria internals #75

Closed mattrdowney closed 6 years ago

mattrdowney commented 6 years ago

Ideally this would be for both attached MonoBehaviours (e.g. AreaRenderer with HideInInspector) and hidden GameObjects (e.g. collider objects with HideInHierarchy)

mattrdowney commented 6 years ago

After thinking about this problem, a lot of workarounds would be needed to do it the intuitive way (support for Unity's debug inspector), but doing it a not-all-that-hacky way with a hotkey toggle would work really well.

mattrdowney commented 6 years ago

Notably: there needs to be a way to turn on Saving before build and not generate objects in Start anymore. I should also consider making procedural objects start with two leading underscores "__".

mattrdowney commented 6 years ago

Done as of 0a84fc1b427635aef43ca6cfe79bc69d3ef38997

There's technically a bug if you toggle the debug inspector in play mode but I don't care enough.