using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.InteropServices; using UnityFusion.CLR.TypeSystem; using UnityFusion.CLR.Method; using UnityFusion.Runtime.Enviorment; using UnityFusion.Runtime.Intepreter; using UnityFusion.Runtime.Stack; using UnityFusion.Reflection; using UnityFusion.CLR.Utils; #if DEBUG && !DISABLE_UNITYFUSION_DEBUG using AutoList = System.Collections.Generic.List; #else using AutoList = UnityFusion.Other.UncheckedList; #endif namespace UnityFusion.Runtime.Generated { unsafe class UnityEngine_ParticleSystemRenderer_Binding { public static void Register(UnityFusion.Runtime.Enviorment.AppDomain app) { BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly; MethodBase method; Type[] args; Type type = typeof(UnityEngine.ParticleSystemRenderer); args = new Type[]{}; method = type.GetMethod("get_alignment", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_alignment_0); args = new Type[]{typeof(UnityEngine.ParticleSystemRenderSpace)}; method = type.GetMethod("set_alignment", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_alignment_1); args = new Type[]{}; method = type.GetMethod("get_renderMode", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_renderMode_2); args = new Type[]{typeof(UnityEngine.ParticleSystemRenderMode)}; method = type.GetMethod("set_renderMode", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_renderMode_3); args = new Type[]{}; method = type.GetMethod("get_meshDistribution", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_meshDistribution_4); args = new Type[]{typeof(UnityEngine.ParticleSystemMeshDistribution)}; method = type.GetMethod("set_meshDistribution", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_meshDistribution_5); args = new Type[]{}; method = type.GetMethod("get_sortMode", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_sortMode_6); args = new Type[]{typeof(UnityEngine.ParticleSystemSortMode)}; method = type.GetMethod("set_sortMode", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_sortMode_7); args = new Type[]{}; method = type.GetMethod("get_lengthScale", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_lengthScale_8); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_lengthScale", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_lengthScale_9); args = new Type[]{}; method = type.GetMethod("get_velocityScale", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_velocityScale_10); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_velocityScale", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_velocityScale_11); args = new Type[]{}; method = type.GetMethod("get_cameraVelocityScale", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_cameraVelocityScale_12); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_cameraVelocityScale", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_cameraVelocityScale_13); args = new Type[]{}; method = type.GetMethod("get_normalDirection", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_normalDirection_14); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_normalDirection", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_normalDirection_15); args = new Type[]{}; method = type.GetMethod("get_shadowBias", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_shadowBias_16); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_shadowBias", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_shadowBias_17); args = new Type[]{}; method = type.GetMethod("get_sortingFudge", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_sortingFudge_18); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_sortingFudge", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_sortingFudge_19); args = new Type[]{}; method = type.GetMethod("get_minParticleSize", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_minParticleSize_20); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_minParticleSize", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_minParticleSize_21); args = new Type[]{}; method = type.GetMethod("get_maxParticleSize", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_maxParticleSize_22); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_maxParticleSize", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_maxParticleSize_23); args = new Type[]{}; method = type.GetMethod("get_pivot", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_pivot_24); args = new Type[]{typeof(UnityEngine.Vector3)}; method = type.GetMethod("set_pivot", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_pivot_25); args = new Type[]{}; method = type.GetMethod("get_flip", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_flip_26); args = new Type[]{typeof(UnityEngine.Vector3)}; method = type.GetMethod("set_flip", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_flip_27); args = new Type[]{}; method = type.GetMethod("get_maskInteraction", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_maskInteraction_28); args = new Type[]{typeof(UnityEngine.SpriteMaskInteraction)}; method = type.GetMethod("set_maskInteraction", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_maskInteraction_29); args = new Type[]{}; method = type.GetMethod("get_trailMaterial", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_trailMaterial_30); args = new Type[]{typeof(UnityEngine.Material)}; method = type.GetMethod("set_trailMaterial", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_trailMaterial_31); args = new Type[]{}; method = type.GetMethod("get_enableGPUInstancing", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_enableGPUInstancing_32); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_enableGPUInstancing", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_enableGPUInstancing_33); args = new Type[]{}; method = type.GetMethod("get_allowRoll", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_allowRoll_34); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_allowRoll", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_allowRoll_35); args = new Type[]{}; method = type.GetMethod("get_freeformStretching", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_freeformStretching_36); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_freeformStretching", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_freeformStretching_37); args = new Type[]{}; method = type.GetMethod("get_rotateWithStretchDirection", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_rotateWithStretchDirection_38); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_rotateWithStretchDirection", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_rotateWithStretchDirection_39); args = new Type[]{}; method = type.GetMethod("get_mesh", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_mesh_40); args = new Type[]{typeof(UnityEngine.Mesh)}; method = type.GetMethod("set_mesh", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_mesh_41); args = new Type[]{typeof(UnityEngine.Mesh[])}; method = type.GetMethod("GetMeshes", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetMeshes_42); args = new Type[]{typeof(UnityEngine.Mesh[]), typeof(System.Int32)}; method = type.GetMethod("SetMeshes", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetMeshes_43); args = new Type[]{typeof(UnityEngine.Mesh[])}; method = type.GetMethod("SetMeshes", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetMeshes_44); args = new Type[]{typeof(System.Single[])}; method = type.GetMethod("GetMeshWeightings", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetMeshWeightings_45); args = new Type[]{typeof(System.Single[]), typeof(System.Int32)}; method = type.GetMethod("SetMeshWeightings", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetMeshWeightings_46); args = new Type[]{typeof(System.Single[])}; method = type.GetMethod("SetMeshWeightings", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetMeshWeightings_47); args = new Type[]{}; method = type.GetMethod("get_meshCount", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_meshCount_48); args = new Type[]{typeof(UnityEngine.Mesh), typeof(UnityEngine.ParticleSystemBakeMeshOptions)}; method = type.GetMethod("BakeMesh", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BakeMesh_49); args = new Type[]{typeof(UnityEngine.Mesh), typeof(UnityEngine.Camera), typeof(UnityEngine.ParticleSystemBakeMeshOptions)}; method = type.GetMethod("BakeMesh", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BakeMesh_50); args = new Type[]{typeof(UnityEngine.Mesh), typeof(UnityEngine.ParticleSystemBakeMeshOptions)}; method = type.GetMethod("BakeTrailsMesh", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BakeTrailsMesh_51); args = new Type[]{typeof(UnityEngine.Mesh), typeof(UnityEngine.Camera), typeof(UnityEngine.ParticleSystemBakeMeshOptions)}; method = type.GetMethod("BakeTrailsMesh", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BakeTrailsMesh_52); args = new Type[]{typeof(UnityEngine.Texture2D).MakeByRefType(), typeof(UnityEngine.ParticleSystemBakeTextureOptions)}; method = type.GetMethod("BakeTexture", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BakeTexture_53); args = new Type[]{typeof(UnityEngine.Texture2D).MakeByRefType(), typeof(UnityEngine.Camera), typeof(UnityEngine.ParticleSystemBakeTextureOptions)}; method = type.GetMethod("BakeTexture", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BakeTexture_54); args = new Type[]{typeof(UnityEngine.Texture2D).MakeByRefType(), typeof(UnityEngine.Texture2D).MakeByRefType(), typeof(UnityEngine.ParticleSystemBakeTextureOptions)}; method = type.GetMethod("BakeTexture", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BakeTexture_55); args = new Type[]{typeof(UnityEngine.Texture2D).MakeByRefType(), typeof(UnityEngine.Texture2D).MakeByRefType(), typeof(UnityEngine.Camera), typeof(UnityEngine.ParticleSystemBakeTextureOptions)}; method = type.GetMethod("BakeTexture", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BakeTexture_56); args = new Type[]{typeof(UnityEngine.Texture2D).MakeByRefType(), typeof(UnityEngine.Texture2D).MakeByRefType(), typeof(UnityEngine.ParticleSystemBakeTextureOptions)}; method = type.GetMethod("BakeTrailsTexture", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BakeTrailsTexture_57); args = new Type[]{typeof(UnityEngine.Texture2D).MakeByRefType(), typeof(UnityEngine.Texture2D).MakeByRefType(), typeof(UnityEngine.Camera), typeof(UnityEngine.ParticleSystemBakeTextureOptions)}; method = type.GetMethod("BakeTrailsTexture", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BakeTrailsTexture_58); args = new Type[]{}; method = type.GetMethod("get_activeVertexStreamsCount", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_activeVertexStreamsCount_59); args = new Type[]{typeof(System.Collections.Generic.List)}; method = type.GetMethod("SetActiveVertexStreams", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetActiveVertexStreams_60); args = new Type[]{typeof(System.Collections.Generic.List)}; method = type.GetMethod("GetActiveVertexStreams", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetActiveVertexStreams_61); args = new Type[]{}; method = type.GetMethod("get_activeTrailVertexStreamsCount", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_activeTrailVertexStreamsCount_62); args = new Type[]{typeof(System.Collections.Generic.List)}; method = type.GetMethod("SetActiveTrailVertexStreams", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetActiveTrailVertexStreams_63); args = new Type[]{typeof(System.Collections.Generic.List)}; method = type.GetMethod("GetActiveTrailVertexStreams", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetActiveTrailVertexStreams_64); app.RegisterCLRCreateDefaultInstance(type, () => new UnityEngine.ParticleSystemRenderer()); app.RegisterCLRCreateArrayInstance(type, s => new UnityEngine.ParticleSystemRenderer[s]); args = new Type[]{}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_0); } static StackObject* get_alignment_0(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.alignment; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_alignment_1(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderSpace @value = (UnityEngine.ParticleSystemRenderSpace)typeof(UnityEngine.ParticleSystemRenderSpace).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.alignment = value; return __ret; } static StackObject* get_renderMode_2(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.renderMode; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_renderMode_3(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderMode @value = (UnityEngine.ParticleSystemRenderMode)typeof(UnityEngine.ParticleSystemRenderMode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.renderMode = value; return __ret; } static StackObject* get_meshDistribution_4(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.meshDistribution; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_meshDistribution_5(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemMeshDistribution @value = (UnityEngine.ParticleSystemMeshDistribution)typeof(UnityEngine.ParticleSystemMeshDistribution).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.meshDistribution = value; return __ret; } static StackObject* get_sortMode_6(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.sortMode; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_sortMode_7(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemSortMode @value = (UnityEngine.ParticleSystemSortMode)typeof(UnityEngine.ParticleSystemSortMode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.sortMode = value; return __ret; } static StackObject* get_lengthScale_8(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.lengthScale; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_lengthScale_9(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.lengthScale = value; return __ret; } static StackObject* get_velocityScale_10(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.velocityScale; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_velocityScale_11(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.velocityScale = value; return __ret; } static StackObject* get_cameraVelocityScale_12(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.cameraVelocityScale; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_cameraVelocityScale_13(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.cameraVelocityScale = value; return __ret; } static StackObject* get_normalDirection_14(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.normalDirection; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_normalDirection_15(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.normalDirection = value; return __ret; } static StackObject* get_shadowBias_16(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.shadowBias; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_shadowBias_17(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.shadowBias = value; return __ret; } static StackObject* get_sortingFudge_18(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.sortingFudge; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_sortingFudge_19(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.sortingFudge = value; return __ret; } static StackObject* get_minParticleSize_20(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.minParticleSize; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_minParticleSize_21(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.minParticleSize = value; return __ret; } static StackObject* get_maxParticleSize_22(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.maxParticleSize; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_maxParticleSize_23(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.maxParticleSize = value; return __ret; } static StackObject* get_pivot_24(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.pivot; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_pivot_25(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Vector3 @value = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.pivot = value; return __ret; } static StackObject* get_flip_26(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.flip; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_flip_27(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Vector3 @value = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.flip = value; return __ret; } static StackObject* get_maskInteraction_28(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.maskInteraction; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_maskInteraction_29(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.SpriteMaskInteraction @value = (UnityEngine.SpriteMaskInteraction)typeof(UnityEngine.SpriteMaskInteraction).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.maskInteraction = value; return __ret; } static StackObject* get_trailMaterial_30(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.trailMaterial; object obj_result_of_this_method = result_of_this_method; if(obj_result_of_this_method is CrossBindingAdaptorType) { return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance); } return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_trailMaterial_31(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Material @value = (UnityEngine.Material)typeof(UnityEngine.Material).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.trailMaterial = value; return __ret; } static StackObject* get_enableGPUInstancing_32(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.enableGPUInstancing; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_enableGPUInstancing_33(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.enableGPUInstancing = value; return __ret; } static StackObject* get_allowRoll_34(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.allowRoll; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_allowRoll_35(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.allowRoll = value; return __ret; } static StackObject* get_freeformStretching_36(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.freeformStretching; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_freeformStretching_37(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.freeformStretching = value; return __ret; } static StackObject* get_rotateWithStretchDirection_38(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.rotateWithStretchDirection; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_rotateWithStretchDirection_39(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.rotateWithStretchDirection = value; return __ret; } static StackObject* get_mesh_40(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.mesh; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_mesh_41(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Mesh @value = (UnityEngine.Mesh)typeof(UnityEngine.Mesh).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.mesh = value; return __ret; } static StackObject* GetMeshes_42(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Mesh[] @meshes = (UnityEngine.Mesh[])typeof(UnityEngine.Mesh[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.GetMeshes(@meshes); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* SetMeshes_43(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @size = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Mesh[] @meshes = (UnityEngine.Mesh[])typeof(UnityEngine.Mesh[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.SetMeshes(@meshes, @size); return __ret; } static StackObject* SetMeshes_44(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Mesh[] @meshes = (UnityEngine.Mesh[])typeof(UnityEngine.Mesh[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.SetMeshes(@meshes); return __ret; } static StackObject* GetMeshWeightings_45(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single[] @weightings = (System.Single[])typeof(System.Single[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.GetMeshWeightings(@weightings); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* SetMeshWeightings_46(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @size = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Single[] @weightings = (System.Single[])typeof(System.Single[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.SetMeshWeightings(@weightings, @size); return __ret; } static StackObject* SetMeshWeightings_47(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single[] @weightings = (System.Single[])typeof(System.Single[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.SetMeshWeightings(@weightings); return __ret; } static StackObject* get_meshCount_48(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.meshCount; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* BakeMesh_49(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemBakeMeshOptions @options = (UnityEngine.ParticleSystemBakeMeshOptions)typeof(UnityEngine.ParticleSystemBakeMeshOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Mesh @mesh = (UnityEngine.Mesh)typeof(UnityEngine.Mesh).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.BakeMesh(@mesh, @options); return __ret; } static StackObject* BakeMesh_50(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemBakeMeshOptions @options = (UnityEngine.ParticleSystemBakeMeshOptions)typeof(UnityEngine.ParticleSystemBakeMeshOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Camera @camera = (UnityEngine.Camera)typeof(UnityEngine.Camera).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.Mesh @mesh = (UnityEngine.Mesh)typeof(UnityEngine.Mesh).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.BakeMesh(@mesh, @camera, @options); return __ret; } static StackObject* BakeTrailsMesh_51(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemBakeMeshOptions @options = (UnityEngine.ParticleSystemBakeMeshOptions)typeof(UnityEngine.ParticleSystemBakeMeshOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Mesh @mesh = (UnityEngine.Mesh)typeof(UnityEngine.Mesh).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.BakeTrailsMesh(@mesh, @options); return __ret; } static StackObject* BakeTrailsMesh_52(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemBakeMeshOptions @options = (UnityEngine.ParticleSystemBakeMeshOptions)typeof(UnityEngine.ParticleSystemBakeMeshOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Camera @camera = (UnityEngine.Camera)typeof(UnityEngine.Camera).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.Mesh @mesh = (UnityEngine.Mesh)typeof(UnityEngine.Mesh).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.BakeTrailsMesh(@mesh, @camera, @options); return __ret; } static StackObject* BakeTexture_53(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemBakeTextureOptions @options = (UnityEngine.ParticleSystemBakeTextureOptions)typeof(UnityEngine.ParticleSystemBakeTextureOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Texture2D @verticesTexture = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); var result_of_this_method = instance_of_this_method.BakeTexture(ref @verticesTexture, @options); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); __intp.FreeStackValueType(ptr_of_this_method); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @verticesTexture; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @verticesTexture; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @verticesTexture); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @verticesTexture; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @verticesTexture); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.Texture2D[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @verticesTexture; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); __intp.Free(ptr_of_this_method); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* BakeTexture_54(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemBakeTextureOptions @options = (UnityEngine.ParticleSystemBakeTextureOptions)typeof(UnityEngine.ParticleSystemBakeTextureOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Camera @camera = (UnityEngine.Camera)typeof(UnityEngine.Camera).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.Texture2D @verticesTexture = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); var result_of_this_method = instance_of_this_method.BakeTexture(ref @verticesTexture, @camera, @options); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); __intp.FreeStackValueType(ptr_of_this_method); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @verticesTexture; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @verticesTexture; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @verticesTexture); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @verticesTexture; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @verticesTexture); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.Texture2D[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @verticesTexture; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); __intp.Free(ptr_of_this_method); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* BakeTexture_55(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemBakeTextureOptions @options = (UnityEngine.ParticleSystemBakeTextureOptions)typeof(UnityEngine.ParticleSystemBakeTextureOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Texture2D @indicesTexture = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.Texture2D @verticesTexture = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); var result_of_this_method = instance_of_this_method.BakeTexture(ref @verticesTexture, ref @indicesTexture, @options); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); __intp.FreeStackValueType(ptr_of_this_method); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @indicesTexture; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @indicesTexture; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @indicesTexture); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @indicesTexture; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @indicesTexture); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.Texture2D[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @indicesTexture; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @verticesTexture; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @verticesTexture; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @verticesTexture); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @verticesTexture; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @verticesTexture); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.Texture2D[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @verticesTexture; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); __intp.Free(ptr_of_this_method); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* BakeTexture_56(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 5); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemBakeTextureOptions @options = (UnityEngine.ParticleSystemBakeTextureOptions)typeof(UnityEngine.ParticleSystemBakeTextureOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Camera @camera = (UnityEngine.Camera)typeof(UnityEngine.Camera).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.Texture2D @indicesTexture = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.Texture2D @verticesTexture = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 5); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); var result_of_this_method = instance_of_this_method.BakeTexture(ref @verticesTexture, ref @indicesTexture, @camera, @options); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); __intp.FreeStackValueType(ptr_of_this_method); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @indicesTexture; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @indicesTexture; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @indicesTexture); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @indicesTexture; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @indicesTexture); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.Texture2D[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @indicesTexture; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @verticesTexture; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @verticesTexture; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @verticesTexture); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @verticesTexture; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @verticesTexture); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.Texture2D[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @verticesTexture; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 5); __intp.Free(ptr_of_this_method); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* BakeTrailsTexture_57(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemBakeTextureOptions @options = (UnityEngine.ParticleSystemBakeTextureOptions)typeof(UnityEngine.ParticleSystemBakeTextureOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Texture2D @indicesTexture = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.Texture2D @verticesTexture = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); var result_of_this_method = instance_of_this_method.BakeTrailsTexture(ref @verticesTexture, ref @indicesTexture, @options); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); __intp.FreeStackValueType(ptr_of_this_method); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @indicesTexture; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @indicesTexture; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @indicesTexture); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @indicesTexture; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @indicesTexture); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.Texture2D[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @indicesTexture; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @verticesTexture; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @verticesTexture; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @verticesTexture); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @verticesTexture; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @verticesTexture); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.Texture2D[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @verticesTexture; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); __intp.Free(ptr_of_this_method); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* BakeTrailsTexture_58(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 5); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemBakeTextureOptions @options = (UnityEngine.ParticleSystemBakeTextureOptions)typeof(UnityEngine.ParticleSystemBakeTextureOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Camera @camera = (UnityEngine.Camera)typeof(UnityEngine.Camera).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.Texture2D @indicesTexture = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.Texture2D @verticesTexture = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 5); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); var result_of_this_method = instance_of_this_method.BakeTrailsTexture(ref @verticesTexture, ref @indicesTexture, @camera, @options); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); __intp.FreeStackValueType(ptr_of_this_method); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @indicesTexture; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @indicesTexture; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @indicesTexture); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @indicesTexture; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @indicesTexture); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.Texture2D[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @indicesTexture; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @verticesTexture; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @verticesTexture; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @verticesTexture); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @verticesTexture; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @verticesTexture); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.Texture2D[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @verticesTexture; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 5); __intp.Free(ptr_of_this_method); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* get_activeVertexStreamsCount_59(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.activeVertexStreamsCount; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* SetActiveVertexStreams_60(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Collections.Generic.List @streams = (System.Collections.Generic.List)typeof(System.Collections.Generic.List).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.SetActiveVertexStreams(@streams); return __ret; } static StackObject* GetActiveVertexStreams_61(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Collections.Generic.List @streams = (System.Collections.Generic.List)typeof(System.Collections.Generic.List).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.GetActiveVertexStreams(@streams); return __ret; } static StackObject* get_activeTrailVertexStreamsCount_62(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.activeTrailVertexStreamsCount; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* SetActiveTrailVertexStreams_63(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Collections.Generic.List @streams = (System.Collections.Generic.List)typeof(System.Collections.Generic.List).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.SetActiveTrailVertexStreams(@streams); return __ret; } static StackObject* GetActiveTrailVertexStreams_64(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Collections.Generic.List @streams = (System.Collections.Generic.List)typeof(System.Collections.Generic.List).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.ParticleSystemRenderer instance_of_this_method = (UnityEngine.ParticleSystemRenderer)typeof(UnityEngine.ParticleSystemRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.GetActiveTrailVertexStreams(@streams); return __ret; } static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* __ret = ILIntepreter.Minus(__esp, 0); var result_of_this_method = new UnityEngine.ParticleSystemRenderer(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } } }