chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:49:17 +08:00
commit 7243d5823b
2201 changed files with 257291 additions and 0 deletions
@@ -0,0 +1,24 @@
using System;
using MCPForUnity.Editor.Helpers;
using MCPForUnity.Editor.Tools.Graphics;
using Newtonsoft.Json.Linq;
namespace MCPForUnity.Editor.Resources.Scene
{
[McpForUnityResource("get_renderer_features")]
public static class RendererFeaturesResource
{
public static object HandleCommand(JObject @params)
{
try
{
return RendererFeatureOps.ListFeatures(@params ?? new JObject());
}
catch (Exception e)
{
McpLog.Error($"[RendererFeaturesResource] Error: {e}");
return new ErrorResponse($"Error listing renderer features: {e.Message}");
}
}
}
}