private bool game_over = false;                                  //游戏结束

    void Update()
    {
        for (int i = 0; i < patrols.Count; i++)
        {
            patrols[i].gameObject.GetComponent <PatrolData>().wall_sign = wall_sign;
        }
        //水晶收集完毕
        if (recorder.GetCrystalNumber() == 0)
        {
            Gameover();
        }
    }