Class Core
Inheritance
System.Object
Core
Namespace: GDX
Syntax
[Preserve]
public static class Core
Fields
| Improve this Doc View SourceEmptyObjectArray
An empty System.Object array useful when things require it.
Declaration
public static readonly object[] EmptyObjectArray
Field Value
Type | Description |
---|---|
System.Object[] |
MainThreadID
The main threads identifier.
Declaration
public static int MainThreadID
Field Value
Type | Description |
---|---|
System.Int32 |
OverrideClass
Declaration
public const string OverrideClass = "CustomConfig"
Field Value
Type | Description |
---|---|
System.String |
OverrideMethod
Declaration
public const string OverrideMethod = "Init"
Field Value
Type | Description |
---|---|
System.String |
PerformanceCategory
Declaration
public const string PerformanceCategory = "GDX.Performance"
Field Value
Type | Description |
---|---|
System.String |
Random
A pseudorandom number generated seeded with StartTicks.
Declaration
public static WELL1024a Random
Field Value
Type | Description |
---|---|
WELL1024a |
Remarks
Useful for generic randomness where determinism is not required.
StartTicks
The point in tick based time when the core was initialized.
Declaration
public static readonly long StartTicks
Field Value
Type | Description |
---|---|
System.Int64 |
TestCategory
Declaration
public const string TestCategory = "GDX.Tests"
Field Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceInitializeAtRuntime()
Declaration
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
public static void InitializeAtRuntime()
InitializeOnMainThread()
Main-thread initializer.
Declaration
[InitializeOnLoadMethod]
public static void InitializeOnMainThread()
Remarks
It might be important to call this function if you are using GDX related configurations inside of
another
An example of this sort of usage is in the TaskDirectorSystem.