Ejemplo n.º 1
0
 /// <inheritdoc />
 public override void ItemsToDelete(HashSet <ItemForDeletion> items)
 {
     if (Type == DeletionType.Remove)
     {
         // actor type can be used at actors
         ConsistentDeletionHelper.DeleteFromActors(actorType, items);
         // actor type can be used at the scripting
         ConsistentDeletionHelper.DeleteFromScripting(Scripting.VariableType.ActorType, actorType, items);
     }
 }
Ejemplo n.º 2
0
 /// <inheritdoc />
 public override void ItemsToDelete(HashSet <ItemForDeletion> items)
 {
     if (Type == DeletionType.Remove)
     {
         // texture can be used at animations
         ConsistentDeletionHelper.DeleteFromAnimations(texture, items);
         // texture can be used at actors
         ConsistentDeletionHelper.DeleteFromActors(texture, items);
         // texture can be used at the scripting
         ConsistentDeletionHelper.DeleteFromScripting(Scripting.VariableType.Texture, texture, items);
     }
 }