예제 #1
0
 public bool Remove(CollisionSwitch value)
 {
     for (int i = 0; i < CollisionSwitches.Count; i++)
     {
         if (CollisionSwitches[i] == value)
         {
             CollisionSwitches.RemoveAt(i);
             return(true);
         }
     }
     return(false);
 }
예제 #2
0
 public void RemoveAt(int index)
 {
     CollisionSwitches.RemoveAt(index);
 }