编队系统重置 选角页面基本完成 等待存入playerprefs
This commit is contained in:
@@ -45,14 +45,16 @@ public class pressStart : MonoBehaviour
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.Space) /*|| Input.GetMouseButtonDown(0)*/)
|
||||
bool check_enterNextScene = false;
|
||||
if (Input.GetKeyDown(KeyCode.Space) || Input.GetMouseButtonDown(0))
|
||||
{
|
||||
GameConfig.testMode = false;
|
||||
warningText.text = "<color=orange>你正在尝试进入</color><color=red>未完整开发</color><color=orange>版本,点击</color><color=red>y键</color><color=orange>忽略警告进入。</color>";
|
||||
if (Input.GetKeyDown(KeyCode.Y))
|
||||
{
|
||||
SceneManager.LoadScene(sceneName_toNextScene);
|
||||
}
|
||||
check_enterNextScene = true;
|
||||
}
|
||||
if (Input.GetKeyDown(KeyCode.Y) && check_enterNextScene)
|
||||
{
|
||||
SceneManager.LoadScene("UI_UI");
|
||||
}
|
||||
// Enter进入测试模式,不加载json,开始轮询banflag
|
||||
if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter))
|
||||
|
||||
Reference in New Issue
Block a user