Configuration for the asset. More...

Static Public Member Functions

static void Reset ()
 Resets all changeable variables to their default value. More...
 
static void Load ()
 Loads the all changeable variables. More...
 
static void Save ()
 Saves the all changeable variables. More...
 

Static Public Attributes

static bool CUSTOM_PATH_CACHE = Constants.DEFAULT_CUSTOM_PATH_CACHE
 Enable or disable custom location for the cache. More...
 
static bool USE_LEGACY = Constants.DEFAULT_USE_LEGACY
 Uses the legacy switch function. More...
 
static bool BATCHMODE = Constants.DEFAULT_BATCHMODE
 Enable or disable batch mode for CLI operations. More...
 
static bool QUIT = Constants.DEFAULT_QUIT
 Enable or disable quit Unity Editor for CLI operations. More...
 
static bool NO_GRAPHICS = Constants.DEFAULT_NO_GRAPHICS
 Enable or disable graphics device in Unity Editor for CLI operations. More...
 
static string EXECUTE_METHOD_PRE_SWITCH = string.Empty
 Execute static method 'ClassName.MethodName' in Unity before a switch. More...
 
static string EXECUTE_METHOD = string.Empty
 Execute static method 'ClassName.MethodName' in Unity after a switch. More...
 
static bool COPY_ASSETS = Constants.DEFAULT_COPY_ASSETS
 Enable or disable copying the 'Assets'-folder. More...
 
static bool COPY_LIBRARY = Constants.DEFAULT_COPY_LIBRARY
 Enable or disable copying the 'Library'-folder. More...
 
static bool COPY_SETTINGS = Constants.DEFAULT_COPY_SETTINGS
 Enable or disable copying the 'ProjectSettings'-folder. More...
 
static bool DELETE_LOCKFILE = Constants.DEFAULT_DELETE_LOCKFILE
 Enable or disable deleting the 'UnityLockfile'. More...
 
static bool CONFIRM_SWITCH = Constants.DEFAULT_CONFIRM_SWITCH
 Enable or disable the switch confirmation dialog. More...
 
static bool DEBUG = Constants.DEFAULT_DEBUG
 Enable or disable debug logging for the asset. More...
 
static bool UPDATE_CHECK = Constants.DEFAULT_UPDATE_CHECK
 Enable or disable update-checks for the asset. More...
 
static bool COMPILE_DEFINES = Constants.DEFAULT_COMPILE_DEFINES
 Enable or disable adding compile define "CT_TPS" for the asset. More...
 
static bool PLATFORM_WINDOWS
 Enable or disable the Windows platform. More...
 
static bool PLATFORM_MAC
 Enable or disable the macOS platform. More...
 
static bool PLATFORM_LINUX
 Enable or disable the Linux platform. More...
 
static bool PLATFORM_ANDROID
 Enable or disable the Android platform. More...
 
static bool PLATFORM_IOS
 Enable or disable the iOS platform. More...
 
static bool PLATFORM_WSA
 Enable or disable the WSA platform. More...
 
static bool PLATFORM_WEBGL
 Enable or disable the WebGL platform. More...
 
static bool PLATFORM_TVOS
 Enable or disable the tvOS platform. More...
 
static bool PLATFORM_PS4
 Enable or disable the PS4 platform. More...
 
static bool PLATFORM_XBOXONE
 Enable or disable the XBoxOne platform. More...
 
static bool PLATFORM_SWITCH
 Enable or disable the Nintendo Switch platform. More...
 
static int ARCH_WINDOWS = Constants.DEFAULT_ARCH_WINDOWS
 Architecture of the Windows platform. More...
 
static int ARCH_LINUX = Constants.DEFAULT_ARCH_LINUX
 Architecture of the Linux platform. More...
 
static int TEX_ANDROID = Constants.DEFAULT_TEX_ANDROID
 Texture format of the Android platform. More...
 
static bool SHOW_DELETE = false
 Shows or hides the delete button for the cache. More...
 
static bool SHOW_COLUMN_PLATFORM = Constants.DEFAULT_SHOW_COLUMN_PLATFORM
 Shows or hides the column for the platform. More...
 
static bool SHOW_COLUMN_PLATFORM_LOGO = Constants.DEFAULT_SHOW_COLUMN_PLATFORM_LOGO
 Shows or hides the column for the platform. More...
 
static bool SHOW_COLUMN_ARCHITECTURE = Constants.DEFAULT_SHOW_COLUMN_ARCHITECTURE
 Shows or hides the column for the architecture. More...
 
static bool SHOW_COLUMN_TEXTURE = Constants.DEFAULT_SHOW_COLUMN_TEXTURE
 Shows or hides the column for the texture format. More...
 
static bool SHOW_COLUMN_CACHE = Constants.DEFAULT_SHOW_COLUMN_CACHE
 Shows or hides the column for the cache. More...
 
static System.DateTime SWITCH_DATE
 Last switch date. More...
 
static System.DateTime SETUP_DATE
 Last setup date. More...
 
static bool AUTO_SAVE = Constants.DEFAULT_AUTO_SAVE
 Enable or disable automatic saving of all scenes. More...
 
static bool isLoaded
 Is the configuration loaded? More...
 

Properties

static string? PATH_CACHE [get, set]
 
static int VCS [get, set]
 Selected VCS-system (default: 0, 0 = none, 1 = git, 2 = SVN, 3 Mercurial, 4 = Collab, 5 = PlasticSCM). More...
 
static int THREADS [get, set]
 Threads for the switch operation (range: 2-128). More...
 
static string ASSET_PATH [get]
 Returns the path to the asset inside the Unity project. More...
 

Detailed Description

Configuration for the asset.

Member Function Documentation

◆ Load()

static void Crosstales.TPS.Util.Config.Load ( )
static

Loads the all changeable variables.

◆ Reset()

static void Crosstales.TPS.Util.Config.Reset ( )
static

Resets all changeable variables to their default value.

◆ Save()

static void Crosstales.TPS.Util.Config.Save ( )
static

Saves the all changeable variables.

Member Data Documentation

◆ ARCH_LINUX

int Crosstales.TPS.Util.Config.ARCH_LINUX = Constants.DEFAULT_ARCH_LINUX
static

Architecture of the Linux platform.

◆ ARCH_WINDOWS

int Crosstales.TPS.Util.Config.ARCH_WINDOWS = Constants.DEFAULT_ARCH_WINDOWS
static

Architecture of the Windows platform.

◆ AUTO_SAVE

bool Crosstales.TPS.Util.Config.AUTO_SAVE = Constants.DEFAULT_AUTO_SAVE
static

Enable or disable automatic saving of all scenes.

◆ BATCHMODE

bool Crosstales.TPS.Util.Config.BATCHMODE = Constants.DEFAULT_BATCHMODE
static

Enable or disable batch mode for CLI operations.

◆ COMPILE_DEFINES

bool Crosstales.TPS.Util.Config.COMPILE_DEFINES = Constants.DEFAULT_COMPILE_DEFINES
static

Enable or disable adding compile define "CT_TPS" for the asset.

◆ CONFIRM_SWITCH

bool Crosstales.TPS.Util.Config.CONFIRM_SWITCH = Constants.DEFAULT_CONFIRM_SWITCH
static

Enable or disable the switch confirmation dialog.

◆ COPY_ASSETS

bool Crosstales.TPS.Util.Config.COPY_ASSETS = Constants.DEFAULT_COPY_ASSETS
static

Enable or disable copying the 'Assets'-folder.

◆ COPY_LIBRARY

bool Crosstales.TPS.Util.Config.COPY_LIBRARY = Constants.DEFAULT_COPY_LIBRARY
static

Enable or disable copying the 'Library'-folder.

◆ COPY_SETTINGS

bool Crosstales.TPS.Util.Config.COPY_SETTINGS = Constants.DEFAULT_COPY_SETTINGS
static

Enable or disable copying the 'ProjectSettings'-folder.

◆ CUSTOM_PATH_CACHE

bool Crosstales.TPS.Util.Config.CUSTOM_PATH_CACHE = Constants.DEFAULT_CUSTOM_PATH_CACHE
static

Enable or disable custom location for the cache.

◆ DEBUG

bool Crosstales.TPS.Util.Config.DEBUG = Constants.DEFAULT_DEBUG
static

Enable or disable debug logging for the asset.

◆ DELETE_LOCKFILE

bool Crosstales.TPS.Util.Config.DELETE_LOCKFILE = Constants.DEFAULT_DELETE_LOCKFILE
static

Enable or disable deleting the 'UnityLockfile'.

◆ EXECUTE_METHOD

string Crosstales.TPS.Util.Config.EXECUTE_METHOD = string.Empty
static

Execute static method 'ClassName.MethodName' in Unity after a switch.

◆ EXECUTE_METHOD_PRE_SWITCH

string Crosstales.TPS.Util.Config.EXECUTE_METHOD_PRE_SWITCH = string.Empty
static

Execute static method 'ClassName.MethodName' in Unity before a switch.

◆ isLoaded

bool Crosstales.TPS.Util.Config.isLoaded
static

Is the configuration loaded?

◆ NO_GRAPHICS

bool Crosstales.TPS.Util.Config.NO_GRAPHICS = Constants.DEFAULT_NO_GRAPHICS
static

Enable or disable graphics device in Unity Editor for CLI operations.

◆ PLATFORM_ANDROID

bool Crosstales.TPS.Util.Config.PLATFORM_ANDROID
static

Enable or disable the Android platform.

◆ PLATFORM_IOS

bool Crosstales.TPS.Util.Config.PLATFORM_IOS
static

Enable or disable the iOS platform.

◆ PLATFORM_LINUX

bool Crosstales.TPS.Util.Config.PLATFORM_LINUX
static

Enable or disable the Linux platform.

◆ PLATFORM_MAC

bool Crosstales.TPS.Util.Config.PLATFORM_MAC
static

Enable or disable the macOS platform.

◆ PLATFORM_PS4

bool Crosstales.TPS.Util.Config.PLATFORM_PS4
static

Enable or disable the PS4 platform.

◆ PLATFORM_SWITCH

bool Crosstales.TPS.Util.Config.PLATFORM_SWITCH
static

Enable or disable the Nintendo Switch platform.

◆ PLATFORM_TVOS

bool Crosstales.TPS.Util.Config.PLATFORM_TVOS
static

Enable or disable the tvOS platform.

◆ PLATFORM_WEBGL

bool Crosstales.TPS.Util.Config.PLATFORM_WEBGL
static

Enable or disable the WebGL platform.

◆ PLATFORM_WINDOWS

bool Crosstales.TPS.Util.Config.PLATFORM_WINDOWS
static

Enable or disable the Windows platform.

◆ PLATFORM_WSA

bool Crosstales.TPS.Util.Config.PLATFORM_WSA
static

Enable or disable the WSA platform.

◆ PLATFORM_XBOXONE

bool Crosstales.TPS.Util.Config.PLATFORM_XBOXONE
static

Enable or disable the XBoxOne platform.

◆ QUIT

bool Crosstales.TPS.Util.Config.QUIT = Constants.DEFAULT_QUIT
static

Enable or disable quit Unity Editor for CLI operations.

◆ SETUP_DATE

System.DateTime Crosstales.TPS.Util.Config.SETUP_DATE
static

Last setup date.

◆ SHOW_COLUMN_ARCHITECTURE

bool Crosstales.TPS.Util.Config.SHOW_COLUMN_ARCHITECTURE = Constants.DEFAULT_SHOW_COLUMN_ARCHITECTURE
static

Shows or hides the column for the architecture.

◆ SHOW_COLUMN_CACHE

bool Crosstales.TPS.Util.Config.SHOW_COLUMN_CACHE = Constants.DEFAULT_SHOW_COLUMN_CACHE
static

Shows or hides the column for the cache.

◆ SHOW_COLUMN_PLATFORM

bool Crosstales.TPS.Util.Config.SHOW_COLUMN_PLATFORM = Constants.DEFAULT_SHOW_COLUMN_PLATFORM
static

Shows or hides the column for the platform.

◆ SHOW_COLUMN_PLATFORM_LOGO

bool Crosstales.TPS.Util.Config.SHOW_COLUMN_PLATFORM_LOGO = Constants.DEFAULT_SHOW_COLUMN_PLATFORM_LOGO
static

Shows or hides the column for the platform.

◆ SHOW_COLUMN_TEXTURE

bool Crosstales.TPS.Util.Config.SHOW_COLUMN_TEXTURE = Constants.DEFAULT_SHOW_COLUMN_TEXTURE
static

Shows or hides the column for the texture format.

◆ SHOW_DELETE

bool Crosstales.TPS.Util.Config.SHOW_DELETE = false
static

Shows or hides the delete button for the cache.

◆ SWITCH_DATE

System.DateTime Crosstales.TPS.Util.Config.SWITCH_DATE
static

Last switch date.

◆ TEX_ANDROID

int Crosstales.TPS.Util.Config.TEX_ANDROID = Constants.DEFAULT_TEX_ANDROID
static

Texture format of the Android platform.

◆ UPDATE_CHECK

bool Crosstales.TPS.Util.Config.UPDATE_CHECK = Constants.DEFAULT_UPDATE_CHECK
static

Enable or disable update-checks for the asset.

◆ USE_LEGACY

bool Crosstales.TPS.Util.Config.USE_LEGACY = Constants.DEFAULT_USE_LEGACY
static

Uses the legacy switch function.

Property Documentation

◆ ASSET_PATH

string Crosstales.TPS.Util.Config.ASSET_PATH
staticget

Returns the path to the asset inside the Unity project.

Returns
The path to the asset inside the Unity project.

◆ THREADS

int Crosstales.TPS.Util.Config.THREADS
staticgetset

Threads for the switch operation (range: 2-128).

◆ VCS

int Crosstales.TPS.Util.Config.VCS
staticgetset

Selected VCS-system (default: 0, 0 = none, 1 = git, 2 = SVN, 3 Mercurial, 4 = Collab, 5 = PlasticSCM).


The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/TurboSwitch/TurboSwitch/Assets/Plugins/crosstales/TurboSwitch/Scripts/Editor/Util/Config.cs