..
#if UNITY_ANDROID || UNITY_IOS
GUIStyle buttonStyle = GUI.skin.button;
buttonStyle.normal.textColor = Color.white;
buttonStyle.fontSize = 30;
GUI.skin.textField.fontSize = 30;
float wr = 3.5f;
float hr = 3.5f;
const float sr = 4.0f;
#else
float wr = 1.0f;
float hr = 1.0f;
const float sr = 1.0f;
#endif
..
完整的 code 放在這.