what is best effective way to make string in to 3D GUI

  1. No I’m not creating a unity GUI or whatever, because it doesn’t work on Linux. all buttons are 0.0f width.
  2. I haven’t went doing this so no actual code can be provided when I’m stuck or whatever. just need a little guideline.

what I’ve come across is: [Unity Q/A][1] - @fafase last answer.

and I was thinking, making a character (not string) dictionary

should I go this way:

Dictionary<char, GameObject> GUIString = new Dictionary<char, GameObject>();

void Awake(){
	GUIString.Add('a', gameObject);
}

OR should I go this way:

GameObject[] GUIString1 = new GameObject[256];
GameObject SomeFunction (char c){
	return GUIString1
; // if it can convert else I do integer in the middle and pass an integer.
    }

OR would there be some more efficient way?

ALSO should I wrap it to a class or structure?



thing is on Linux 3D stuff seems to be working perfectly and that's what I'm aiming on.

thanks in advance.

  [1]: http://answers.unity3d.com/questions/441852/convert-a-string-to-texture.html

Question is very unclear, but sounds like you want text in 3D space? Have a look at TextMesh component.