Adding TextMesh by script Unity C#
My code is: GameObject textwin = new GameObject("win");
textwin.AddComponent().text = "YOU WIN!";
textwin.GetComponent().font(Arial);
It errors out on the third line because it is not the correct syntax, help
I'm a noobie in Unity3D this is my first game in it. And no I don't want
to use GuiText.
No comments:
Post a Comment