// Update is called once per frame
    void Update()
    {
        Debug.Log(baseSystem.GetBaseStorageOres(Global.OresTypes.FinalKey));
        if (baseSystem.GetFinalStorageOresAmount(Global.OresTypes.FinalKey) > 0.0f)
        {
            isGameOver = true;
            TaskCompleted();
            Global.userInterfaceActiveManager.SetMenuVisibilitySmoothly(Global.MenusType.Win_Screen, true);
        }

        if (!isGameOver) // For update the quest level
        {
            if (timerManager.CurrentTime <= 0.0f)
            {
                Debug.Log("isGameOver");
                isGameOver = true;
                Global.userInterfaceActiveManager.SetMenuVisibilitySmoothly(Global.MenusType.Lose_Screen, true);
            }
            if (baseSystem.GetBaseStorageOres(Global.OresTypes.Ore_No1) >= Global.targetQuest_OreNo1_Amount[currentQuestLevel])
            {
                if (currentQuestLevel < (int)Global.QuestLevels.Quest_03)
                {
                    baseSystem.GetOutSomeStorageOresForQuestSystem(this, Global.OresTypes.Ore_No1, (Global.QuestLevels)currentQuestLevel);
                    currentQuestLevel++;
                    currentPermissiveZoneRadius = Global.zonesRadius[(int)Global.ZoneLevels.EasyZone + currentQuestLevel];
                }
                else
                {
                }
            }
        }
    }