Initial commit: AIGame Unity client with URP, HybridCLR, YooAsset and tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-09-21 14:21:07 +08:00
co-authored by Cursor
commit f3f66ab063
931 changed files with 112366 additions and 0 deletions
@@ -0,0 +1,20 @@
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>
interface ICommandDiscovery
{
/// <summary>
/// Find all methods marked with CliCommand attribute.
/// Implementation uses TypeCache in Editor or reflection fallback in Runtime.
/// </summary>
/// <typeparam name="T">The attribute type to search for.</typeparam>
/// <returns>The matching methods.</returns>
IEnumerable<MethodInfo> GetMethodsWithAttribute<T>() where T : System.Attribute;
}
}