Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c3aba3283 | |||
| fef065eddf |
@@ -26,7 +26,7 @@ public class CameraVehicle : MonoBehaviour
|
|||||||
|
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
if(Input.GetKeyDown(KeyCode.LeftAlt))
|
if(Input.GetKeyDown(KeyCode.V))
|
||||||
moveCam = !moveCam;
|
moveCam = !moveCam;
|
||||||
|
|
||||||
if(!moveCam)
|
if(!moveCam)
|
||||||
|
|||||||
+4
-4
@@ -5,8 +5,8 @@ using UnityEngine;
|
|||||||
public class Game : MonoBehaviour
|
public class Game : MonoBehaviour
|
||||||
{
|
{
|
||||||
public GUISkin Skin;
|
public GUISkin Skin;
|
||||||
const float TopElemWidth = 50f;
|
float TopElemWidth = Screen.width / 19f;
|
||||||
const float TopElemHeight = 20f;
|
float TopElemHeight = Screen.height / 38;
|
||||||
bool fileMenu = false;
|
bool fileMenu = false;
|
||||||
bool fileOpenMenu = false;
|
bool fileOpenMenu = false;
|
||||||
string fileOpenUrl = "http://gitea.moe/lamp/whirlds/raw/branch/master/Geiodo/bagels_skate_park.utw";
|
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()
|
private void ShowFileOpenMenu()
|
||||||
{
|
{
|
||||||
fileOpenUrl = GUI.TextField(
|
fileOpenUrl = GUI.TextField(
|
||||||
new Rect(TopElemWidth, TopElemHeight * 2, 300, TopElemHeight),
|
new Rect(TopElemWidth, TopElemHeight * 2, TopElemWidth * 3, TopElemHeight),
|
||||||
fileOpenUrl);
|
fileOpenUrl);
|
||||||
if(GUI.Button(
|
if(GUI.Button(
|
||||||
new Rect(TopElemWidth + 300, TopElemHeight * 2, TopElemWidth, TopElemHeight),
|
new Rect(TopElemWidth * 4, TopElemHeight * 2, TopElemWidth, TopElemHeight),
|
||||||
"Submit"))
|
"Submit"))
|
||||||
{
|
{
|
||||||
if(!GameObject.Find("WhirldBuffer") && fileOpenTimeout <= 0)
|
if(!GameObject.Find("WhirldBuffer") && fileOpenTimeout <= 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user