A static utility class that enabled Unity menu methods to toggle Quantum Debug and Release dlls by extracting a zip archive and overwriting the libraries. In earlier versions this was handed by the QUANTUM_DEBUG define and multiple version of dlls but the Quantum.Engine.dll has internal MonoBehaviours that lose the script guids this way. More...
Static Public Member Functions | |
static void | SetToDebug () |
Extracts the Debug versions of Quantum DLLs in the specified directory. More... | |
static bool | SetToDebugCheck () |
Checks if any of the Quantum DLLs are NOT Debug. Use this to check if SetToDebug needs to be called in order to switch to Debug. More... | |
static void | SetToRelease () |
Extracts the Release versions of Quantum DLLs in the specified directory. More... | |
static bool | SetToReleaseCheck () |
Checks if any of the Quantum DLLs are Debug. Use this to check if SetToRelease needs to be called in order to switch to Release. More... | |
Static Public Attributes | |
const string | ExtractToDirectory = QuantumUnityEditorPaths.Root + "/Assemblies" |
Directory where the Quantum DLLs (Debug or Release) are extracted to. More... | |
static bool | IsQuantumDeterministicDllDebug => isQuantumDeterministicDllDebug # GetAssemblyFileVersion<FP>().Contains("Debug") |
Checks if the Debug version of Quantum.Deterministic.dll is being used. More... | |
static bool | IsQuantumEngineDllDebug => isQuantumEngineDllDebug # GetAssemblyFileVersion<Transform2D>().Contains("Debug") |
Checks if the Debug version of Quantum.Engine.dll is being used. More... | |
A static utility class that enabled Unity menu methods to toggle Quantum Debug and Release dlls by extracting a zip archive and overwriting the libraries. In earlier versions this was handed by the QUANTUM_DEBUG define and multiple version of dlls but the Quantum.Engine.dll has internal MonoBehaviours that lose the script guids this way.
|
static |
Checks if any of the Quantum DLLs are NOT Debug. Use this to check if SetToDebug needs to be called in order to switch to Debug.
true
if either Quantum.Deterministic or Quantum.Engine.dll are NOT Debug. false
otherwise.
|
inlinestatic |
Extracts the Debug versions of Quantum DLLs in the specified directory.
|
static |
Checks if any of the Quantum DLLs are Debug. Use this to check if SetToRelease needs to be called in order to switch to Release.
true
if either Quantum.Deterministic or Quantum.Engine.dll are Debug. false
otherwise.
|
inlinestatic |
Extracts the Release versions of Quantum DLLs in the specified directory.
|
static |
Directory where the Quantum DLLs (Debug or Release) are extracted to.
|
static |
Checks if the Debug version of Quantum.Deterministic.dll is being used.
|
static |
Checks if the Debug version of Quantum.Engine.dll is being used.