private void RefreshSkill() { for (int i = 0; i < _SelfGirls.Length; ++i) { if (_SelfGirls[i]._GirlMenberInfo == null) { continue; } for (int j = 0; j < _SelfGirls[i]._GirlMenberInfo.GirlInfoRecord.Skills.Count; ++j) { if (_SelfGirls[i]._GirlMenberInfo.GirlInfoRecord.Skills[j] == null) { continue; } if (SkillManager.CanGirlSkillUse(_SelfGirls[i]._GirlMenberInfo, _SelfGirls[i]._GirlMenberInfo.GirlInfoRecord.Skills[j], SelectedGirls)) { _SelfGirls[i].SetSkillCanUse(j, true); } else { _SelfGirls[i].SetSkillCanUse(j, false); } } } }