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_Rigidbody_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.Rigidbody); args = new Type[] { }; method = type.GetMethod("get_velocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_velocity_0); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("set_velocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_velocity_1); args = new Type[] { }; method = type.GetMethod("get_angularVelocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_angularVelocity_2); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("set_angularVelocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_angularVelocity_3); args = new Type[] { }; method = type.GetMethod("get_drag", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_drag_4); args = new Type[] {typeof(System.Single)}; method = type.GetMethod("set_drag", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_drag_5); args = new Type[] { }; method = type.GetMethod("get_angularDrag", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_angularDrag_6); args = new Type[] {typeof(System.Single)}; method = type.GetMethod("set_angularDrag", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_angularDrag_7); args = new Type[] { }; method = type.GetMethod("get_mass", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_mass_8); args = new Type[] {typeof(System.Single)}; method = type.GetMethod("set_mass", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_mass_9); args = new Type[] {typeof(System.Single)}; method = type.GetMethod("SetDensity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetDensity_10); args = new Type[] { }; method = type.GetMethod("get_useGravity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_useGravity_11); args = new Type[] {typeof(System.Boolean)}; method = type.GetMethod("set_useGravity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_useGravity_12); args = new Type[] { }; method = type.GetMethod("get_maxDepenetrationVelocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_maxDepenetrationVelocity_13); args = new Type[] {typeof(System.Single)}; method = type.GetMethod("set_maxDepenetrationVelocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_maxDepenetrationVelocity_14); args = new Type[] { }; method = type.GetMethod("get_isKinematic", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_isKinematic_15); args = new Type[] {typeof(System.Boolean)}; method = type.GetMethod("set_isKinematic", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_isKinematic_16); args = new Type[] { }; method = type.GetMethod("get_freezeRotation", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_freezeRotation_17); args = new Type[] {typeof(System.Boolean)}; method = type.GetMethod("set_freezeRotation", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_freezeRotation_18); args = new Type[] { }; method = type.GetMethod("get_constraints", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_constraints_19); args = new Type[] {typeof(UnityEngine.RigidbodyConstraints)}; method = type.GetMethod("set_constraints", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_constraints_20); args = new Type[] { }; method = type.GetMethod("get_collisionDetectionMode", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_collisionDetectionMode_21); args = new Type[] {typeof(UnityEngine.CollisionDetectionMode)}; method = type.GetMethod("set_collisionDetectionMode", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_collisionDetectionMode_22); args = new Type[] { }; method = type.GetMethod("get_automaticCenterOfMass", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_automaticCenterOfMass_23); args = new Type[] {typeof(System.Boolean)}; method = type.GetMethod("set_automaticCenterOfMass", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_automaticCenterOfMass_24); args = new Type[] { }; method = type.GetMethod("get_centerOfMass", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_centerOfMass_25); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("set_centerOfMass", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_centerOfMass_26); args = new Type[] { }; method = type.GetMethod("get_worldCenterOfMass", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_worldCenterOfMass_27); args = new Type[] { }; method = type.GetMethod("get_automaticInertiaTensor", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_automaticInertiaTensor_28); args = new Type[] {typeof(System.Boolean)}; method = type.GetMethod("set_automaticInertiaTensor", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_automaticInertiaTensor_29); args = new Type[] { }; method = type.GetMethod("get_inertiaTensorRotation", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_inertiaTensorRotation_30); args = new Type[] {typeof(UnityEngine.Quaternion)}; method = type.GetMethod("set_inertiaTensorRotation", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_inertiaTensorRotation_31); args = new Type[] { }; method = type.GetMethod("get_inertiaTensor", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_inertiaTensor_32); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("set_inertiaTensor", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_inertiaTensor_33); args = new Type[] { }; method = type.GetMethod("get_detectCollisions", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_detectCollisions_34); args = new Type[] {typeof(System.Boolean)}; method = type.GetMethod("set_detectCollisions", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_detectCollisions_35); args = new Type[] { }; method = type.GetMethod("get_position", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_position_36); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("set_position", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_position_37); args = new Type[] { }; method = type.GetMethod("get_rotation", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_rotation_38); args = new Type[] {typeof(UnityEngine.Quaternion)}; method = type.GetMethod("set_rotation", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_rotation_39); args = new Type[] { }; method = type.GetMethod("get_interpolation", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_interpolation_40); args = new Type[] {typeof(UnityEngine.RigidbodyInterpolation)}; method = type.GetMethod("set_interpolation", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_interpolation_41); args = new Type[] { }; method = type.GetMethod("get_solverIterations", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_solverIterations_42); args = new Type[] {typeof(System.Int32)}; method = type.GetMethod("set_solverIterations", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_solverIterations_43); args = new Type[] { }; method = type.GetMethod("get_sleepThreshold", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_sleepThreshold_44); args = new Type[] {typeof(System.Single)}; method = type.GetMethod("set_sleepThreshold", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_sleepThreshold_45); args = new Type[] { }; method = type.GetMethod("get_maxAngularVelocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_maxAngularVelocity_46); args = new Type[] {typeof(System.Single)}; method = type.GetMethod("set_maxAngularVelocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_maxAngularVelocity_47); args = new Type[] { }; method = type.GetMethod("get_maxLinearVelocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_maxLinearVelocity_48); args = new Type[] {typeof(System.Single)}; method = type.GetMethod("set_maxLinearVelocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_maxLinearVelocity_49); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("MovePosition", flag, null, args, null); app.RegisterCLRMethodRedirection(method, MovePosition_50); args = new Type[] {typeof(UnityEngine.Quaternion)}; method = type.GetMethod("MoveRotation", flag, null, args, null); app.RegisterCLRMethodRedirection(method, MoveRotation_51); args = new Type[] {typeof(UnityEngine.Vector3), typeof(UnityEngine.Quaternion)}; method = type.GetMethod("Move", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Move_52); args = new Type[] { }; method = type.GetMethod("Sleep", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Sleep_53); args = new Type[] { }; method = type.GetMethod("IsSleeping", flag, null, args, null); app.RegisterCLRMethodRedirection(method, IsSleeping_54); args = new Type[] { }; method = type.GetMethod("WakeUp", flag, null, args, null); app.RegisterCLRMethodRedirection(method, WakeUp_55); args = new Type[] { }; method = type.GetMethod("ResetCenterOfMass", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ResetCenterOfMass_56); args = new Type[] { }; method = type.GetMethod("ResetInertiaTensor", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ResetInertiaTensor_57); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("GetRelativePointVelocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetRelativePointVelocity_58); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("GetPointVelocity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetPointVelocity_59); args = new Type[] { }; method = type.GetMethod("get_solverVelocityIterations", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_solverVelocityIterations_60); args = new Type[] {typeof(System.Int32)}; method = type.GetMethod("set_solverVelocityIterations", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_solverVelocityIterations_61); args = new Type[] { }; method = type.GetMethod("get_excludeLayers", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_excludeLayers_62); args = new Type[] {typeof(UnityEngine.LayerMask)}; method = type.GetMethod("set_excludeLayers", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_excludeLayers_63); args = new Type[] { }; method = type.GetMethod("get_includeLayers", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_includeLayers_64); args = new Type[] {typeof(UnityEngine.LayerMask)}; method = type.GetMethod("set_includeLayers", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_includeLayers_65); args = new Type[] {typeof(System.Single)}; method = type.GetMethod("GetAccumulatedForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetAccumulatedForce_66); args = new Type[] { }; method = type.GetMethod("GetAccumulatedForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetAccumulatedForce_67); args = new Type[] {typeof(System.Single)}; method = type.GetMethod("GetAccumulatedTorque", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetAccumulatedTorque_68); args = new Type[] { }; method = type.GetMethod("GetAccumulatedTorque", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetAccumulatedTorque_69); args = new Type[] {typeof(UnityEngine.Vector3), typeof(UnityEngine.ForceMode)}; method = type.GetMethod("AddForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddForce_70); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("AddForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddForce_71); args = new Type[] {typeof(System.Single), typeof(System.Single), typeof(System.Single), typeof(UnityEngine.ForceMode)}; method = type.GetMethod("AddForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddForce_72); args = new Type[] {typeof(System.Single), typeof(System.Single), typeof(System.Single)}; method = type.GetMethod("AddForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddForce_73); args = new Type[] {typeof(UnityEngine.Vector3), typeof(UnityEngine.ForceMode)}; method = type.GetMethod("AddRelativeForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddRelativeForce_74); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("AddRelativeForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddRelativeForce_75); args = new Type[] {typeof(System.Single), typeof(System.Single), typeof(System.Single), typeof(UnityEngine.ForceMode)}; method = type.GetMethod("AddRelativeForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddRelativeForce_76); args = new Type[] {typeof(System.Single), typeof(System.Single), typeof(System.Single)}; method = type.GetMethod("AddRelativeForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddRelativeForce_77); args = new Type[] {typeof(UnityEngine.Vector3), typeof(UnityEngine.ForceMode)}; method = type.GetMethod("AddTorque", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddTorque_78); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("AddTorque", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddTorque_79); args = new Type[] {typeof(System.Single), typeof(System.Single), typeof(System.Single), typeof(UnityEngine.ForceMode)}; method = type.GetMethod("AddTorque", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddTorque_80); args = new Type[] {typeof(System.Single), typeof(System.Single), typeof(System.Single)}; method = type.GetMethod("AddTorque", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddTorque_81); args = new Type[] {typeof(UnityEngine.Vector3), typeof(UnityEngine.ForceMode)}; method = type.GetMethod("AddRelativeTorque", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddRelativeTorque_82); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("AddRelativeTorque", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddRelativeTorque_83); args = new Type[] {typeof(System.Single), typeof(System.Single), typeof(System.Single), typeof(UnityEngine.ForceMode)}; method = type.GetMethod("AddRelativeTorque", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddRelativeTorque_84); args = new Type[] {typeof(System.Single), typeof(System.Single), typeof(System.Single)}; method = type.GetMethod("AddRelativeTorque", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddRelativeTorque_85); args = new Type[] {typeof(UnityEngine.Vector3), typeof(UnityEngine.Vector3), typeof(UnityEngine.ForceMode)}; method = type.GetMethod("AddForceAtPosition", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddForceAtPosition_86); args = new Type[] {typeof(UnityEngine.Vector3), typeof(UnityEngine.Vector3)}; method = type.GetMethod("AddForceAtPosition", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddForceAtPosition_87); args = new Type[] { typeof(System.Single), typeof(UnityEngine.Vector3), typeof(System.Single), typeof(System.Single), typeof(UnityEngine.ForceMode) }; method = type.GetMethod("AddExplosionForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddExplosionForce_88); args = new Type[] {typeof(System.Single), typeof(UnityEngine.Vector3), typeof(System.Single), typeof(System.Single)}; method = type.GetMethod("AddExplosionForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddExplosionForce_89); args = new Type[] {typeof(System.Single), typeof(UnityEngine.Vector3), typeof(System.Single)}; method = type.GetMethod("AddExplosionForce", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddExplosionForce_90); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("ClosestPointOnBounds", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ClosestPointOnBounds_91); args = new Type[] { typeof(UnityEngine.Vector3), typeof(UnityEngine.RaycastHit).MakeByRefType(), typeof(System.Single), typeof(UnityEngine.QueryTriggerInteraction) }; method = type.GetMethod("SweepTest", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SweepTest_92); args = new Type[] {typeof(UnityEngine.Vector3), typeof(UnityEngine.RaycastHit).MakeByRefType(), typeof(System.Single)}; method = type.GetMethod("SweepTest", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SweepTest_93); args = new Type[] {typeof(UnityEngine.Vector3), typeof(UnityEngine.RaycastHit).MakeByRefType()}; method = type.GetMethod("SweepTest", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SweepTest_94); args = new Type[] {typeof(UnityEngine.Vector3), typeof(System.Single), typeof(UnityEngine.QueryTriggerInteraction)}; method = type.GetMethod("SweepTestAll", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SweepTestAll_95); args = new Type[] {typeof(UnityEngine.Vector3), typeof(System.Single)}; method = type.GetMethod("SweepTestAll", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SweepTestAll_96); args = new Type[] {typeof(UnityEngine.Vector3)}; method = type.GetMethod("SweepTestAll", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SweepTestAll_97); app.RegisterCLRCreateDefaultInstance(type, () => new UnityEngine.Rigidbody()); app.RegisterCLRCreateArrayInstance(type, s => new UnityEngine.Rigidbody[s]); args = new Type[] { }; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_0); } static StackObject* get_velocity_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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 = #if UNITY_6000_0_OR_NEWER instance_of_this_method.linearVelocity; #else instance_of_this_method.velocity; #endif return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_velocity_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.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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); #if UNITY_6000_0_OR_NEWER instance_of_this_method.linearVelocity = value; #else instance_of_this_method.velocity = value; #endif return __ret; } static StackObject* get_angularVelocity_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.angularVelocity; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_angularVelocity_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.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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.angularVelocity = value; return __ret; } static StackObject* get_drag_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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 = #if UNITY_6000_0_OR_NEWER instance_of_this_method.linearDamping; #else instance_of_this_method.drag; #endif __ret->ObjectType = ObjectTypes.Float; *(float*) &__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_drag_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); System.Single @value = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); #if UNITY_6000_0_OR_NEWER instance_of_this_method.linearDamping = value; #else instance_of_this_method.drag = value; #endif return __ret; } static StackObject* get_angularDrag_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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 = #if UNITY_6000_0_OR_NEWER instance_of_this_method.angularDamping; #else instance_of_this_method.angularDrag; #endif __ret->ObjectType = ObjectTypes.Float; *(float*) &__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_angularDrag_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); System.Single @value = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); #if UNITY_6000_0_OR_NEWER instance_of_this_method.angularDamping = value; #else instance_of_this_method.angularDrag = value; #endif return __ret; } static StackObject* get_mass_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.mass; __ret->ObjectType = ObjectTypes.Float; *(float*) &__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_mass_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.mass = value; return __ret; } static StackObject* SetDensity_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @density = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.SetDensity(@density); return __ret; } static StackObject* get_useGravity_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.useGravity; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_useGravity_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, 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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.useGravity = value; return __ret; } static StackObject* get_maxDepenetrationVelocity_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.maxDepenetrationVelocity; __ret->ObjectType = ObjectTypes.Float; *(float*) &__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_maxDepenetrationVelocity_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, 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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.maxDepenetrationVelocity = value; return __ret; } static StackObject* get_isKinematic_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.isKinematic; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_isKinematic_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, 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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.isKinematic = value; return __ret; } static StackObject* get_freezeRotation_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.freezeRotation; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_freezeRotation_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, 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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.freezeRotation = value; return __ret; } static StackObject* get_constraints_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.constraints; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_constraints_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.RigidbodyConstraints @value = (UnityEngine.RigidbodyConstraints) typeof(UnityEngine.RigidbodyConstraints).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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.constraints = value; return __ret; } static StackObject* get_collisionDetectionMode_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.collisionDetectionMode; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_collisionDetectionMode_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.CollisionDetectionMode @value = (UnityEngine.CollisionDetectionMode) typeof(UnityEngine.CollisionDetectionMode).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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.collisionDetectionMode = value; return __ret; } static StackObject* get_automaticCenterOfMass_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.automaticCenterOfMass; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_automaticCenterOfMass_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, 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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.automaticCenterOfMass = value; return __ret; } static StackObject* get_centerOfMass_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.centerOfMass; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_centerOfMass_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, 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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.centerOfMass = value; return __ret; } static StackObject* get_worldCenterOfMass_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.worldCenterOfMass; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_automaticInertiaTensor_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.automaticInertiaTensor; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_automaticInertiaTensor_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); System.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.automaticInertiaTensor = value; return __ret; } static StackObject* get_inertiaTensorRotation_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.inertiaTensorRotation; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_inertiaTensorRotation_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.Quaternion @value = (UnityEngine.Quaternion) typeof(UnityEngine.Quaternion).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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.inertiaTensorRotation = value; return __ret; } static StackObject* get_inertiaTensor_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.inertiaTensor; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_inertiaTensor_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); 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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.inertiaTensor = value; return __ret; } static StackObject* get_detectCollisions_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.detectCollisions; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_detectCollisions_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.detectCollisions = value; return __ret; } static StackObject* get_position_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.position; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_position_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); 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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.position = value; return __ret; } static StackObject* get_rotation_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.rotation; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_rotation_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); UnityEngine.Quaternion @value = (UnityEngine.Quaternion) typeof(UnityEngine.Quaternion).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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.rotation = value; return __ret; } static StackObject* get_interpolation_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.interpolation; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_interpolation_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.RigidbodyInterpolation @value = (UnityEngine.RigidbodyInterpolation) typeof(UnityEngine.RigidbodyInterpolation).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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.interpolation = value; return __ret; } static StackObject* get_solverIterations_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.solverIterations; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_solverIterations_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @value = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.solverIterations = value; return __ret; } static StackObject* get_sleepThreshold_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.sleepThreshold; __ret->ObjectType = ObjectTypes.Float; *(float*) &__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_sleepThreshold_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 @value = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.sleepThreshold = value; return __ret; } static StackObject* get_maxAngularVelocity_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.maxAngularVelocity; __ret->ObjectType = ObjectTypes.Float; *(float*) &__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_maxAngularVelocity_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 @value = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.maxAngularVelocity = value; return __ret; } static StackObject* get_maxLinearVelocity_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.maxLinearVelocity; __ret->ObjectType = ObjectTypes.Float; *(float*) &__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_maxLinearVelocity_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, 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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.maxLinearVelocity = value; return __ret; } static StackObject* MovePosition_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Vector3 @position = (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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.MovePosition(@position); return __ret; } static StackObject* MoveRotation_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Quaternion @rot = (UnityEngine.Quaternion) typeof(UnityEngine.Quaternion).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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.MoveRotation(@rot); return __ret; } static StackObject* Move_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, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Quaternion @rotation = (UnityEngine.Quaternion) typeof(UnityEngine.Quaternion).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.Vector3 @position = (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, 3); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.Move(@position, @rotation); return __ret; } static StackObject* Sleep_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.Sleep(); return __ret; } static StackObject* IsSleeping_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.IsSleeping(); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* WakeUp_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.WakeUp(); return __ret; } static StackObject* ResetCenterOfMass_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.ResetCenterOfMass(); return __ret; } static StackObject* ResetInertiaTensor_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.ResetInertiaTensor(); return __ret; } static StackObject* GetRelativePointVelocity_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Vector3 @relativePoint = (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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.GetRelativePointVelocity(@relativePoint); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* GetPointVelocity_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Vector3 @worldPoint = (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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.GetPointVelocity(@worldPoint); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_solverVelocityIterations_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.solverVelocityIterations; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_solverVelocityIterations_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.Int32 @value = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.solverVelocityIterations = value; return __ret; } static StackObject* get_excludeLayers_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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.excludeLayers; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_excludeLayers_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); UnityEngine.LayerMask @value = (UnityEngine.LayerMask) typeof(UnityEngine.LayerMask).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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.excludeLayers = value; return __ret; } static StackObject* get_includeLayers_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.includeLayers; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_includeLayers_65(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.LayerMask @value = (UnityEngine.LayerMask) typeof(UnityEngine.LayerMask).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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.includeLayers = value; return __ret; } static StackObject* GetAccumulatedForce_66(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 @step = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.GetAccumulatedForce(@step); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* GetAccumulatedForce_67(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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.GetAccumulatedForce(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* GetAccumulatedTorque_68(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 @step = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.GetAccumulatedTorque(@step); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* GetAccumulatedTorque_69(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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.GetAccumulatedTorque(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* AddForce_70(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.ForceMode @mode = (UnityEngine.ForceMode) typeof(UnityEngine.ForceMode).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.Vector3 @force = (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, 3); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddForce(@force, @mode); return __ret; } static StackObject* AddForce_71(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 @force = (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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddForce(@force); return __ret; } static StackObject* AddForce_72(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.ForceMode @mode = (UnityEngine.ForceMode) typeof(UnityEngine.ForceMode).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); System.Single @z = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Single @y = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); System.Single @x = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 5); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddForce(@x, @y, @z, @mode); return __ret; } static StackObject* AddForce_73(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); System.Single @z = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Single @y = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Single @x = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddForce(@x, @y, @z); return __ret; } static StackObject* AddRelativeForce_74(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.ForceMode @mode = (UnityEngine.ForceMode) typeof(UnityEngine.ForceMode).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.Vector3 @force = (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, 3); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddRelativeForce(@force, @mode); return __ret; } static StackObject* AddRelativeForce_75(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 @force = (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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddRelativeForce(@force); return __ret; } static StackObject* AddRelativeForce_76(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.ForceMode @mode = (UnityEngine.ForceMode) typeof(UnityEngine.ForceMode).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); System.Single @z = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Single @y = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); System.Single @x = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 5); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddRelativeForce(@x, @y, @z, @mode); return __ret; } static StackObject* AddRelativeForce_77(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); System.Single @z = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Single @y = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Single @x = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddRelativeForce(@x, @y, @z); return __ret; } static StackObject* AddTorque_78(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.ForceMode @mode = (UnityEngine.ForceMode) typeof(UnityEngine.ForceMode).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.Vector3 @torque = (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, 3); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddTorque(@torque, @mode); return __ret; } static StackObject* AddTorque_79(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 @torque = (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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddTorque(@torque); return __ret; } static StackObject* AddTorque_80(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.ForceMode @mode = (UnityEngine.ForceMode) typeof(UnityEngine.ForceMode).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); System.Single @z = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Single @y = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); System.Single @x = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 5); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddTorque(@x, @y, @z, @mode); return __ret; } static StackObject* AddTorque_81(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); System.Single @z = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Single @y = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Single @x = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddTorque(@x, @y, @z); return __ret; } static StackObject* AddRelativeTorque_82(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.ForceMode @mode = (UnityEngine.ForceMode) typeof(UnityEngine.ForceMode).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.Vector3 @torque = (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, 3); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddRelativeTorque(@torque, @mode); return __ret; } static StackObject* AddRelativeTorque_83(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 @torque = (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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddRelativeTorque(@torque); return __ret; } static StackObject* AddRelativeTorque_84(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.ForceMode @mode = (UnityEngine.ForceMode) typeof(UnityEngine.ForceMode).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); System.Single @z = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Single @y = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); System.Single @x = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 5); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddRelativeTorque(@x, @y, @z, @mode); return __ret; } static StackObject* AddRelativeTorque_85(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); System.Single @z = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Single @y = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Single @x = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddRelativeTorque(@x, @y, @z); return __ret; } static StackObject* AddForceAtPosition_86(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.ForceMode @mode = (UnityEngine.ForceMode) typeof(UnityEngine.ForceMode).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.Vector3 @position = (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, 3); UnityEngine.Vector3 @force = (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, 4); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddForceAtPosition(@force, @position, @mode); return __ret; } static StackObject* AddForceAtPosition_87(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.Vector3 @position = (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.Vector3 @force = (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, 3); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddForceAtPosition(@force, @position); return __ret; } static StackObject* AddExplosionForce_88(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, 6); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.ForceMode @mode = (UnityEngine.ForceMode) typeof(UnityEngine.ForceMode).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); System.Single @upwardsModifier = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Single @explosionRadius = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.Vector3 @explosionPosition = (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, 5); System.Single @explosionForce = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 6); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddExplosionForce(@explosionForce, @explosionPosition, @explosionRadius, @upwardsModifier, @mode); return __ret; } static StackObject* AddExplosionForce_89(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); System.Single @upwardsModifier = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Single @explosionRadius = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.Vector3 @explosionPosition = (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, 4); System.Single @explosionForce = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 5); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddExplosionForce(@explosionForce, @explosionPosition, @explosionRadius, @upwardsModifier); return __ret; } static StackObject* AddExplosionForce_90(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); System.Single @explosionRadius = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Vector3 @explosionPosition = (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, 3); System.Single @explosionForce = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddExplosionForce(@explosionForce, @explosionPosition, @explosionRadius); return __ret; } static StackObject* ClosestPointOnBounds_91(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 @position = (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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.ClosestPointOnBounds(@position); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* SweepTest_92(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.QueryTriggerInteraction @queryTriggerInteraction = (UnityEngine.QueryTriggerInteraction) typeof(UnityEngine.QueryTriggerInteraction).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 20); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Single @maxDistance = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.RaycastHit @hitInfo = (UnityEngine.RaycastHit) typeof(UnityEngine.RaycastHit).CheckCLRTypes( __intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags) 16); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.Vector3 @direction = (UnityEngine.Vector3) typeof(UnityEngine.Vector3).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 16); ptr_of_this_method = ILIntepreter.Minus(__esp, 5); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); var result_of_this_method = instance_of_this_method.SweepTest(@direction, out @hitInfo, @maxDistance, @queryTriggerInteraction); 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 = @hitInfo; 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] = @hitInfo; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @hitInfo); } } 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] = @hitInfo; } else { ((CLRType) ___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @hitInfo); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.RaycastHit[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @hitInfo; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); __intp.FreeStackValueType(ptr_of_this_method); __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 ? 1 : 0; return __ret + 1; } static StackObject* SweepTest_93(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); System.Single @maxDistance = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.RaycastHit @hitInfo = (UnityEngine.RaycastHit) typeof(UnityEngine.RaycastHit).CheckCLRTypes( __intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags) 16); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.Vector3 @direction = (UnityEngine.Vector3) typeof(UnityEngine.Vector3).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 16); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); var result_of_this_method = instance_of_this_method.SweepTest(@direction, out @hitInfo, @maxDistance); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); __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 = @hitInfo; 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] = @hitInfo; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @hitInfo); } } 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] = @hitInfo; } else { ((CLRType) ___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @hitInfo); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.RaycastHit[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @hitInfo; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); __intp.FreeStackValueType(ptr_of_this_method); __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 ? 1 : 0; return __ret + 1; } static StackObject* SweepTest_94(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.RaycastHit @hitInfo = (UnityEngine.RaycastHit) typeof(UnityEngine.RaycastHit).CheckCLRTypes( __intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags) 16); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Vector3 @direction = (UnityEngine.Vector3) typeof(UnityEngine.Vector3).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 16); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).CheckCLRTypes( StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); var result_of_this_method = instance_of_this_method.SweepTest(@direction, out @hitInfo); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); switch (ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @hitInfo; 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] = @hitInfo; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @hitInfo); } } 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] = @hitInfo; } else { ((CLRType) ___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @hitInfo); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.RaycastHit[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @hitInfo; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); __intp.FreeStackValueType(ptr_of_this_method); __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 ? 1 : 0; return __ret + 1; } static StackObject* SweepTestAll_95(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.QueryTriggerInteraction @queryTriggerInteraction = (UnityEngine.QueryTriggerInteraction) typeof(UnityEngine.QueryTriggerInteraction).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); System.Single @maxDistance = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.Vector3 @direction = (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, 4); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.SweepTestAll(@direction, @maxDistance, @queryTriggerInteraction); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* SweepTestAll_96(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.Single @maxDistance = *(float*) &ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Vector3 @direction = (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, 3); UnityEngine.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.SweepTestAll(@direction, @maxDistance); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* SweepTestAll_97(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 @direction = (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.Rigidbody instance_of_this_method = (UnityEngine.Rigidbody) typeof(UnityEngine.Rigidbody).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.SweepTestAll(@direction); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } 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.Rigidbody(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } } }