代码如下 if(GUI.Button(Rect(0,0,100,100),"Hello")){ }现在想问如何根据按钮的大小来改变显示出来的"Hello"的字体大小呢?
我是新手。那个GUIStyle怎么设置参数呢。比如if(GUI.Button(Rect(0,0,100,100),"Hello",GUIStyle.fontSize=26)){ } ,但是这样不对。