static public int GetMouseButton(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); var ret = self.GetMouseButton(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }
static public int get_touchSupported(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); pushValue(l, true); pushValue(l, self.touchSupported); return(2); } catch (Exception e) { return(error(l, e)); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }
static public int set_compositionCursorPos(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); UnityEngine.Vector2 v; checkType(l, 2, out v); self.compositionCursorPos = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }
static public int set_imeCompositionMode(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); UnityEngine.IMECompositionMode v; v = (UnityEngine.IMECompositionMode)LuaDLL.luaL_checkinteger(l, 2); self.imeCompositionMode = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }
static public int get_touchCount(IntPtr l) { try { UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); pushValue(l, self.touchCount); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int get_mouseScrollDelta(IntPtr l) { try { UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); pushValue(l, self.mouseScrollDelta); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int get_compositionCursorPos(IntPtr l) { try { UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); pushValue(l, self.compositionCursorPos); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int get_imeCompositionMode(IntPtr l) { try { UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); pushEnum(l, (int)self.imeCompositionMode); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int get_mousePosition(IntPtr l) { try { UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); pushValue(l, true); pushValue(l, self.mousePosition); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { UnityEngine.EventSystems.BaseInput o; o = new UnityEngine.EventSystems.BaseInput(); pushValue(l, o); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_compositionCursorPos(IntPtr l) { try { UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); UnityEngine.Vector2 v; checkType(l, 2, out v); self.compositionCursorPos = v; return(0); } catch (Exception e) { return(error(l, e)); } }
static public int set_imeCompositionMode(IntPtr l) { try { UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); UnityEngine.IMECompositionMode v; checkEnum(l, 2, out v); self.imeCompositionMode = v; return(0); } catch (Exception e) { return(error(l, e)); } }
static public int GetAxisRaw(IntPtr l) { try { UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); System.String a1; checkType(l, 2, out a1); var ret = self.GetAxisRaw(a1); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int GetMouseButtonDown(IntPtr l) { try { UnityEngine.EventSystems.BaseInput self = (UnityEngine.EventSystems.BaseInput)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); var ret = self.GetMouseButtonDown(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static int get_input(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.EventSystems.BaseInputModule obj = (UnityEngine.EventSystems.BaseInputModule)o; UnityEngine.EventSystems.BaseInput ret = obj.input; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index input on a nil value")); } }
static int set_inputOverride(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.EventSystems.BaseInputModule obj = (UnityEngine.EventSystems.BaseInputModule)o; UnityEngine.EventSystems.BaseInput arg0 = (UnityEngine.EventSystems.BaseInput)ToLua.CheckObject <UnityEngine.EventSystems.BaseInput>(L, 2); obj.inputOverride = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index inputOverride on a nil value")); } }