using System.Collections.Generic; public class AOTGenericReferences : UnityEngine.MonoBehaviour { // {{ AOT assemblies public static readonly IReadOnlyList PatchedAOTAssemblyList = new List { "LitJson.dll", "UnityEngine.AssetBundleModule.dll", "UnityEngine.CoreModule.dll", "mscorlib.dll", }; // }} // {{ constraint implement type // }} // {{ AOT generic types // System.Action // System.Action // System.Collections.Generic.ArraySortHelper // System.Collections.Generic.ArraySortHelper // System.Collections.Generic.Comparer // System.Collections.Generic.Comparer // System.Collections.Generic.Dictionary.Enumerator // System.Collections.Generic.Dictionary.KeyCollection.Enumerator // System.Collections.Generic.Dictionary.KeyCollection // System.Collections.Generic.Dictionary.ValueCollection.Enumerator // System.Collections.Generic.Dictionary.ValueCollection // System.Collections.Generic.Dictionary // System.Collections.Generic.EqualityComparer // System.Collections.Generic.ICollection // System.Collections.Generic.ICollection> // System.Collections.Generic.ICollection // System.Collections.Generic.IComparer // System.Collections.Generic.IComparer // System.Collections.Generic.IDictionary // System.Collections.Generic.IDictionary // System.Collections.Generic.IDictionary // System.Collections.Generic.IDictionary // System.Collections.Generic.IEnumerable // System.Collections.Generic.IEnumerable> // System.Collections.Generic.IEnumerable // System.Collections.Generic.IEnumerator // System.Collections.Generic.IEnumerator> // System.Collections.Generic.IEnumerator // System.Collections.Generic.IEqualityComparer // System.Collections.Generic.IList // System.Collections.Generic.IList // System.Collections.Generic.KeyValuePair // System.Collections.Generic.List.Enumerator // System.Collections.Generic.List.Enumerator // System.Collections.Generic.List // System.Collections.Generic.List // System.Collections.Generic.ObjectComparer // System.Collections.Generic.ObjectComparer // System.Collections.Generic.ObjectEqualityComparer // System.Collections.ObjectModel.ReadOnlyCollection // System.Collections.ObjectModel.ReadOnlyCollection // System.Comparison // System.Comparison // System.Predicate // System.Predicate // System.Runtime.CompilerServices.ConditionalWeakTable.CreateValueCallback // System.Runtime.CompilerServices.ConditionalWeakTable.Enumerator // System.Runtime.CompilerServices.ConditionalWeakTable // UnityEngine.Events.InvokableCall // UnityEngine.Events.UnityAction // UnityEngine.Events.UnityEvent // }} public void RefMethods() { // object LitJson.JsonMapper.ToObject(string) // object UnityEngine.AssetBundle.LoadAsset(string) // object UnityEngine.Component.GetComponent() // object UnityEngine.GameObject.AddComponent() // object UnityEngine.GameObject.GetComponent() // object UnityEngine.Object.FindObjectOfType() // object UnityEngine.Object.Instantiate(object,UnityEngine.Vector3,UnityEngine.Quaternion) } }