コード例 #1
0
    public static int SetAnimationTime(IntPtr l)
    {
        int result;

        try
        {
            UISpineGraphic uispineGraphic = (UISpineGraphic)LuaObject.checkSelf(l);
            int            trackIndex;
            LuaObject.checkType(l, 2, out trackIndex);
            float time;
            LuaObject.checkType(l, 3, out time);
            uispineGraphic.SetAnimationTime(trackIndex, time);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }