Init
This commit is contained in:
95
Assets/HybridCLRGenerate/AOTGenericReferences.cs
Normal file
95
Assets/HybridCLRGenerate/AOTGenericReferences.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
using System.Collections.Generic;
|
||||
public class AOTGenericReferences : UnityEngine.MonoBehaviour
|
||||
{
|
||||
|
||||
// {{ AOT assemblies
|
||||
public static readonly IReadOnlyList<string> PatchedAOTAssemblyList = new List<string>
|
||||
{
|
||||
"Cinemachine.dll",
|
||||
"System.Core.dll",
|
||||
"System.dll",
|
||||
"Unity.InputSystem.dll",
|
||||
"Unity.ResourceManager.dll",
|
||||
"UnityEngine.CoreModule.dll",
|
||||
"mscorlib.dll",
|
||||
};
|
||||
// }}
|
||||
|
||||
// {{ constraint implement type
|
||||
// }}
|
||||
|
||||
// {{ AOT generic types
|
||||
// DelegateList<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>>
|
||||
// DelegateList<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle>
|
||||
// DelegateList<float>
|
||||
// System.Action<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle,object>
|
||||
// System.Action<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>>
|
||||
// System.Action<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle>
|
||||
// System.Action<float>
|
||||
// System.Action<object>
|
||||
// System.Collections.Generic.ArraySortHelper<object>
|
||||
// System.Collections.Generic.Comparer<object>
|
||||
// System.Collections.Generic.EqualityComparer<object>
|
||||
// System.Collections.Generic.HashSet.Enumerator<object>
|
||||
// System.Collections.Generic.HashSet<object>
|
||||
// System.Collections.Generic.ICollection<object>
|
||||
// System.Collections.Generic.IComparer<object>
|
||||
// System.Collections.Generic.IEnumerable<object>
|
||||
// System.Collections.Generic.IEnumerator<object>
|
||||
// System.Collections.Generic.IEqualityComparer<object>
|
||||
// System.Collections.Generic.IList<object>
|
||||
// System.Collections.Generic.LinkedList.Enumerator<object>
|
||||
// System.Collections.Generic.LinkedList<object>
|
||||
// System.Collections.Generic.LinkedListNode<object>
|
||||
// System.Collections.Generic.List.Enumerator<object>
|
||||
// System.Collections.Generic.List<object>
|
||||
// System.Collections.Generic.ObjectComparer<object>
|
||||
// System.Collections.Generic.ObjectEqualityComparer<object>
|
||||
// System.Collections.ObjectModel.ReadOnlyCollection<object>
|
||||
// System.Comparison<object>
|
||||
// System.Func<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// System.Func<object,UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// System.Func<object,object>
|
||||
// System.Func<object>
|
||||
// System.Predicate<object>
|
||||
// System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter<object>
|
||||
// System.Runtime.CompilerServices.ConfiguredTaskAwaitable<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// System.Runtime.CompilerServices.ConfiguredTaskAwaitable<object>
|
||||
// System.Runtime.CompilerServices.TaskAwaiter<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// System.Runtime.CompilerServices.TaskAwaiter<object>
|
||||
// System.Threading.Tasks.Task<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// System.Threading.Tasks.Task<object>
|
||||
// System.Threading.Tasks.TaskCompletionSource<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// System.Threading.Tasks.TaskCompletionSource<object>
|
||||
// UnityEngine.InputSystem.InputBindingComposite<UnityEngine.Vector2>
|
||||
// UnityEngine.InputSystem.InputBindingComposite<float>
|
||||
// UnityEngine.InputSystem.InputControl<UnityEngine.Vector2>
|
||||
// UnityEngine.InputSystem.InputControl<float>
|
||||
// UnityEngine.InputSystem.InputProcessor<UnityEngine.Vector2>
|
||||
// UnityEngine.InputSystem.InputProcessor<float>
|
||||
// UnityEngine.InputSystem.Utilities.InlinedArray<object>
|
||||
// UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase.<>c__DisplayClass60_0<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase.<>c__DisplayClass61_0<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle.<>c<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>
|
||||
// UnityEngine.ResourceManagement.Util.GlobalLinkedListNodeCache<object>
|
||||
// UnityEngine.ResourceManagement.Util.LinkedListNodeCache<object>
|
||||
// }}
|
||||
|
||||
public void RefMethods()
|
||||
{
|
||||
// object Cinemachine.CinemachineVirtualCamera.GetCinemachineComponent<object>()
|
||||
// System.Void* Unity.Collections.LowLevel.Unsafe.UnsafeUtility.AddressOf<UnityEngine.Vector2>(UnityEngine.Vector2&)
|
||||
// System.Void* Unity.Collections.LowLevel.Unsafe.UnsafeUtility.AddressOf<float>(float&)
|
||||
// int Unity.Collections.LowLevel.Unsafe.UnsafeUtility.SizeOf<UnityEngine.Vector2>()
|
||||
// int Unity.Collections.LowLevel.Unsafe.UnsafeUtility.SizeOf<float>()
|
||||
// UnityEngine.Vector2 UnityEngine.InputSystem.InputAction.CallbackContext.ReadValue<UnityEngine.Vector2>()
|
||||
// float UnityEngine.InputSystem.InputAction.CallbackContext.ReadValue<float>()
|
||||
// UnityEngine.Vector2 UnityEngine.InputSystem.InputActionState.ApplyProcessors<UnityEngine.Vector2>(int,UnityEngine.Vector2,UnityEngine.InputSystem.InputControl<UnityEngine.Vector2>)
|
||||
// float UnityEngine.InputSystem.InputActionState.ApplyProcessors<float>(int,float,UnityEngine.InputSystem.InputControl<float>)
|
||||
// UnityEngine.Vector2 UnityEngine.InputSystem.InputActionState.ReadValue<UnityEngine.Vector2>(int,int,bool)
|
||||
// float UnityEngine.InputSystem.InputActionState.ReadValue<float>(int,int,bool)
|
||||
}
|
||||
}
|
||||
11
Assets/HybridCLRGenerate/AOTGenericReferences.cs.meta
Normal file
11
Assets/HybridCLRGenerate/AOTGenericReferences.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce5fc34759942a8489a3bf1e2e5f65a3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
61
Assets/HybridCLRGenerate/link.xml
Normal file
61
Assets/HybridCLRGenerate/link.xml
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<linker>
|
||||
<assembly fullname="Cinemachine">
|
||||
<type fullname="Cinemachine.AxisState" preserve="all" />
|
||||
<type fullname="Cinemachine.CinemachineFramingTransposer" preserve="all" />
|
||||
<type fullname="Cinemachine.CinemachinePOV" preserve="all" />
|
||||
<type fullname="Cinemachine.CinemachineVirtualCamera" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="System">
|
||||
<type fullname="System.CodeDom.Compiler.GeneratedCodeAttribute" preserve="all" />
|
||||
<type fullname="System.ComponentModel.EditorBrowsableAttribute" preserve="all" />
|
||||
<type fullname="System.ComponentModel.EditorBrowsableState" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="Unity.Addressables">
|
||||
<type fullname="UnityEngine.AddressableAssets.Addressables" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="Unity.InputSystem">
|
||||
<type fullname="UnityEngine.InputSystem.InputAction" preserve="all" />
|
||||
<type fullname="UnityEngine.InputSystem.InputAction/CallbackContext" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="Unity.ResourceManager">
|
||||
<type fullname="UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1" preserve="all" />
|
||||
<type fullname="UnityEngine.ResourceManagement.ResourceProviders.SceneInstance" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="UnityEngine.AnimationModule">
|
||||
<type fullname="UnityEngine.Animator" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="UnityEngine.CoreModule">
|
||||
<type fullname="UnityEngine.Cursor" preserve="all" />
|
||||
<type fullname="UnityEngine.CursorLockMode" preserve="all" />
|
||||
<type fullname="UnityEngine.Debug" preserve="all" />
|
||||
<type fullname="UnityEngine.HeaderAttribute" preserve="all" />
|
||||
<type fullname="UnityEngine.Mathf" preserve="all" />
|
||||
<type fullname="UnityEngine.MonoBehaviour" preserve="all" />
|
||||
<type fullname="UnityEngine.Object" preserve="all" />
|
||||
<type fullname="UnityEngine.Quaternion" preserve="all" />
|
||||
<type fullname="UnityEngine.SceneManagement.LoadSceneMode" preserve="all" />
|
||||
<type fullname="UnityEngine.Time" preserve="all" />
|
||||
<type fullname="UnityEngine.Transform" preserve="all" />
|
||||
<type fullname="UnityEngine.Vector2" preserve="all" />
|
||||
<type fullname="UnityEngine.Vector3" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="UnityEngine.PhysicsModule">
|
||||
<type fullname="UnityEngine.CharacterController" preserve="all" />
|
||||
<type fullname="UnityEngine.CollisionFlags" preserve="all" />
|
||||
</assembly>
|
||||
<assembly fullname="mscorlib">
|
||||
<type fullname="System.Action`1" preserve="all" />
|
||||
<type fullname="System.Array" preserve="all" />
|
||||
<type fullname="System.Byte" preserve="all" />
|
||||
<type fullname="System.Diagnostics.DebuggableAttribute" preserve="all" />
|
||||
<type fullname="System.Diagnostics.DebuggableAttribute/DebuggingModes" preserve="all" />
|
||||
<type fullname="System.Object" preserve="all" />
|
||||
<type fullname="System.Runtime.CompilerServices.CompilationRelaxationsAttribute" preserve="all" />
|
||||
<type fullname="System.Runtime.CompilerServices.CompilerGeneratedAttribute" preserve="all" />
|
||||
<type fullname="System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" preserve="all" />
|
||||
<type fullname="System.Runtime.CompilerServices.RuntimeHelpers" preserve="all" />
|
||||
<type fullname="System.RuntimeFieldHandle" preserve="all" />
|
||||
<type fullname="System.ValueType" preserve="all" />
|
||||
</assembly>
|
||||
</linker>
|
||||
7
Assets/HybridCLRGenerate/link.xml.meta
Normal file
7
Assets/HybridCLRGenerate/link.xml.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 44602a054dc97b648bcbb2f04400e2b8
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user