public void OnGUI() { //デバッグ機能 if (InitCompleted && sceneLevel == 14) { //ログ表示 DebugManager.GUIText(); //A10サイクロン関連のデバッグ用ウィンドウ if (PistonGUI) { windowRect = GUILayout.Window(0, windowRect, GUIWindow, "A10Piston"); } } }