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); }
public override OpStatus Revert() { Scene.RestoreDeletedSceneObject(Group); Group.AddChildren(Objects); return(OpStatus.Success); }
public override OpStatus Apply() { Group.AddChildren(Objects, true); return(OpStatus.Success); }