Ejemplo n.º 1
0
 private void RemoveAllRemoveables()
 {
     for (int i = 0; i < this._dynamicLs.Count; i++)
     {
         BaseMonoDynamicObject obj2 = this._dynamicLs[i];
         if (obj2.IsToBeRemove())
         {
             this.RemoveDynamicObjectByRuntimeID(obj2.GetRuntimeID(), i);
             i--;
         }
     }
 }
Ejemplo n.º 2
0
 public void RemoveAllDynamicObjects()
 {
     for (int i = 0; i < this._dynamicLs.Count; i++)
     {
         BaseMonoDynamicObject obj2 = this._dynamicLs[i];
         if (!obj2.IsToBeRemove())
         {
             obj2.SetDied();
         }
         this.RemoveDynamicObjectByRuntimeID(obj2.GetRuntimeID(), i);
         i--;
     }
 }