public void Close() { loop.Destroy(); loop = null; lua.Dispose(); lua = null; loader = null; }
void StartLooper() { loop = gameObject.AddComponent<LuaLooper>(); loop.luaState = lua; }