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,34 @@
using System.Collections.Generic;
using Newtonsoft.Json;
using Unity.Pipeline.Models;
namespace Unity.Pipeline.Editor.Commands.Assets
{
/// <summary>
/// Structured result for the <c>find_assets</c> command (CLI-191): a list of matched assets, each
/// described as the canonical <see cref="AuthoringResult"/> (path / GUID / type) so an agent can
/// feed any entry straight back into another command as an <see cref="ObjectRef"/>.
///
/// Lives in the Editor command assembly (rather than Runtime/Models) because find_assets is an
/// Editor-only command and the foundation Runtime/Models are shared/frozen for parallel work.
/// </summary>
[System.Serializable]
class FindAssetsResult
{
/// <summary>The AssetDatabase filter string that was executed (for diagnostics).</summary>
[JsonProperty("filter")]
public string Filter { get; set; }
/// <summary>Number of assets returned (after the limit is applied).</summary>
[JsonProperty("count")]
public int Count { get; set; }
/// <summary>True when the result was capped by the <c>limit</c> argument.</summary>
[JsonProperty("truncated")]
public bool Truncated { get; set; }
/// <summary>The matched assets, each with path / GUID / type.</summary>
[JsonProperty("assets")]
public List<AuthoringResult> Assets { get; set; } = new List<AuthoringResult>();
}
}