Various helper functions.
More...
|
static string | ScanInfo |
|
static bool | isDeleting |
|
static Texture2D | Action_Backup => loadImage(ref action_backup, "action_backup.png") |
|
static Texture2D | Action_Restore => loadImage(ref action_restore, "action_restore.png") |
|
static Texture2D | Logo_Asset => loadImage(ref logo_asset, "logo_asset_pro.png") |
|
static Texture2D | Logo_Asset_Small => loadImage(ref logo_asset_small, "logo_asset_small_pro.png") |
|
static Texture2D | Icon_Show => loadImage(ref icon_show, "icon_show.png") |
|
static bool | isBackupEnabled => Config.COPY_ASSETS || Config.COPY_LIBRARY || Config.COPY_SETTINGS || Config.COPY_PACKAGES |
| Checks if the backup for the project is enabled. More...
|
|
static bool | hasBackup => Crosstales.Common.Util.FileHelper.ExistsDirectory(Config.PATH_BACKUP) |
| Checks if a backup for the project exists. More...
|
|
static bool | hasBackupSlot => Crosstales.Common.Util.FileHelper.ExistsDirectory(Config.PATH_BACKUP_SLOT) |
| Checks if a backup for the current slot exists. More...
|
|
Various helper functions.
◆ Backup()
static bool Crosstales.TB.Util.Helper.Backup |
( |
| ) |
|
|
static |
Backup the project (legacy implementation).
- Returns
- True if the backup was successful.
◆ BackupNew()
static bool Crosstales.TB.Util.Helper.BackupNew |
( |
| ) |
|
|
static |
Backup the project.
- Returns
- True if the backup was successful.
◆ DeleteBackup()
static void Crosstales.TB.Util.Helper.DeleteBackup |
( |
| ) |
|
|
static |
Delete the backup for all platforms.
◆ DeleteBackupSlot()
static void Crosstales.TB.Util.Helper.DeleteBackupSlot |
( |
int |
slot | ) |
|
|
static |
Delete the given backup slot for all platforms.
- Parameters
-
slot | Backup slot to delete |
◆ Restore()
static bool Crosstales.TB.Util.Helper.Restore |
( |
| ) |
|
|
static |
Restore the project (legacy implementation).
- Returns
- True if the restore was successful.
◆ RestoreNew()
static bool Crosstales.TB.Util.Helper.RestoreNew |
( |
| ) |
|
|
static |
Restore the project.
- Returns
- True if the restore was successful.
◆ hasBackup
bool Crosstales.TB.Util.Helper.hasBackup => Crosstales.Common.Util.FileHelper.ExistsDirectory(Config.PATH_BACKUP) |
|
static |
Checks if a backup for the project exists.
- Returns
- True if a backup for the project exists
◆ hasBackupSlot
bool Crosstales.TB.Util.Helper.hasBackupSlot => Crosstales.Common.Util.FileHelper.ExistsDirectory(Config.PATH_BACKUP_SLOT) |
|
static |
Checks if a backup for the current slot exists.
- Returns
- True if a backup for the current slot exists
◆ isBackupEnabled
Checks if the backup for the project is enabled.
- Returns
- True if a backup is enabled
◆ BackupInfo
string? Crosstales.TB.Util.Helper.BackupInfo |
|
staticget |
Scans the backup usage information.
- Returns
- Backup usage information.
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/TurboBackup/TurboBackup/Assets/Plugins/crosstales/TurboBackup/Scripts/Editor/Util/Helper.cs