예제 #1
0
 public void UnExecute()
 {
     if (!cancelled)
     {
         parent.Remove(staticObject);
     }
 }
 public void Execute()
 {
     foreach (IObjectChangeCollection changeObj in changeObjList)
     {
         IWorldContainer parent = changeObj.Parent;
         fromCollection.Add((IObjectCollectionParent)parent);
         parent.Remove(changeObj as IWorldObject);
         toCollection.Add(changeObj as IWorldObject);
         changeObj.Parent = toCollection as IWorldContainer;
         changeObj.Node.Select();
     }
 }
 public void UnExecute()
 {
     parent.Remove(roadObject);
 }
 public void Execute()
 {
     parent.Remove(path);
     ((StaticObject)parent).PathsPerInstance = true;
 }
 public void UnExecute()
 {
     parent.Remove(worldCollection);
 }
 public void UnExecute()
 {
     parent.Remove(mark);
 }
 public void UnExecute()
 {
     parent.Remove(pointLight);
 }
예제 #8
0
 public void UnExecute()
 {
     parent.Remove(sound);
 }
 public void UnExecute()
 {
     parent.Remove(region);
 }
 public void UnExecute()
 {
     parent.Remove(path);
 }
 public void Execute()
 {
     parent.Remove(obj);
 }
 public void UnExecute()
 {
     parent.Remove(waypoint);
 }
 public void UnExecute()
 {
     parent.Remove(decal);
 }