TriLib 2.1.9
|
Represents a class that forces GC collection using a fixed interval. More...
Public Member Functions | |
void | RegisterLoading () |
Indicates a new model is loading. | |
void | UnRegisterLoading (float interval) |
Indicates a model has finished loading or an error occurred. | |
Static Public Member Functions | |
static GCHelper | GetInstance () |
Gets the GCHelper instance and setup the given internal. | |
Public Attributes | |
float | Interval = 0.5f |
The interval to do the GC Collection. | |
Properties | |
static int | LoadingCount [get] |
Gets the number of models using the helper. | |
Represents a class that forces GC collection using a fixed interval.
|
static |
Gets the GCHelper instance and setup the given internal.
void TriLibCore.GCHelper.UnRegisterLoading | ( | float | interval | ) |
Indicates a model has finished loading or an error occurred.
interval | Interval used to decrease the model loading counter. |