using System.Collections.Generic; public class AOTGenericReferences : UnityEngine.MonoBehaviour { // {{ AOT assemblies public static readonly IReadOnlyList PatchedAOTAssemblyList = new List { "UnityEngine.CoreModule.dll", "mscorlib.dll", }; // }} // {{ constraint implement type // }} // {{ AOT generic types // System.Action // System.Collections.Generic.ArraySortHelper // System.Collections.Generic.Comparer // System.Collections.Generic.ICollection // System.Collections.Generic.IComparer // System.Collections.Generic.IEnumerable // System.Collections.Generic.IEnumerator // System.Collections.Generic.IList // System.Collections.Generic.List.Enumerator // System.Collections.Generic.List // System.Collections.Generic.ObjectComparer // System.Collections.ObjectModel.ReadOnlyCollection // System.Comparison // System.Predicate // }} public void RefMethods() { // object UnityEngine.GameObject.AddComponent() } }