is there a way to expose a hastable's contents in the inspector when running a project in the editor?
2 Answers
2Yes, but this is not easy, since it is not directly supported by Unity3D right now (neither are any other Collections like List<>).
You can, however, create your own custom inspector for a monobehaviour script, which I imagine would behave like the inspector shows Arrays right now.
You can read more about extending the editor here: http://unity3d.com/support/documentation/Components/gui-ExtendingEditor.html
maybe my trick will help
I was afraid of that. :P I have a class for a data file for my game and it would have been nice to see everything in the inspector when it loads. It would probably be faster to add a window that shows the list. If I add arrays for now that have the keys and values listed, would that update?
– anon9147783