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_BUILD = Constants.DEFAULT_CUSTOM_PATH_BUILD
 Enable or disable custom location for the cache. More...
 
static bool ADD_NAME_TO_PATH = Constants.DEFAULT_ADD_NAME_TO_PATH
 Enable or disable adding the product name to the build path. More...
 
static bool ADD_VERSION_TO_PATH = Constants.DEFAULT_ADD_VERSION_TO_PATH
 Enable or disable adding the product version to the build path. More...
 
static bool ADD_DATE_TO_PATH = Constants.DEFAULT_ADD_DATE_TO_PATH
 Enable or disable adding the current date and time to the build path. More...
 
static string DATE_FORMAT = Constants.DEFAULT_DATE_FORMAT
 The date format for the builds. More...
 
static string EXECUTE_METHOD_PRE_BUILDING = string.Empty
 Execute static method 'ClassName.MethodName' in Unity before building. More...
 
static string EXECUTE_METHOD_POST_BUILDING = string.Empty
 Execute static method 'ClassName.MethodName' in Unity after building. More...
 
static string EXECUTE_METHOD_PRE_BUILD = string.Empty
 Execute static method 'ClassName.MethodName' in Unity before a build. More...
 
static string EXECUTE_METHOD_POST_BUILD = string.Empty
 Execute static method 'ClassName.MethodName>' in Unity after a build. More...
 
static string EXECUTE_METHOD_PRE_BUILD_ALL = string.Empty
 Execute static method 'ClassName.MethodName' in Unity before all builds. More...
 
static string EXECUTE_METHOD_POST_BUILD_ALL = string.Empty
 Execute static method 'ClassName.MethodName>' in Unity after all builds. More...
 
static bool DELETE_LOCKFILE = Constants.DEFAULT_DELETE_LOCKFILE
 Enable or disable deleting the 'UnityLockfile'. More...
 
static bool CONFIRM_BUILD = Constants.DEFAULT_CONFIRM_BUILD
 Enable or disable the build 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_TPB" 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_PS5
 Enable or disable the PS5 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 BO_SHOW_BUILT_PLAYER = Constants.DEFAULT_BO_SHOW_BUILT_PLAYER
 Enable or disable 'BuildOptions.ShowBuiltPlayer'. More...
 
static bool BO_DEVELOPMENT = Constants.DEFAULT_BO_DEVELOPMENT
 Enable or disable 'BuildOptions.Development'. More...
 
static bool BO_PROFILER = Constants.DEFAULT_BO_PROFILER
 Enable or disable 'BuildOptions.ConnectWithProfiler'. More...
 
static bool BO_SCRIPTDEBUG = Constants.DEFAULT_BO_SCRIPTDEBUG
 Enable or disable 'BuildOptions.AllowDebugging'. More...
 
static bool BO_COMPRESS = Constants.DEFAULT_BO_COMPRESS
 Enable or disable compressing the build result as ZIP. More...
 
static CompressionData BO_DATA_COMPRESSION = Constants.DEFAULT_BO_DATA_COMPRESSION
 Enable or disable 'BuildOptions.CompressWithLz4'. More...
 
static bool BO_DETAILED_BUILD_REPORT = Constants.DEFAULT_BO_DETAILED_BUILD_REPORT
 Enable or disable 'BuildOptions.DetailedBuildReport'. 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 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_BUILD [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 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.TPB.Util.Config.Load ( )
static

Loads the all changeable variables.

◆ Reset()

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

Resets all changeable variables to their default value.

◆ Save()

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

Saves the all changeable variables.

Member Data Documentation

◆ ADD_DATE_TO_PATH

bool Crosstales.TPB.Util.Config.ADD_DATE_TO_PATH = Constants.DEFAULT_ADD_DATE_TO_PATH
static

Enable or disable adding the current date and time to the build path.

◆ ADD_NAME_TO_PATH

bool Crosstales.TPB.Util.Config.ADD_NAME_TO_PATH = Constants.DEFAULT_ADD_NAME_TO_PATH
static

Enable or disable adding the product name to the build path.

◆ ADD_VERSION_TO_PATH

bool Crosstales.TPB.Util.Config.ADD_VERSION_TO_PATH = Constants.DEFAULT_ADD_VERSION_TO_PATH
static

Enable or disable adding the product version to the build path.

◆ ARCH_LINUX

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

Architecture of the Linux platform.

◆ ARCH_WINDOWS

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

Architecture of the Windows platform.

◆ AUTO_SAVE

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

Enable or disable automatic saving of all scenes.

◆ BO_COMPRESS

bool Crosstales.TPB.Util.Config.BO_COMPRESS = Constants.DEFAULT_BO_COMPRESS
static

Enable or disable compressing the build result as ZIP.

◆ BO_DATA_COMPRESSION

CompressionData Crosstales.TPB.Util.Config.BO_DATA_COMPRESSION = Constants.DEFAULT_BO_DATA_COMPRESSION
static

Enable or disable 'BuildOptions.CompressWithLz4'.

◆ BO_DETAILED_BUILD_REPORT

bool Crosstales.TPB.Util.Config.BO_DETAILED_BUILD_REPORT = Constants.DEFAULT_BO_DETAILED_BUILD_REPORT
static

Enable or disable 'BuildOptions.DetailedBuildReport'.

◆ BO_DEVELOPMENT

bool Crosstales.TPB.Util.Config.BO_DEVELOPMENT = Constants.DEFAULT_BO_DEVELOPMENT
static

Enable or disable 'BuildOptions.Development'.

◆ BO_PROFILER

bool Crosstales.TPB.Util.Config.BO_PROFILER = Constants.DEFAULT_BO_PROFILER
static

Enable or disable 'BuildOptions.ConnectWithProfiler'.

◆ BO_SCRIPTDEBUG

bool Crosstales.TPB.Util.Config.BO_SCRIPTDEBUG = Constants.DEFAULT_BO_SCRIPTDEBUG
static

Enable or disable 'BuildOptions.AllowDebugging'.

◆ BO_SHOW_BUILT_PLAYER

bool Crosstales.TPB.Util.Config.BO_SHOW_BUILT_PLAYER = Constants.DEFAULT_BO_SHOW_BUILT_PLAYER
static

Enable or disable 'BuildOptions.ShowBuiltPlayer'.

◆ COMPILE_DEFINES

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

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

◆ CONFIRM_BUILD

bool Crosstales.TPB.Util.Config.CONFIRM_BUILD = Constants.DEFAULT_CONFIRM_BUILD
static

Enable or disable the build confirmation dialog.

◆ CUSTOM_PATH_BUILD

bool Crosstales.TPB.Util.Config.CUSTOM_PATH_BUILD = Constants.DEFAULT_CUSTOM_PATH_BUILD
static

Enable or disable custom location for the cache.

◆ DATE_FORMAT

string Crosstales.TPB.Util.Config.DATE_FORMAT = Constants.DEFAULT_DATE_FORMAT
static

The date format for the builds.

◆ DEBUG

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

Enable or disable debug logging for the asset.

◆ DELETE_LOCKFILE

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

Enable or disable deleting the 'UnityLockfile'.

◆ EXECUTE_METHOD_POST_BUILD

string Crosstales.TPB.Util.Config.EXECUTE_METHOD_POST_BUILD = string.Empty
static

Execute static method 'ClassName.MethodName>' in Unity after a build.

◆ EXECUTE_METHOD_POST_BUILD_ALL

string Crosstales.TPB.Util.Config.EXECUTE_METHOD_POST_BUILD_ALL = string.Empty
static

Execute static method 'ClassName.MethodName>' in Unity after all builds.

◆ EXECUTE_METHOD_POST_BUILDING

string Crosstales.TPB.Util.Config.EXECUTE_METHOD_POST_BUILDING = string.Empty
static

Execute static method 'ClassName.MethodName' in Unity after building.

◆ EXECUTE_METHOD_PRE_BUILD

string Crosstales.TPB.Util.Config.EXECUTE_METHOD_PRE_BUILD = string.Empty
static

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

◆ EXECUTE_METHOD_PRE_BUILD_ALL

string Crosstales.TPB.Util.Config.EXECUTE_METHOD_PRE_BUILD_ALL = string.Empty
static

Execute static method 'ClassName.MethodName' in Unity before all builds.

◆ EXECUTE_METHOD_PRE_BUILDING

string Crosstales.TPB.Util.Config.EXECUTE_METHOD_PRE_BUILDING = string.Empty
static

Execute static method 'ClassName.MethodName' in Unity before building.

◆ isLoaded

bool Crosstales.TPB.Util.Config.isLoaded
static

Is the configuration loaded?

◆ PLATFORM_ANDROID

bool Crosstales.TPB.Util.Config.PLATFORM_ANDROID
static

Enable or disable the Android platform.

◆ PLATFORM_IOS

bool Crosstales.TPB.Util.Config.PLATFORM_IOS
static

Enable or disable the iOS platform.

◆ PLATFORM_LINUX

bool Crosstales.TPB.Util.Config.PLATFORM_LINUX
static

Enable or disable the Linux platform.

◆ PLATFORM_MAC

bool Crosstales.TPB.Util.Config.PLATFORM_MAC
static

Enable or disable the macOS platform.

◆ PLATFORM_PS4

bool Crosstales.TPB.Util.Config.PLATFORM_PS4
static

Enable or disable the PS4 platform.

◆ PLATFORM_PS5

bool Crosstales.TPB.Util.Config.PLATFORM_PS5
static

Enable or disable the PS5 platform.

◆ PLATFORM_SWITCH

bool Crosstales.TPB.Util.Config.PLATFORM_SWITCH
static

Enable or disable the Nintendo Switch platform.

◆ PLATFORM_TVOS

bool Crosstales.TPB.Util.Config.PLATFORM_TVOS
static

Enable or disable the tvOS platform.

◆ PLATFORM_WEBGL

bool Crosstales.TPB.Util.Config.PLATFORM_WEBGL
static

Enable or disable the WebGL platform.

◆ PLATFORM_WINDOWS

bool Crosstales.TPB.Util.Config.PLATFORM_WINDOWS
static

Enable or disable the Windows platform.

◆ PLATFORM_WSA

bool Crosstales.TPB.Util.Config.PLATFORM_WSA
static

Enable or disable the WSA platform.

◆ PLATFORM_XBOXONE

bool Crosstales.TPB.Util.Config.PLATFORM_XBOXONE
static

Enable or disable the XBoxOne platform.

◆ SHOW_COLUMN_ARCHITECTURE

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

Shows or hides the column for the architecture.

◆ SHOW_COLUMN_PLATFORM

bool Crosstales.TPB.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.TPB.Util.Config.SHOW_COLUMN_PLATFORM_LOGO = Constants.DEFAULT_SHOW_COLUMN_PLATFORM_LOGO
static

Shows or hides the column for the platform.

◆ TEX_ANDROID

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

Texture format of the Android platform.

◆ UPDATE_CHECK

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

Enable or disable update-checks for the asset.

Property Documentation

◆ ASSET_PATH

string Crosstales.TPB.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.

◆ VCS

int Crosstales.TPB.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/TurboBuilder/TurboBuilder/Assets/Plugins/crosstales/TurboBuilder/Scripts/Editor/Util/Config.cs