Esempio n. 1
0
 /// <summary>
 /// Remove target from target list
 /// </summary>
 public void RemoveTarget(IsOnCamera other)
 {
     for (int i = 0; i < targetList.Count; i++)
     {
         if (targetList[i].GetInstanceID() == other.GetInstanceID())
         {
             targetList.RemoveAt(i);
             return;
         }
     }
 }