static int Continue(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); GameFramework.UGUIFlash obj = (GameFramework.UGUIFlash)ToLua.CheckObject <GameFramework.UGUIFlash>(L, 1); obj.Continue(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_res(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.UGUIFlash obj = (GameFramework.UGUIFlash)o; UnityEngine.Sprite[] arg0 = ToLua.CheckObjectArray <UnityEngine.Sprite>(L, 2); obj.res = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index res on a nil value")); } }
static int set_delay(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.UGUIFlash obj = (GameFramework.UGUIFlash)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.delay = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index delay on a nil value")); } }
static int set_disableWhenClose(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.UGUIFlash obj = (GameFramework.UGUIFlash)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.disableWhenClose = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index disableWhenClose on a nil value")); } }
static int set_type(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.UGUIFlash obj = (GameFramework.UGUIFlash)o; GameFramework.UGUIFlash.flashType arg0 = (GameFramework.UGUIFlash.flashType)ToLua.CheckObject(L, 2, typeof(GameFramework.UGUIFlash.flashType)); obj.type = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index type on a nil value")); } }
static int get_res(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.UGUIFlash obj = (GameFramework.UGUIFlash)o; UnityEngine.Sprite[] ret = obj.res; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index res on a nil value")); } }
static int get_disableWhenClose(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.UGUIFlash obj = (GameFramework.UGUIFlash)o; bool ret = obj.disableWhenClose; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index disableWhenClose on a nil value")); } }
static int get_delay(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.UGUIFlash obj = (GameFramework.UGUIFlash)o; float ret = obj.delay; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index delay on a nil value")); } }
static int get_type(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); GameFramework.UGUIFlash obj = (GameFramework.UGUIFlash)o; GameFramework.UGUIFlash.flashType ret = obj.type; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index type on a nil value")); } }