Exemplo n.º 1
0
    void Update()
    {
        if (Input.GetButtonDown("ESC"))
        {
            if (SceneManager.GetActiveScene().buildIndex > 0)
            {
                isESC = !isESC;
                SetEscMenu(isESC);
            }
        }


        //作弊鍵
        if (Input.GetKeyDown(KeyCode.Backspace))
        {
            Debug.Log("ClearLevel(100)作弊鍵"); LevelData.ClearLevel(100);
        }
    }
Exemplo n.º 2
0
 public void LevelClear(int level)
 {
     LevelData.ClearLevel(level);
 }