reflection-method-find

Find C# methods in Unity projects using reflection across all assemblies.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill reflection-method-find-fermisloth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reflection-method-find
Source: https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment/tree/main/.agent/skills/reflection-method-find
Command: npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill reflection-method-find-fermisloth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Locating a specific method inside a large Unity codebase is slow when you only know part of its name, class, or signature. This Skill searches every assembly in the project via C# Reflection and returns matching methods, including private ones, so you can identify the exact target before invoking it. ## Core Features & Use Cases - Reflection-Based Search: Scans all project assemblies to find methods by name, class name, namespace, and parameter signature. - Flexible Match Levels: Configure match strictness (ignore, contains, starts with, equals; case-sensitive or not) independently for type name, method name, and parameters. - Private Method Access: Finds non-public methods that standard IDE search may miss, preparing them for invocation with the reflection-method-call tool. - Use Case: You need to locate a private method named 'HandleInfection' on a class whose namespace you only partially remember. Run the tool with a partial filter and match level 1 to list all candidates, then call the right one. ## Quick Start Ask the AI to find a C# method in the Unity project by providing the method name, class name, or parameter signature using the reflection-method-find tool.

Frequently Asked Questions about reflection-method-find

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find a C# method in a Unity project by name?

Run the reflection-method-find tool with a filter containing the method name or a substring of it. It searches all assemblies in the project and returns matching methods, including private ones, which you can then invoke with reflection-method-call.

Can reflection find private methods in C#?

Yes, this tool uses C# Reflection across all project assemblies, so private and internal methods are discoverable. You can narrow results by specifying the class name, namespace, and parameter types in the filter.

How do I match methods by parameter signature in Unity?

Set parametersMatchLevel to 1 for matching parameter count or 2 for exact parameter type equality, and provide the inputParameters list in the filter. Each parameter specifies a typeName such as System.String or UnityEngine.GameObject.

What should I do if unity-mcp-cli is not found?

Install it globally with npm install -g unity-mcp-cli, or prefix commands with npx unity-mcp-cli. The unity-initial-setup skill contains detailed installation instructions if setup issues persist.

What are the limitations of reflection-based method search?

Reflection search only covers assemblies loaded in the project, so methods in external or dynamically loaded code may not appear. It also returns method references rather than executing them; use reflection-method-call for invocation.