Пример #1
0
        private void SeekVirus()
        {
            List <float> angles      = VirusTool.GetRandomAngles(4, 30);
            var          targetVirus = VirusMrg.Instance.GetRandomVirus();

            for (int i = 0; i < _miniCanons.Count; i++)
            {
                var canon = _miniCanons[i];
                canon.Initi(targetVirus != null ? targetVirus.transform : null, angles[i]);
            }
        }