C# Class FullInspector.BackupService.fiStorageManager

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

Public Methods

Method 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 method

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

MigrateStorage() public static method

Attempts to migrate prefab storage into scene storage.
public static MigrateStorage ( ) : void
return void

RemoveBackup() public static method

Removes the given backup instance.
public static RemoveBackup ( fiSerializedObject serializedObj ) : void
serializedObj fiSerializedObject
return void

RemoveInvalidBackups() public static method

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