/// <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); } }
/// <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); } }