Anti-Cheat Toolkit  6.1.0
Multi-purpose anti-cheat solution for Unity Engine
ObscuredTypesMigrator Class Reference

Static Public Member Functions

static void MigrateProjectAssets (bool skipInteraction=false)
 
static void MigrateProjectAssets (bool fixOnly, bool skipInteraction)
 
static void MigrateProjectAssets (string[] assetPaths, bool fixOnly, bool skipInteraction)
 
static void MigrateOpenedScenes (bool skipInteraction=false)
 
static void MigrateOpenedScenes (bool fixOnly, bool skipInteraction, bool skipSave=false)
 
static void MigrateBuildProfilesScenes (bool skipInteraction=false)
 
static void MigrateBuildProfilesScenes (bool fixOnly, bool skipInteraction, bool skipSave=false)
 

Detailed Description

Class with utility functions to help with ACTk migrations after updates.

Member Function Documentation

◆ MigrateProjectAssets() [1/3]

static void MigrateProjectAssets ( bool  skipInteraction = false)
inlinestatic

Checks all assets in project for old version of obscured types and tries to migrate values to the new version or fix corrupt states if possible.

◆ MigrateProjectAssets() [2/3]

static void MigrateProjectAssets ( bool  fixOnly,
bool  skipInteraction 
)
inlinestatic

Checks all assets in project for old version of obscured types and tries to migrate values to the new version or fix corrupt states if possible.

◆ MigrateProjectAssets() [3/3]

static void MigrateProjectAssets ( string[]  assetPaths,
bool  fixOnly,
bool  skipInteraction 
)
inlinestatic

Checks specified assets in project for old version of obscured types and tries to migrate values to the new version or fix corrupt states if possible.

◆ MigrateOpenedScenes() [1/2]

static void MigrateOpenedScenes ( bool  skipInteraction = false)
inlinestatic

Checks all currently opened scenes for old version of obscured types and tries to migrate values to the new version or fix corrupt states if possible.

◆ MigrateOpenedScenes() [2/2]

static void MigrateOpenedScenes ( bool  fixOnly,
bool  skipInteraction,
bool  skipSave = false 
)
inlinestatic

Checks all currently opened scenes for old version of obscured types and tries to migrate values to the new version or fix corrupt states if possible.

◆ MigrateBuildProfilesScenes() [1/2]

static void MigrateBuildProfilesScenes ( bool  skipInteraction = false)
inlinestatic

Checks all scenes in Build Settings for old version of obscured types and tries to migrate values to the new version or fix corrupt states if possible.

◆ MigrateBuildProfilesScenes() [2/2]

static void MigrateBuildProfilesScenes ( bool  fixOnly,
bool  skipInteraction,
bool  skipSave = false 
)
inlinestatic

Checks all scenes in Build Settings for old version of obscured types and tries to migrate values to the new version or fix corrupt states if possible.