private static void RemoveMagnet(AggroMagnet magnet) { AggroChaser.RemoveMagnetAggro(magnet.transform); if (!Magnets.Contains(magnet)) { return; } int index = Magnets.IndexOf(magnet); Magnets.Remove(magnet); if (nextTalker == index) { DoneTalking(); } }
public void RemoveAllAggro() { AggroChaser.RemoveMagnetAggro(transform); }