private void ValidateItem() { if (GameData.ItemHolds.Count == 0) { GameData.ItemHolds.Clear(); GameData.ItemUsed.Clear(); GameTrackRate.ResetTrack(); ResetBaseItem(); LoadItem(baseItems); } }
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(); }