unity
SpaceKitt
"Live long and prosper."
展开
-
Set font size and color in GUI.Label
unity GUI.Label: public static void Label(Rect position, string text); public static void Label(Rect position, string text, GUIStyle style); GUIStyle myStyle; void Start () { myStyle原创 2016-08-29 15:26:58 · 1207 阅读 · 0 评论 -
C# struct and Unity3d Vector3
The new operator is also used to invoke the constructor for value types. Value-type objects such as structs are created on the stack. —— C# new operator This is not like Java. In C#, you原创 2017-06-06 12:04:05 · 389 阅读 · 0 评论