TryEnableOnDemandGC();
#endif
Application.lowMemory += () => {
GarbageCollector.GCMode = GarbageCollector.Mode.Enabled;
#if !UNITY_EDITOR
TryDisableOnDemandGC();
GarbageCollector.GCMode = GarbageCollector.Mode.Disabled;
};