void ButtonToReadSetting() { if (isMneuOpen == true) { return; } GUIStyle titleStyle = new GUIStyle("button"); titleStyle.fontSize = buttonFontSize; Rect r = new Rect(0, 6f / 8 * Screen.height, 0.2f * Screen.width, 0.1f * Screen.height); if (GUI.Button(r, "Log\n Setting", titleStyle)) { SceneTools.printSetting(); isShowSetting = !isShowSetting; } }