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

        try
        {
            UISpineGraphic uispineGraphic = (UISpineGraphic)LuaObject.checkSelf(l);
            Color          color;
            LuaObject.checkType(l, 2, out color);
            uispineGraphic.SetColor(color);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }