static int get_useUpdate(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BCTweenAnything obj = (BCTweenAnything)o; bool ret = obj.useUpdate; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index useUpdate on a nil value")); } }
static int get_onUpdateEvents(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BCTweenAnything obj = (BCTweenAnything)o; UnityEngine.Events.UnityEvent ret = obj.onUpdateEvents; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onUpdateEvents on a nil value")); } }
static int get_to(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BCTweenAnything obj = (BCTweenAnything)o; UnityEngine.Vector4 ret = obj.to; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index to on a nil value")); } }
static int set_value(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BCTweenAnything obj = (BCTweenAnything)o; UnityEngine.Vector4 arg0 = ToLua.ToVector4(L, 2); obj.value = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index value on a nil value")); } }
static int set_useUpdate(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BCTweenAnything obj = (BCTweenAnything)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.useUpdate = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index useUpdate on a nil value")); } }
static int set_onUpdateEvents(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BCTweenAnything obj = (BCTweenAnything)o; UnityEngine.Events.UnityEvent arg0 = (UnityEngine.Events.UnityEvent)ToLua.CheckObject <UnityEngine.Events.UnityEvent>(L, 2); obj.onUpdateEvents = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onUpdateEvents on a nil value")); } }
void init() { tw = target as BCTweenAnything; //var serializedObject = new UnityEditor.SerializedObject(tw); onUpdateEvents = serializedObject.FindProperty("onUpdateEvents"); }