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

        try
        {
            UISpineGraphic uispineGraphic = (UISpineGraphic)LuaObject.checkSelf(l);
            int            trackIndex;
            LuaObject.checkType(l, 2, out trackIndex);
            bool b = uispineGraphic.IsPlayAnimation(trackIndex);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }