private void Update() { if (Time.time - lastGCTime > GCInterval) { LuaEngine.Tick(); lastGCTime = Time.time; } }