コード例 #1
0
 public override OpStatus Apply()
 {
     if (created_group == null)
     {
         created_group = new GroupSO();
         created_group.Create();
         Scene.AddSceneObject(created_group, false);
     }
     else
     {
         Scene.RestoreDeletedSceneObject(created_group);
     }
     created_group.AddChildren(Objects);
     return(OpStatus.Success);
 }
コード例 #2
0
 public override OpStatus Revert()
 {
     Scene.RestoreDeletedSceneObject(Group);
     Group.AddChildren(Objects);
     return(OpStatus.Success);
 }
コード例 #3
0
 public override OpStatus Apply()
 {
     Group.AddChildren(Objects, true);
     return(OpStatus.Success);
 }