public Ray CheckRay() { try { return luaState.CheckRay(stackPos++); } catch (Exception e) { EndPCall(); throw e; } }