示例#1
0
    void checkWin()
    {
        if (floorGraph.ContainsVertex("End"))
        {
            hasWon = true;
            String time = Time.realtimeSinceStartup + "";

            //addData(PlayerStats.name, time.Substring(0,5), PlayerStats.isGamer + "");

            Application.LoadLevel(Application.loadedLevel + 1);
        }
    }