static int SetEndToCurrentValue(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UITweener obj = LuaScriptMgr.GetNetObject <UITweener>(L, 1); obj.SetEndToCurrentValue(); return(0); }
static int SetEndToCurrentValue(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UITweener obj = (UITweener)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UITweener"); obj.SetEndToCurrentValue(); return(0); }
static public int SetEndToCurrentValue(IntPtr l) { try { UITweener self = (UITweener)checkSelf(l); self.SetEndToCurrentValue(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int SetEndToCurrentValue(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UITweener obj = (UITweener)ToLua.CheckObject(L, 1, typeof(UITweener)); obj.SetEndToCurrentValue(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
private static int SetEndToCurrentValue(IntPtr L) { int result; try { ToLua.CheckArgsCount(L, 1); UITweener uITweener = (UITweener)ToLua.CheckObject(L, 1, typeof(UITweener)); uITweener.SetEndToCurrentValue(); result = 0; } catch (Exception e) { result = LuaDLL.toluaL_exception(L, e, null); } return(result); }
public static int SetEndToCurrentValue(IntPtr l) { int result; try { UITweener uITweener = (UITweener)LuaObject.checkSelf(l); uITweener.SetEndToCurrentValue(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
static int _m_SetEndToCurrentValue(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UITweener __cl_gen_to_be_invoked = (UITweener)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.SetEndToCurrentValue( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
void OnEnable() { tweener.enabled = true; tweener.SetStartToCurrentValue(); tweener.SetEndToCurrentValue(); }