Backup and restore methods.
More...
|
delegate void | BackupStart () |
|
delegate void | BackupComplete (bool success) |
|
delegate void | RestoreStart () |
|
delegate void | RestoreComplete (bool success) |
|
|
static void | BackupCLI () |
| Backup the current project via CLI. More...
|
|
static void | RestoreCLI () |
| Restore the current project via CLI. More...
|
|
static bool | Backup (string executeMethod, bool batchmode=false, bool quit=true, bool noGraphics=false, bool backupAssets=true, bool backupLibrary=false, bool backupSettings=true, bool backupPackages=true, string backupPath="", bool backupUserSettings=true, int slot=0) |
| Backup the current project. More...
|
|
static bool | Backup () |
| Backup the current project. More...
|
|
static bool | Restore (string executeMethod, bool batchmode=false, bool quit=true, bool noGraphics=false, bool restoreAssets=true, bool restoreLibrary=false, bool restoreSettings=true, bool restorePackages=true, string backupPath="", bool backupUserSettings=true, int slot=0) |
| Restore the current project. More...
|
|
static bool | Restore () |
| Restore the current project. More...
|
|
static void | SayHello () |
| Test the backup/restore with an execute method. More...
|
|
static void | MethodBeforeBackup () |
| Test method (before backup). More...
|
|
static void | MethodAfterBackup () |
| Test method (after backup). More...
|
|
static void | MethodBeforeRestore () |
| Test method (before restore). More...
|
|
static void | MethodAfterRestore () |
| Test method (after restore). More...
|
|
static void | DefaultMethodAfterBackup () |
| Default method after backup. More...
|
|
static void | DefaultMethodAfterRestore () |
| Default method after restore. More...
|
|
Backup and restore methods.
◆ Backup() [1/2]
static bool Crosstales.TB.BAR.Backup |
( |
| ) |
|
|
static |
Backup the current project.
- Returns
- True if the backup was successful.
◆ Backup() [2/2]
static bool Crosstales.TB.BAR.Backup |
( |
string |
executeMethod, |
|
|
bool |
batchmode = false , |
|
|
bool |
quit = true , |
|
|
bool |
noGraphics = false , |
|
|
bool |
backupAssets = true , |
|
|
bool |
backupLibrary = false , |
|
|
bool |
backupSettings = true , |
|
|
bool |
backupPackages = true , |
|
|
string |
backupPath = "" , |
|
|
bool |
backupUserSettings = true , |
|
|
int |
slot = 0 |
|
) |
| |
|
static |
Backup the current project.
- Parameters
-
executeMethod | Execute method after backup |
batchmode | Start Unity in batch-mode (default: false, optional) |
quit | Quit Unity in batch-mode (default: true, optional) |
noGraphics | Disable graphic devices in batch-mode (default: false, optional) |
backupAssets | Copy the 'Assets'-folder (default: true, optional) |
backupLibrary | Copy the 'Library'-folder (default: false, optional) |
backupSettings | Copy the 'ProjectSettings"-folder (default: true, optional)</param>
<param name="backupPackages">Copy the 'Packages"-folder (default: true, optional) |
backupPath | Set the backup path (default: "", optional) |
backupUserSettings | Copy the 'UserSettings"-folder (default: true, optional)</param>
<param name="slot">Use specific backup slot (default: 0, range: 0-16, optional) |
- Returns
- True if the backup was successful.
◆ BackupCLI()
static void Crosstales.TB.BAR.BackupCLI |
( |
| ) |
|
|
static |
Backup the current project via CLI.
◆ DefaultMethodAfterBackup()
static void Crosstales.TB.BAR.DefaultMethodAfterBackup |
( |
| ) |
|
|
static |
Default method after backup.
◆ DefaultMethodAfterRestore()
static void Crosstales.TB.BAR.DefaultMethodAfterRestore |
( |
| ) |
|
|
static |
Default method after restore.
◆ MethodAfterBackup()
static void Crosstales.TB.BAR.MethodAfterBackup |
( |
| ) |
|
|
static |
Test method (after backup).
◆ MethodAfterRestore()
static void Crosstales.TB.BAR.MethodAfterRestore |
( |
| ) |
|
|
static |
Test method (after restore).
◆ MethodBeforeBackup()
static void Crosstales.TB.BAR.MethodBeforeBackup |
( |
| ) |
|
|
static |
Test method (before backup).
◆ MethodBeforeRestore()
static void Crosstales.TB.BAR.MethodBeforeRestore |
( |
| ) |
|
|
static |
Test method (before restore).
◆ Restore() [1/2]
static bool Crosstales.TB.BAR.Restore |
( |
| ) |
|
|
static |
Restore the current project.
- Returns
- True if the restore was successful.
◆ Restore() [2/2]
static bool Crosstales.TB.BAR.Restore |
( |
string |
executeMethod, |
|
|
bool |
batchmode = false , |
|
|
bool |
quit = true , |
|
|
bool |
noGraphics = false , |
|
|
bool |
restoreAssets = true , |
|
|
bool |
restoreLibrary = false , |
|
|
bool |
restoreSettings = true , |
|
|
bool |
restorePackages = true , |
|
|
string |
backupPath = "" , |
|
|
bool |
backupUserSettings = true , |
|
|
int |
slot = 0 |
|
) |
| |
|
static |
Restore the current project.
- Parameters
-
executeMethod | Execute method after restore |
batchmode | Start Unity in batch-mode (default: false, optional) |
quit | Quit Unity in batch-mode (default: true, optional) |
noGraphics | Disable graphic devices in batch-mode (default: false, optional) |
restoreAssets | Restore the 'Assets'-folder (default: true, optional) |
restoreLibrary | Restore the 'Library'-folder (default: false, optional) |
restoreSettings | Restore the 'ProjectSettings"-folder (default: true, optional)</param>
<param name="restorePackages">Restore the 'Packages"-folder (default: true, optional) |
backupPath | Set the backup path (default: "", optional) |
backupUserSettings | Copy the 'UserSettings"-folder (default: true, optional)</param>
<param name="slot">Use specific backup slot (default: 0, range: 0-16, optional) |
- Returns
- True if the restore was successful.
◆ RestoreCLI()
static void Crosstales.TB.BAR.RestoreCLI |
( |
| ) |
|
|
static |
Restore the current project via CLI.
◆ SayHello()
static void Crosstales.TB.BAR.SayHello |
( |
| ) |
|
|
static |
Test the backup/restore with an execute method.
◆ isBusy
bool Crosstales.TB.BAR.isBusy |
|
staticget |
◆ OnBackupComplete
BackupComplete Crosstales.TB.BAR.OnBackupComplete |
|
static |
An event triggered whenever the backup is completed.
◆ OnBackupStart
BackupStart Crosstales.TB.BAR.OnBackupStart |
|
static |
An event triggered whenever the backup is started.
◆ OnRestoreComplete
RestoreComplete Crosstales.TB.BAR.OnRestoreComplete |
|
static |
An event triggered whenever the restore is completed.
◆ OnRestoreStart
RestoreStart Crosstales.TB.BAR.OnRestoreStart |
|
static |
An event triggered whenever the restore is started.
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/TurboBackup/TurboBackup/Assets/Plugins/crosstales/TurboBackup/Scripts/Editor/BAR.cs