コード例 #1
0
    private void ValidateItem()
    {
        if (GameData.ItemHolds.Count == 0)
        {
            GameData.ItemHolds.Clear();
            GameData.ItemUsed.Clear();

            GameTrackRate.ResetTrack();

            ResetBaseItem();

            LoadItem(baseItems);
        }
    }
コード例 #2
0
    private void Start()
    {
        instance = this;

        if (GameData.FirstPlay)
        {
            bossManager.ResetBossState();
            GameData.FirstPlay = false;
            GameData.ItemHolds = new List <ItemData>();
            GameData.ItemUsed  = new List <ItemData>();

            ResetAllItem();
            GameTrackRate.ResetTrack();

            LoadItem(baseItems);
        }

        ValidateItem();
    }