void RemoveSoul(SoulType soulType) { ActiveSouls.Remove(soulType); var soul = Soul.New(soulType, LoadoutSouls); soul.DeactivateUniqueEffect(); LoadoutSouls.DeregisterChild(soul); }
private void AddSoul(SoulType soulType) { ActiveSouls.Add(soulType); var soul = Soul.New(soulType, LoadoutSouls); soul.ActivateUniqueEffect(); LoadoutSouls.DeregisterChild(soul); }
public override void OnLoaded() { foreach (var soulType in ActiveSouls) { var soul = Soul.New(soulType, LoadoutSouls); soul.ActivateUniqueEffect(); LoadoutSouls.DeregisterChild(soul); } base.OnLoaded(); }