Ejemplo n.º 1
0
        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();
            }
        }
Ejemplo n.º 2
0
 public void RemoveAllAggro()
 {
     AggroChaser.RemoveMagnetAggro(transform);
 }