public static int GetAxisRaw(IntPtr l) { int result; try { BaseInput baseInput = (BaseInput)LuaObject.checkSelf(l); string axisName; LuaObject.checkType(l, 2, out axisName); float axisRaw = baseInput.GetAxisRaw(axisName); LuaObject.pushValue(l, true); LuaObject.pushValue(l, axisRaw); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return result; }