public void Initialize(TeamData.TeamDataEntry team, string fighterName, FighterData fighterData) { _team = team; _fighterName = fighterName; _nameText.text = FighterName; gameObject.name = _team.Name; gameObject.layer = team.Layer; _loadout.Initialize(); Debug.Log(Loadout); _loadoutSlotMap.Clear(); foreach (FighterLoadoutSlot slot in _loadoutSlots) { slot.Initialize(_loadout); _loadoutSlotMap.Add(slot.SlotId, slot); } _stats.Initialize(_loadout, _aiFSM); Debug.Log(Stats); }