protected override ActionResult PerformActionImplementation()
        {
            var res = Lightmapping.RebuildMissingLightmapUVs(Object.FindObjectsOfType <ProBuilderMesh>(), true);

            if (res < 1)
            {
                return(new ActionResult(ActionResult.Status.Success, "No Missing Lightmap UVs Found"));
            }

            return(new ActionResult(ActionResult.Status.Success, "Generate Lightmap UVs\n" +
                                    (res > 1 ? string.Format("for {0} objects", res) : "for 1 object")));
        }