/*
  * Gets an object from the Lua stack according to its Lua type.
  */
 public object getObject(IntPtr luaState, int index)
 {
     return LuaScriptMgr.GetVarObject(luaState, index);
 }