burt that throes an error:'toString' is not a member of 'System.Collections.Hashtable' .Any ideas?
Mar 13 '11 at 10:21 PM
Sep 07 '11 at 09:54 AM
I think you meant myHashtable.ToString() (note the capital T)? However I am not sure the resulting string is what you're after.
Mar 13 '11 at 10:25 PM
Hmm yeah that just makes a string like "System.Collections.Hashtable". Any idea how I make a string from the data? Should I just go through the dictionary entries and build it manually I guess?
Yeah. Just go through the contents and use a StringBuilder to create the string (for efficiency).
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Mar 13 '11 at 10:21 PM
Seen: 1776 times
Last Updated: Mar 13 '11 at 10:21 PM
Convert int to string
How to convert string to uppercase or lowercase?
Converting string to boolean
Converting 'char' to the name of a variable
Convert string to material
GUI.Label shows volume from a slider
iOS Not Converting String to Integer
Convert string to float or double - errors
Convert Float to String? or 3D Text = Float?