2 Commits

2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ public class CameraVehicle : MonoBehaviour
void Update()
{
if(Input.GetKeyDown(KeyCode.LeftAlt))
if(Input.GetKeyDown(KeyCode.V))
moveCam = !moveCam;
if(!moveCam)
+4 -4
View File
@@ -5,8 +5,8 @@ using UnityEngine;
public class Game : MonoBehaviour
{
public GUISkin Skin;
const float TopElemWidth = 50f;
const float TopElemHeight = 20f;
float TopElemWidth = Screen.width / 19f;
float TopElemHeight = Screen.height / 38;
bool fileMenu = false;
bool fileOpenMenu = false;
string fileOpenUrl = "http://gitea.moe/lamp/whirlds/raw/branch/master/Geiodo/bagels_skate_park.utw";
@@ -87,10 +87,10 @@ public class Game : MonoBehaviour
private void ShowFileOpenMenu()
{
fileOpenUrl = GUI.TextField(
new Rect(TopElemWidth, TopElemHeight * 2, 300, TopElemHeight),
new Rect(TopElemWidth, TopElemHeight * 2, TopElemWidth * 3, TopElemHeight),
fileOpenUrl);
if(GUI.Button(
new Rect(TopElemWidth + 300, TopElemHeight * 2, TopElemWidth, TopElemHeight),
new Rect(TopElemWidth * 4, TopElemHeight * 2, TopElemWidth, TopElemHeight),
"Submit"))
{
if(!GameObject.Find("WhirldBuffer") && fileOpenTimeout <= 0)