Пример #1
0
        public void Main(string argument)
        {
            IMyLaserAntenna antenna  = null;
            IMyLaserAntenna antenna2 = null;

            antenna.SetTargetCoords(antenna2.GetPosition().ToString());
        }
Пример #2
0
 /// <summary>
 /// Gets the direction of the target.
 /// </summary>
 /// <returns>The direction of the target.</returns>
 private Vector3 TargetDirection()
 {
     if (m_laser != null)
     {
         return(m_laser.TargetCoords - m_laser.GetPosition());
     }
     return(SunProperties.SunDirection);
 }