/// <summary> /// Fire the laser or destroy itself /// Using late update to ensure that the lasers have been reset /// in the laser shooter's update /// </summary> public List <ILaserTarget> CalculateTargets() { m_laser.Shoot(m_directions); return(m_laser.Targets); }
/// <summary> /// Fire the laser or destroy itself /// Using late update to ensure that the lasers have been reset /// in the laser shooter's update /// </summary> public List <ILaserTarget> CalculateTargets() { m_laser.Shoot(GetReflectedDiretions()); return(m_laser.Targets); }