Esempio 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);
        }
    }
Esempio n. 2
0
 public void LevelClear(int level)
 {
     LevelData.ClearLevel(level);
 }