C# Class FullInspector.BackupService.fiStorageManager

This class provides a unified API for accessing backups across scene and prefab storage.
Afficher le fichier Open project: jacobdufault/fullinspector

Méthodes publiques

Méthode Description
HasBackups ( CommonBaseBehavior behavior ) : bool

Returns true if there is a backup for the given behavior.

MigrateStorage ( ) : void

Attempts to migrate prefab storage into scene storage.

RemoveBackup ( fiSerializedObject serializedObj ) : void

Removes the given backup instance.

RemoveInvalidBackups ( ) : void

Removes backups that are no longer valid (their target got destroyed, etc).

Method Details

HasBackups() public static méthode

Returns true if there is a backup for the given behavior.
public static HasBackups ( CommonBaseBehavior behavior ) : bool
behavior CommonBaseBehavior
Résultat bool

MigrateStorage() public static méthode

Attempts to migrate prefab storage into scene storage.
public static MigrateStorage ( ) : void
Résultat void

RemoveBackup() public static méthode

Removes the given backup instance.
public static RemoveBackup ( fiSerializedObject serializedObj ) : void
serializedObj fiSerializedObject
Résultat void

RemoveInvalidBackups() public static méthode

Removes backups that are no longer valid (their target got destroyed, etc).
public static RemoveInvalidBackups ( ) : void
Résultat void