예제 #1
0
 static int StopAllAndReset(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         BCTweenGroup obj = (BCTweenGroup)ToLua.CheckObject <BCTweenGroup>(L, 1);
         obj.StopAllAndReset();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #2
0
 static int PlayForwardForce(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         BCTweenGroup obj = (BCTweenGroup)ToLua.CheckObject <BCTweenGroup>(L, 1);
         obj.PlayForwardForce();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #3
0
 static int SetCurrentValueToEnd(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         BCTweenGroup obj = (BCTweenGroup)ToLua.CheckObject <BCTweenGroup>(L, 1);
         obj.SetCurrentValueToEnd();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #4
0
 static int PlayForceNextFrame(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         BCTweenGroup obj  = (BCTweenGroup)ToLua.CheckObject <BCTweenGroup>(L, 1);
         bool         arg0 = LuaDLL.luaL_checkboolean(L, 2);
         obj.PlayForceNextFrame(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #5
0
    static int set_tweenGroup(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            BCTweenGroup obj = (BCTweenGroup)o;
            System.Collections.Generic.List <BCUITweener> arg0 = (System.Collections.Generic.List <BCUITweener>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <BCUITweener>));
            obj.tweenGroup = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index tweenGroup on a nil value"));
        }
    }
예제 #6
0
    static int get_tweenGroup(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            BCTweenGroup obj = (BCTweenGroup)o;
            System.Collections.Generic.List <BCUITweener> ret = obj.tweenGroup;
            ToLua.PushSealed(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index tweenGroup on a nil value"));
        }
    }
 void OnEnable()
 {
     _target = target as BCTweenGroup;
 }