Add Unity Pipeline package support

This commit is contained in:
ud18010
2026-07-31 17:34:04 +08:00
parent d1a526094e
commit 786b7ffff9
590 changed files with 51995 additions and 2 deletions
@@ -0,0 +1,18 @@
using System.Collections.Generic;
using System.Reflection;
namespace Unity.Pipeline.Commands
{
/// <summary>
/// Interface for command discovery mechanism.
/// Allows Runtime assembly to discover commands without directly using Editor APIs.
/// </summary>
public interface ICommandDiscovery
{
/// <summary>
/// Find all methods marked with CliCommand attribute.
/// Implementation uses TypeCache in Editor or reflection fallback in Runtime.
/// </summary>
IEnumerable<MethodInfo> GetMethodsWithAttribute<T>() where T : System.Attribute;
}
}