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,23 @@
using System.Collections;
using UnityEngine;
// COMPILED TWINS for the transform tests' source-string fixtures. The transformer decides
// "is this whole type NEW?" by looking the class up in the compilation's references
// (SourceCodeTransformer.FindCompiledType) — a type with no compiled twin gets every method
// co-emitted and its receiver parameter degraded to `object` (it exists in no reference).
// The tests' fixtures describe the NORMAL live-edit flow, where the type IS compiled in the
// running build, so their twins must exist here — with the same method names, or those
// methods would classify as newly added instead of overrides.
//
// Nothing instantiates these; only their metadata matters.
class Demo : MonoBehaviour
{
public float speed = 1f;
void Tick() { }
}
class CoDemo : MonoBehaviour
{
public int step;
IEnumerator Run() { yield return null; }
}