23627 lines
1.2 MiB
23627 lines
1.2 MiB
#include "pch-cpp.hpp"
|
|
|
|
#ifndef _MSC_VER
|
|
# include <alloca.h>
|
|
#else
|
|
# include <malloc.h>
|
|
#endif
|
|
|
|
|
|
#include <limits>
|
|
|
|
|
|
struct VirtualActionInvoker0
|
|
{
|
|
typedef void (*Action)(void*, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2, typename T3, typename T4>
|
|
struct VirtualActionInvoker4
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, T3, T4, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
|
|
}
|
|
};
|
|
template <typename R>
|
|
struct VirtualFuncInvoker0
|
|
{
|
|
typedef R (*Func)(void*, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73;
|
|
// System.Collections.Generic.List`1<RootMotion.FinalIK.InteractionTrigger>
|
|
struct List_1_t2F5A96A6BBA3CE29B059051B243B5E775CA312AA;
|
|
// UnityEngine.AnimationCurve[]
|
|
struct AnimationCurveU5BU5D_t2C4A38D7EFA8095F32316A4D9CE4CBB6840FB7EC;
|
|
// System.Boolean[]
|
|
struct BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4;
|
|
// System.Char[]
|
|
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
|
|
// UnityEngine.ContactPoint[]
|
|
struct ContactPointU5BU5D_t3570603E8D0685B71B3D8BA07031674B00C5E411;
|
|
// System.Delegate[]
|
|
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
|
|
// RootMotion.FinalIK.FBIKChain[]
|
|
struct FBIKChainU5BU5D_tFD8C1E683937E1B76330546A24DBDBFB765FFCD8;
|
|
// RootMotion.FinalIK.FullBodyBipedEffector[]
|
|
struct FullBodyBipedEffectorU5BU5D_tD981A1794CC680A87699938F371D208E46245BA4;
|
|
// UnityEngine.GUILayoutOption[]
|
|
struct GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2;
|
|
// UnityEngine.GameObject[]
|
|
struct GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF;
|
|
// RootMotion.FinalIK.IK[]
|
|
struct IKU5BU5D_t52C8B194DE4035080CBCB79524344B69E763E1EE;
|
|
// RootMotion.FinalIK.IKEffector[]
|
|
struct IKEffectorU5BU5D_tF57EFF27A961FE1998A31AA3F57D994EB6C241C6;
|
|
// RootMotion.FinalIK.IKMappingBone[]
|
|
struct IKMappingBoneU5BU5D_t01BAA3AFD642B1EEE3E535045541FDD05453B342;
|
|
// RootMotion.FinalIK.IKMappingLimb[]
|
|
struct IKMappingLimbU5BU5D_tE6DBC6326781F6E37BE68B105CFC9A3DFF18DFA8;
|
|
// System.Int32[]
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
// System.IntPtr[]
|
|
struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
|
|
// RootMotion.FinalIK.InteractionEffector[]
|
|
struct InteractionEffectorU5BU5D_tBFC70F59C0807D35D10E89C3377E3972E28D18A4;
|
|
// RootMotion.FinalIK.InteractionTarget[]
|
|
struct InteractionTargetU5BU5D_tC3AF80B4570586179751E8C6712B4D223A57D27C;
|
|
// RootMotion.Demos.MechSpiderLeg[]
|
|
struct MechSpiderLegU5BU5D_t4E6805D9391202606A68614995F81B0243A80DD9;
|
|
// System.Object[]
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
// UnityEngine.Quaternion[]
|
|
struct QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7;
|
|
// System.Single[]
|
|
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
|
|
// System.Diagnostics.StackTrace[]
|
|
struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
|
|
// UnityEngine.Transform[]
|
|
struct TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24;
|
|
// System.Type[]
|
|
struct TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB;
|
|
// UnityEngine.Vector3[]
|
|
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
|
|
// RootMotion.FinalIK.AimPoser/Pose[]
|
|
struct PoseU5BU5D_t55A98AA94F5DDD5041A5F305CDE897D7D55F8834;
|
|
// RootMotion.Demos.AnimationWarping/Warp[]
|
|
struct WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C;
|
|
// RootMotion.FinalIK.FBIKChain/ChildConstraint[]
|
|
struct ChildConstraintU5BU5D_t40A9356B694A39B8ACDA3746B1528D01A1A6905A;
|
|
// RootMotion.Demos.FKOffset/Offset[]
|
|
struct OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA;
|
|
// RootMotion.FinalIK.GrounderFBBIK/SpineEffector[]
|
|
struct SpineEffectorU5BU5D_t7F1749DC25B7C184B0684DD2732A7E788CA47DC9;
|
|
// RootMotion.FinalIK.HitReaction/HitPointBone[]
|
|
struct HitPointBoneU5BU5D_t105F50599018958020E0007CFF7058F6EBF1517A;
|
|
// RootMotion.FinalIK.HitReaction/HitPointEffector[]
|
|
struct HitPointEffectorU5BU5D_t48D4EC3B49825E16CC018F7166654A372CB2152A;
|
|
// RootMotion.FinalIK.HitReactionVRIK/PositionOffset[]
|
|
struct PositionOffsetU5BU5D_t06B4D147240DB4A1DC4887B566E948004FE5CEDA;
|
|
// RootMotion.FinalIK.HitReactionVRIK/RotationOffset[]
|
|
struct RotationOffsetU5BU5D_tB62485CB92BF2DFF54570CF11C61055581B10227;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap[]
|
|
struct BoneMapU5BU5D_tD01A97904B526A050D5F531C7252EA0AB71031E7;
|
|
// RootMotion.FinalIK.IKSolver/Bone[]
|
|
struct BoneU5BU5D_t384A868FF22BA2A4344F14B899695540877FB593;
|
|
// RootMotion.FinalIK.IKSolver/Node[]
|
|
struct NodeU5BU5D_tA5F5270A73FAAA4B49C43810592604E0E6994A20;
|
|
// RootMotion.FinalIK.IKSolverLimb/AxisDirection[]
|
|
struct AxisDirectionU5BU5D_tEEAAA4643F969417FEC3F3D2F86691E97BBD4C76;
|
|
// RootMotion.FinalIK.IKSolverLookAt/LookAtBone[]
|
|
struct LookAtBoneU5BU5D_t67AC01B3A1C4142F1295929816E7AD9D6926A1D2;
|
|
// RootMotion.FinalIK.IKSolverVR/Arm[]
|
|
struct ArmU5BU5D_tB2AB52CA87A0FBE483C315B38902923AD839C545;
|
|
// RootMotion.FinalIK.IKSolverVR/Leg[]
|
|
struct LegU5BU5D_t5DCA5C047C4CE3C42CB52073FE5835E869F3F788;
|
|
// RootMotion.FinalIK.IKSolverVR/VirtualBone[]
|
|
struct VirtualBoneU5BU5D_t48E9E7A2B983C44A2DF2BC6FF28EA36D99701846;
|
|
// RootMotion.FinalIK.InteractionObject/InteractionEvent[]
|
|
struct InteractionEventU5BU5D_t8CEB24E672CCF2B331CC7406F47AC3FB86C49040;
|
|
// RootMotion.FinalIK.InteractionObject/Multiplier[]
|
|
struct MultiplierU5BU5D_tA056613182051A86C363DDCE0A8344592E0DD2D6;
|
|
// RootMotion.FinalIK.InteractionObject/WeightCurve[]
|
|
struct WeightCurveU5BU5D_tA9F98B9E396132D6F465A5B0CDFDD95BCAB76F42;
|
|
// RootMotion.Demos.MotionAbsorb/Absorber[]
|
|
struct AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E;
|
|
// RootMotion.Demos.OffsetEffector/EffectorLink[]
|
|
struct EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF;
|
|
// RootMotion.FinalIK.RagdollUtility/Child[]
|
|
struct ChildU5BU5D_tFB8EFC0760A976FC510E0D62E55CCAF2BB820484;
|
|
// RootMotion.FinalIK.RagdollUtility/Rigidbone[]
|
|
struct RigidboneU5BU5D_t3C923416EA5EEB7DB15B043CE1B3FCD1CCA37450;
|
|
// RootMotion.FinalIK.Recoil/RecoilOffset[]
|
|
struct RecoilOffsetU5BU5D_t57D95C4F019D09A233E04686E74FC4BFD716E830;
|
|
// RootMotion.Demos.TouchWalls/EffectorLink[]
|
|
struct EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3;
|
|
// RootMotion.Demos.Turret/Part[]
|
|
struct PartU5BU5D_t4733C63BF751A72B9C4FEFD10B0E0D58AF024492;
|
|
// RootMotion.Demos.AimBoxing
|
|
struct AimBoxing_tE7AB7FFDC71D5917F98E6DA4273FB4C466F79F67;
|
|
// RootMotion.FinalIK.AimIK
|
|
struct AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264;
|
|
// RootMotion.FinalIK.AimPoser
|
|
struct AimPoser_t052FE2795021E7CACE993D73C39C4C1F1ACFAB57;
|
|
// RootMotion.Demos.AimSwing
|
|
struct AimSwing_t0A50CD868B376479512ED762B864A2F624D8E9D4;
|
|
// UnityEngine.Animation
|
|
struct Animation_t6593B06C39E3B139808B19F2C719C860F3F61040;
|
|
// UnityEngine.AnimationCurve
|
|
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354;
|
|
// RootMotion.Demos.AnimationWarping
|
|
struct AnimationWarping_t78DF249134B5B398D0587EEACBBC21312B42FF45;
|
|
// UnityEngine.Animator
|
|
struct Animator_t8A52E42AE54F76681838FE9E632683EF3952E883;
|
|
// RootMotion.Demos.AnimatorController3rdPerson
|
|
struct AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1;
|
|
// RootMotion.Demos.AnimatorController3rdPersonIK
|
|
struct AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A;
|
|
// System.AsyncCallback
|
|
struct AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C;
|
|
// UnityEngine.Behaviour
|
|
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA;
|
|
// RootMotion.Demos.BendGoal
|
|
struct BendGoal_t98975872CE7B157D702E80B9AD2D66715BBA096D;
|
|
// System.Reflection.Binder
|
|
struct Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235;
|
|
// RootMotion.FinalIK.BipedIK
|
|
struct BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430;
|
|
// RootMotion.FinalIK.BipedIKSolvers
|
|
struct BipedIKSolvers_tDD4F4E5D7B21508674A95E29D74B2EB4E9641907;
|
|
// RootMotion.Demos.BipedIKvsAnimatorIK
|
|
struct BipedIKvsAnimatorIK_tF864E4358F7D2DA56D475D56BE905A75DD37C558;
|
|
// RootMotion.BipedReferences
|
|
struct BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171;
|
|
// UnityEngine.Camera
|
|
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184;
|
|
// RootMotion.CameraController
|
|
struct CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412;
|
|
// RootMotion.CameraControllerFPS
|
|
struct CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC;
|
|
// UnityEngine.CapsuleCollider
|
|
struct CapsuleCollider_t3A1671C74F0836ABEF5D01A7470B5B2BE290A808;
|
|
// RootMotion.Demos.CharacterAnimationBase
|
|
struct CharacterAnimationBase_tF16F89D851897751BC15325508623E7909E14842;
|
|
// RootMotion.Demos.CharacterAnimationThirdPerson
|
|
struct CharacterAnimationThirdPerson_t9965E1812210AC6B234D6A8BDB9986834DDA3F41;
|
|
// RootMotion.Demos.CharacterAnimationThirdPersonIK
|
|
struct CharacterAnimationThirdPersonIK_t35FCCC7F985A5CCBA842286427067C0D8757FCAF;
|
|
// UnityEngine.CharacterController
|
|
struct CharacterController_t847C1A2719F60547D7D6077B648D6CE2D1EF3A6A;
|
|
// RootMotion.Demos.CharacterController3rdPerson
|
|
struct CharacterController3rdPerson_t95A74736BE92A34290FA5C8DE537526AAFBCA64E;
|
|
// RootMotion.Demos.CharacterThirdPerson
|
|
struct CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9;
|
|
// UnityEngine.Collider
|
|
struct Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76;
|
|
// UnityEngine.Collision
|
|
struct Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0;
|
|
// UnityEngine.Component
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
|
|
// UnityEngine.Coroutine
|
|
struct Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B;
|
|
// System.Delegate
|
|
struct Delegate_t;
|
|
// System.DelegateData
|
|
struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
|
|
// RootMotion.Demos.EffectorOffset
|
|
struct EffectorOffset_t323B1D57C2EACF070264DC3168B318F857A47E69;
|
|
// System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2;
|
|
// RootMotion.Demos.ExplosionDemo
|
|
struct ExplosionDemo_tE47276289E5920417A42F4932B43819B7B1F13DA;
|
|
// RootMotion.Demos.FBBIKSettings
|
|
struct FBBIKSettings_tA6F1B11770302C7C26704888C923FF026C85D94D;
|
|
// RootMotion.Demos.FBIKBendGoal
|
|
struct FBIKBendGoal_t276E771DEDD9ABEECF4353ADB99AB9232B6C4174;
|
|
// RootMotion.Demos.FBIKBoxing
|
|
struct FBIKBoxing_tCCE5F154433E045B24434F05A926F080EB19530C;
|
|
// RootMotion.FinalIK.FBIKChain
|
|
struct FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4;
|
|
// RootMotion.Demos.FBIKHandsOnProp
|
|
struct FBIKHandsOnProp_tBCEE0F504A54C23E6C15FD8F6826AAA2C7900035;
|
|
// RootMotion.Demos.FKOffset
|
|
struct FKOffset_tA5F8807E2B20894CFB3478B98B9F8BD06E089DE8;
|
|
// RootMotion.Demos.FPSAiming
|
|
struct FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784;
|
|
// RootMotion.Demos.FPSCharacter
|
|
struct FPSCharacter_tAAA07597C04B8DCF6DFBD0D8FDF13A2BBCB553AC;
|
|
// UnityEngine.FixedJoint
|
|
struct FixedJoint_tA10A077292A86BA2A2AB3542E3441610055F806E;
|
|
// RootMotion.FinalIK.FullBodyBipedIK
|
|
struct FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31;
|
|
// UnityEngine.GUILayoutOption
|
|
struct GUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14;
|
|
// UnityEngine.GameObject
|
|
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F;
|
|
// UnityEngine.Gradient
|
|
struct Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E;
|
|
// RootMotion.Demos.GrounderDemo
|
|
struct GrounderDemo_tE145931AE47CCED1A32E9365C00C8199E47A4BA8;
|
|
// RootMotion.FinalIK.GrounderFBBIK
|
|
struct GrounderFBBIK_t3C9918D942F45020DC3E12E784C14A00B6AAA8CF;
|
|
// RootMotion.FinalIK.Grounding
|
|
struct Grounding_t914E7EE73B00FC28CC53B60D3536AB7A8EACAA21;
|
|
// RootMotion.FinalIK.HitReaction
|
|
struct HitReaction_tDD0B4FEAA374B21E4C529B96DEE282F633CC21E1;
|
|
// RootMotion.Demos.HitReactionTrigger
|
|
struct HitReactionTrigger_tD6947DD69F327F41307446A2D27E8C94445FA046;
|
|
// RootMotion.FinalIK.HitReactionVRIK
|
|
struct HitReactionVRIK_t78F94F27FA72855C6F113EFE34D4B0F67590346C;
|
|
// RootMotion.Demos.HitReactionVRIKTrigger
|
|
struct HitReactionVRIKTrigger_t6A78E4680C6307ABCAC9C3937C58014CC9092489;
|
|
// RootMotion.Demos.HoldingHands
|
|
struct HoldingHands_tC0400A85CCB40126FEBA66CC9988DB0A8D787D20;
|
|
// System.IAsyncResult
|
|
struct IAsyncResult_t7B9B5A0ECB35DCEC31B8A8122C37D687369253B5;
|
|
// System.Collections.IDictionary
|
|
struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
|
|
// System.Collections.IEnumerator
|
|
struct IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA;
|
|
// RootMotion.FinalIK.IK
|
|
struct IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1;
|
|
// RootMotion.FinalIK.IKConstraintBend
|
|
struct IKConstraintBend_t6B9D65F2A498CF5004558E3D1AE8E157DA1F5E2B;
|
|
// RootMotion.FinalIK.IKEffector
|
|
struct IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6;
|
|
// RootMotion.FinalIK.IKMappingBone
|
|
struct IKMappingBone_t50EC6BC298D1E4F5FD42EBA559FC3DCB762084C3;
|
|
// RootMotion.FinalIK.IKMappingLimb
|
|
struct IKMappingLimb_t4C98F986BCB13706B8F65F99AC139FA8E377338D;
|
|
// RootMotion.FinalIK.IKMappingSpine
|
|
struct IKMappingSpine_tF147A1F674EFB7E3FA2DF5EF35A9E2A3F78B66FB;
|
|
// RootMotion.FinalIK.IKSolver
|
|
struct IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623;
|
|
// RootMotion.FinalIK.IKSolverAim
|
|
struct IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789;
|
|
// RootMotion.FinalIK.IKSolverFullBodyBiped
|
|
struct IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55;
|
|
// RootMotion.FinalIK.IKSolverLimb
|
|
struct IKSolverLimb_t4BAB5C0E008B3E8E2B673F54E7AAF1F3012887F1;
|
|
// RootMotion.FinalIK.IKSolverLookAt
|
|
struct IKSolverLookAt_t2376880DDCB58C33F0ED60FC941E8CD1E1381DEB;
|
|
// RootMotion.FinalIK.IKSolverTrigonometric
|
|
struct IKSolverTrigonometric_t55424AF77D1DAF8373F11CC9339F455C2FB5F62C;
|
|
// RootMotion.FinalIK.IKSolverVR
|
|
struct IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8;
|
|
// RootMotion.Demos.InteractionC2CDemo
|
|
struct InteractionC2CDemo_tEE609D1D60F8FB5AE8824B02D083CC16A6EAA0C8;
|
|
// RootMotion.Demos.InteractionDemo
|
|
struct InteractionDemo_tACDB69C5426B768A766351CC5AEECD236C567E6C;
|
|
// RootMotion.FinalIK.InteractionLookAt
|
|
struct InteractionLookAt_tB2271E7EF716542B2DF191680FE0217699696D61;
|
|
// RootMotion.FinalIK.InteractionObject
|
|
struct InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE;
|
|
// RootMotion.FinalIK.InteractionSystem
|
|
struct InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595;
|
|
// RootMotion.Demos.InteractionSystemTestGUI
|
|
struct InteractionSystemTestGUI_t69783522BBD59178B399ABC830EED56B358FAEDD;
|
|
// UnityEngine.Joint
|
|
struct Joint_tB2C5499F976EBB1EA1C11A80E1BD9F5E2EE4D682;
|
|
// RootMotion.Demos.KissingRig
|
|
struct KissingRig_tFADAEF80BC8322C4AABBD5819D9E49384476A220;
|
|
// RootMotion.FinalIK.LimbIK
|
|
struct LimbIK_tB704FB4BE269E2A84D213D61DE6B1C31696C6E72;
|
|
// RootMotion.FinalIK.LookAtIK
|
|
struct LookAtIK_tC7A806EF11D715ACD21D26EF301180A331A93F3A;
|
|
// RootMotion.Demos.MechSpider
|
|
struct MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6;
|
|
// RootMotion.Demos.MechSpiderController
|
|
struct MechSpiderController_t5804A9789F4C8493AC593B390D111B5F2572A0DB;
|
|
// RootMotion.Demos.MechSpiderLeg
|
|
struct MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC;
|
|
// RootMotion.Demos.MechSpiderParticles
|
|
struct MechSpiderParticles_t9F2822BCC6D66FBDA2D9C2A91AF226EA2DC71C29;
|
|
// System.Reflection.MemberFilter
|
|
struct MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553;
|
|
// System.Reflection.MethodInfo
|
|
struct MethodInfo_t;
|
|
// UnityEngine.MonoBehaviour
|
|
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71;
|
|
// RootMotion.Demos.MotionAbsorb
|
|
struct MotionAbsorb_t5DBE549F1D756E0BE73E606693ED0B7C8D1622EC;
|
|
// RootMotion.Demos.MotionAbsorbCharacter
|
|
struct MotionAbsorbCharacter_t079CD5DFEB1F5DC0129E622D992E47E893F2F101;
|
|
// System.NotSupportedException
|
|
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A;
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
|
|
// RootMotion.Demos.OffsetEffector
|
|
struct OffsetEffector_t85C22B70BC2CE1EFCE561609C8D4AD6438315F0E;
|
|
// RootMotion.FinalIK.OffsetModifier
|
|
struct OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8;
|
|
// UnityEngine.ParticleSystem
|
|
struct ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1;
|
|
// RootMotion.Demos.PendulumExample
|
|
struct PendulumExample_t8EB41555C1BD4E5CF58203F94125972FC818050B;
|
|
// UnityEngine.PhysicMaterial
|
|
struct PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131;
|
|
// RootMotion.Demos.PickUp2Handed
|
|
struct PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C;
|
|
// RootMotion.Demos.PickUpBox
|
|
struct PickUpBox_t1F95B66E0F383CDA69FB5956DD869CE3A17F2BBD;
|
|
// RootMotion.Demos.PickUpSphere
|
|
struct PickUpSphere_t1156B1E114160E0BE24296FCAC02DD10D834103A;
|
|
// RootMotion.Demos.PlatformRotator
|
|
struct PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0;
|
|
// RootMotion.FinalIK.Poser
|
|
struct Poser_tDF8B767BC6593233BEED1C025429B0FD41B97B50;
|
|
// RootMotion.FinalIK.RagdollUtility
|
|
struct RagdollUtility_t8C17408AF12ADC7F3A7332141C92F3F2B88D994A;
|
|
// RootMotion.Demos.RagdollUtilityDemo
|
|
struct RagdollUtilityDemo_t817A76B0E6C564ECCAD44A7802E65E773430A56D;
|
|
// RootMotion.FinalIK.Recoil
|
|
struct Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE;
|
|
// RootMotion.Demos.RecoilTest
|
|
struct RecoilTest_t839FBDF4069A23F482DCFC45105A2DCE4B6EA10F;
|
|
// UnityEngine.Renderer
|
|
struct Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF;
|
|
// RootMotion.Demos.ResetInteractionObject
|
|
struct ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47;
|
|
// UnityEngine.Rigidbody
|
|
struct Rigidbody_t268697F5A994213ED97393309870968BC1C7393C;
|
|
// RootMotion.FinalIK.RotationLimit
|
|
struct RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9;
|
|
// System.Runtime.Serialization.SafeSerializationManager
|
|
struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
|
|
// RootMotion.Demos.SecondHandOnGun
|
|
struct SecondHandOnGun_t286E6948D860E30439D4A38FC44860EBC0CE0AFD;
|
|
// RootMotion.Demos.SimpleAimingSystem
|
|
struct SimpleAimingSystem_t8DA0E8B184CECA460DFDA891E380644E9C72DFAB;
|
|
// RootMotion.Demos.SimpleLocomotion
|
|
struct SimpleLocomotion_t5C40DF535664F3EF4CC54452166672EA480285BE;
|
|
// RootMotion.Demos.SoccerDemo
|
|
struct SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28;
|
|
// System.String
|
|
struct String_t;
|
|
// RootMotion.Demos.TerrainOffset
|
|
struct TerrainOffset_t0CACCD4B4EFD56F6DFD242301A038A5B3E283EF4;
|
|
// RootMotion.Demos.TouchWalls
|
|
struct TouchWalls_t5AE19654EB9298BC7C4D58EB5761356F2BA30C43;
|
|
// RootMotion.Demos.TransferMotion
|
|
struct TransferMotion_t8806D02A8CAB6EBBD9330B7FF9493A0DF49B6B60;
|
|
// UnityEngine.Transform
|
|
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
|
|
// RootMotion.Demos.Turret
|
|
struct Turret_t6C460B711013A02063AD52E428C27497D45517D7;
|
|
// RootMotion.Demos.TwoHandedProp
|
|
struct TwoHandedProp_t1A1BE0574040B70570E43DC8AD7CFCD7F193DAD2;
|
|
// System.Type
|
|
struct Type_t;
|
|
// RootMotion.Demos.UserControlInteractions
|
|
struct UserControlInteractions_tEDE54993F6141ED00CB31046FA52C72097A799D5;
|
|
// RootMotion.Demos.UserControlThirdPerson
|
|
struct UserControlThirdPerson_t84D27C4D05AE0B01CDABC9C382DEDD23F3943690;
|
|
// RootMotion.Demos.VRController
|
|
struct VRController_tEFE53020BB532DAE5FFB43A229B556D2081446A2;
|
|
// RootMotion.FinalIK.VRIK
|
|
struct VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3;
|
|
// RootMotion.Demos.VRIKCalibrationBasic
|
|
struct VRIKCalibrationBasic_tFB2EE185670DDB7DAFBAD4D909780F221584DA43;
|
|
// RootMotion.Demos.VRIKCalibrationController
|
|
struct VRIKCalibrationController_t3EC7F7D2C774EB170E9F20C23D73524FEFF44F2D;
|
|
// RootMotion.FinalIK.VRIKLODController
|
|
struct VRIKLODController_tDB5C075D26CF4CD41C5343F34E6DCD72440395FC;
|
|
// RootMotion.FinalIK.VRIKRootController
|
|
struct VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185;
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
|
|
// UnityEngine.WaitForSeconds
|
|
struct WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3;
|
|
// RootMotion.FinalIK.AimPoser/Pose
|
|
struct Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A;
|
|
// UnityEngine.Camera/CameraCallback
|
|
struct CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD;
|
|
// RootMotion.Demos.FBBIKSettings/Limb
|
|
struct Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01;
|
|
// RootMotion.Demos.FKOffset/Offset
|
|
struct Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02;
|
|
// RootMotion.FinalIK.Grounder/GrounderDelegate
|
|
struct GrounderDelegate_tAF581A816FB72CF58CD98074330504BD8E347678;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap
|
|
struct BoneMap_tBEFCE0E8D845A5059B9B8D8CE6343ED555AC1EC1;
|
|
// RootMotion.FinalIK.IKSolver/Bone
|
|
struct Bone_t08B8D90F9F7409FAD0F5DB325E88341691FF6BAF;
|
|
// RootMotion.FinalIK.IKSolver/IterationDelegate
|
|
struct IterationDelegate_t50F2C0DBA5189F9263AE46A2205096E8AF33A633;
|
|
// RootMotion.FinalIK.IKSolver/Point
|
|
struct Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9;
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate
|
|
struct UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD;
|
|
// RootMotion.FinalIK.IKSolverLookAt/LookAtBone
|
|
struct LookAtBone_t20B9128D670E48414CE5235C77AC18E66273F5BE;
|
|
// RootMotion.FinalIK.IKSolverTrigonometric/TrigonometricBone
|
|
struct TrigonometricBone_t81934FDB545A94662146BE1A1F0979BA33D21D9E;
|
|
// RootMotion.FinalIK.IKSolverVR/Arm
|
|
struct Arm_tBB9696204237D5FD5D679036101C50155CF19A30;
|
|
// RootMotion.FinalIK.IKSolverVR/Leg
|
|
struct Leg_t4E62EE18462FB53D1C02C4F047CB3EC911835FB4;
|
|
// RootMotion.FinalIK.IKSolverVR/Locomotion
|
|
struct Locomotion_t1D30AD1BCA96957127E084CA0A6A4E23C1B8047A;
|
|
// RootMotion.FinalIK.IKSolverVR/Spine
|
|
struct Spine_t4F5CCC4887D9107BD9BA474D5874B00345A0BF53;
|
|
// RootMotion.FinalIK.IKSolverVR/VirtualBone
|
|
struct VirtualBone_t226791D5399392F2D6B8F1BFCA8DA84BACE82F2E;
|
|
// RootMotion.FinalIK.InteractionSystem/InteractionDelegate
|
|
struct InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4;
|
|
// RootMotion.FinalIK.InteractionSystem/InteractionEventDelegate
|
|
struct InteractionEventDelegate_tACBFD16C00C42A8ED2EBACEA75F5F98E48145851;
|
|
// RootMotion.Demos.KissingRig/Partner
|
|
struct Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD;
|
|
// RootMotion.Demos.MechSpiderLeg/<Step>d__33
|
|
struct U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1;
|
|
// RootMotion.Demos.MotionAbsorb/Absorber
|
|
struct Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF;
|
|
// RootMotion.Demos.OffsetEffector/EffectorLink
|
|
struct EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1;
|
|
// RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14
|
|
struct U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4;
|
|
// RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7
|
|
struct U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439;
|
|
// RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4
|
|
struct U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25;
|
|
// RootMotion.Demos.TouchWalls/EffectorLink
|
|
struct EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768;
|
|
// RootMotion.Demos.Turret/Part
|
|
struct Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6;
|
|
// RootMotion.FinalIK.VRIK/References
|
|
struct References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData
|
|
struct CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1;
|
|
// RootMotion.FinalIK.VRIKCalibrator/Settings
|
|
struct Settings_t8E009A6EE69717B08B142E1F3BE3DB8879C5515C;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target
|
|
struct Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12;
|
|
|
|
IL2CPP_EXTERN_C RuntimeClass* CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* GUI_tA9CDB3D69DB13D51AD83ABDB587EF95947EC2D2A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* HumanBodyBones_tA2A904890A05ABCFFAB7E119244E97C5EA9807E6_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral03CD5361DDC7B2ECF6222BAA5A64F7ADD074F839;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral07D65ACCCCB291AA8B2FBB8F6EA12784AD451B9E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral0E9BB5B50F1726CA15B31FEA2A58A02CB242A443;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral10A6CB6DDD01AB51AEB502A6C417942F5A3F1964;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral12E66FB3D22236F24A2BC6ED9A0A8598FC76FC0B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral1B53773871E0BAC49BF1C9F323EEB09F6BD48AC8;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral234D19ACC97DBDDB4C2351D9B583DDC8AD958380;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral2368176C6E8740752331563739901A2C48824210;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral24D4CD6D64D3AF87C9DA597E3B9CB46F1DDDD065;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral265E15F1F86F1C766555899D5771CF29055DE75A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral37564C7A8F8783C5ABCE419B99E2251CA6571569;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral434AEC66B3633CA70315F5B22F0888074C50FCE3;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral5622342F1405750DC0BFECD22BAFE1752EC515D9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral5846C622AD3991FF48E4838CDEBE0AE4D6DA048B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral5D2E3D85D1C3D4F42FAE33FB35C01C48241E0B32;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6066AE5835C0F1EF855E9E2B2D9FC85AF34BCF9F;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral67ED6A85FFC520CA251832C1F127C81CCDAA741E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral688FAFF377203A402886D97E534A56BEBBAF2073;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6920CEEBD63A93865A2F69394BEBEF900D9F9A62;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral775FDAD439F92CFB6B75E6ACE982246BC21C1342;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral7E6424D40EA3C089A59F1939BDBFA11E9930C8B6;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral7F8C014BD4810CC276D0F9F81A1E759C7B098B1E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral802EE3F20E6B276230C58A948CDB87B042DA121E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral871605CCF8E01BFB7E3E6A589A6B1B84D1FF258A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8B5E17974DC6D4B26728482EBF164B288736F4C6;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral90D4288C6B341752EE3EFA0E470F28224EE3B953;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral9FA47FF0267D21FA99A57AD5A5037411DD7F693E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralAC61293B877F112A96B3F102361A1746AA8273CB;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB01FF696B87C164310EAEBF70491B47261EEA837;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralBBF775021115C3F1E01EAED9D6F3183304674FB7;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralC53C15EA098684991F8F2C3F89C5829550973A30;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralC6D7C0CAFD0FD7EA7198E1C7A50D357691535253;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralCE03A6D66404314B15DD459D12987FF69E8AE5F9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD4D0CBDD4C2A6529BD6BC6738495CB8EA49A2AAB;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD5D2875F228D651E1289522AEAAB8C492001C1BE;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDC797EA4B889AAD960CFE71ABEA35462FF1BE5DF;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDD50517361A6FBB36D470BF1FC1A25EFCE78364F;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDE3D2EAF234D00C3EABC8328A55907FE4BE13A97;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDEB153A4F640C1BF005F7E30CECC4A84EB08150A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralE4F17E3CBEB8EFFD407C61DEBD5D047C52C0BD04;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralE5BA4B48B0256F3AE41DDA5D688560BF9243E96A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralEA7204D95B639C2C73A50499969CE9E494FFA431;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralED16EDC2D5C7D06442C9D1E147494C7BF4D5D513;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralF01072AE30B2F09CAD786A2408FE56B89E6E99F6;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralF4FC07F243BFB52A895367AF86FA21AA3A862516;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralF9E4C3B5C3166D85BC1C56AFC4D9F965A73F297A;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* AnimatorController3rdPersonIK_OnPreRead_mA588D4CB2A3D7F66912F3CDF0DE3992325A023EC_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisAimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264_mE5F2B774C79390FE892E69FBBEFFDDAD4B7C6047_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisAnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1_mDA852EDB03BB0D0BF4351FBFDEDF2E5AF527A514_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisFPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784_m14019706B4729CBBE808C1AC63FFA13B34A432DB_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisIK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1_mEC09F86A79F43E43C9714AE242406F68A5844E23_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisInteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595_m2C929736175975A7364A00BC4EB93536B5B64E60_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisPoser_tDF8B767BC6593233BEED1C025429B0FD41B97B50_m1EB031B4E9450742E7A35BC9E04E59E38A08234E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisRecoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE_m07F19F290BD00442E59F6BBA365D1E99EA2915C1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisRotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9_m6797F304F01D51B971E73EEC59632AC0ED0E8443_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisVRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3_m07599F820B1195DB985DC4C08F29977C4C0BA64D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* EffectorLink_OnInteractionResume_mC80FF393EF713EA33F3A9587C486FFAACCA8507E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* EffectorLink_OnInteractionStart_mF66F0E003306C73229764FCD94E75310BCA4DE89_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* EffectorLink_OnInteractionStop_m86FC3989DD3584FFB1F1C4AFF0C9BAA619297686_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* FBIKHandsOnProp_OnPreRead_m4AC11000CA8A7D196E9DAC06441FCB65BFAF4923_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisFixedJoint_tA10A077292A86BA2A2AB3542E3441610055F806E_m55087CF9E0B9B9026B0844811592B36880109159_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponent_TisCharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9_mF2E48D817CBB9C107F6773007251A42191FE9BDE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* MechSpiderLeg_AfterIK_mB3B55023FE77F1DB1827D4ECDCF5EB000769780D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* MotionAbsorb_AfterIK_m4C199253B2328FB60A5A44D9211CB67E27D0C382_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PickUp2Handed_OnDrop_m2E017B739A09B494BF733D38D64A65F8A4389E98_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PickUp2Handed_OnPause_m3E4F7C72F201288C75AE65BCC975082D08F0BF0D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PickUp2Handed_OnStart_mF0DCCB74CDBCEE30611048D06E6585D077F7511C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* TwoHandedProp_AfterFBBIK_mB07B9EF6468367EACAF9576D6BFE24856FA2E057_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CResetDelayedU3Ed__4_System_Collections_IEnumerator_Reset_m9B55594969968F4D6B39E3B1F6A6BC4DFAAFEEAC_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CResetObjectU3Ed__7_System_Collections_IEnumerator_Reset_m683F5DDF5D2F561960B255157E1813E63AF96594_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CStepU3Ed__33_System_Collections_IEnumerator_Reset_m59A6A59B7203FEAC63CF9B2CB792DD1B3AA36F9C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CSwitchRotationU3Ed__14_System_Collections_IEnumerator_Reset_m6B14D77F90EE25D5D4217BF61DBEF68542B239EA_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* VRIKRootController_OnPreUpdate_m4CA8411457CE702DA7FFAFECA286FA9277823121_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeType* ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1_0_0_0_var;
|
|
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354;;
|
|
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_com;
|
|
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_com;;
|
|
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_pinvoke;
|
|
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_pinvoke;;
|
|
struct ContactPoint_t241857959C0D517C21F541BB04B63FA6C1EAB3F9;
|
|
struct Delegate_t_marshaled_com;
|
|
struct Delegate_t_marshaled_pinvoke;
|
|
struct Exception_t_marshaled_com;
|
|
struct Exception_t_marshaled_pinvoke;
|
|
|
|
struct FBIKChainU5BU5D_tFD8C1E683937E1B76330546A24DBDBFB765FFCD8;
|
|
struct FullBodyBipedEffectorU5BU5D_tD981A1794CC680A87699938F371D208E46245BA4;
|
|
struct GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2;
|
|
struct GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF;
|
|
struct MechSpiderLegU5BU5D_t4E6805D9391202606A68614995F81B0243A80DD9;
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
struct TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24;
|
|
struct PoseU5BU5D_t55A98AA94F5DDD5041A5F305CDE897D7D55F8834;
|
|
struct WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C;
|
|
struct OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA;
|
|
struct BoneU5BU5D_t384A868FF22BA2A4344F14B899695540877FB593;
|
|
struct PointU5BU5D_tCD6673DF974ECCCD942E643E05EAD6C28FB4C7BB;
|
|
struct AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E;
|
|
struct EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF;
|
|
struct EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3;
|
|
struct PartU5BU5D_t4733C63BF751A72B9C4FEFD10B0E0D58AF024492;
|
|
|
|
IL2CPP_EXTERN_C_BEGIN
|
|
IL2CPP_EXTERN_C_END
|
|
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
|
|
// System.EmptyArray`1<System.Object>
|
|
struct EmptyArray_1_tDF0DD7256B115243AA6BD5558417387A734240EE : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// RootMotion.BipedReferences
|
|
struct BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Transform RootMotion.BipedReferences::root
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___root_0;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::pelvis
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pelvis_1;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::leftThigh
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftThigh_2;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::leftCalf
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftCalf_3;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::leftFoot
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftFoot_4;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::rightThigh
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightThigh_5;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::rightCalf
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightCalf_6;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::rightFoot
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightFoot_7;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::leftUpperArm
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftUpperArm_8;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::leftForearm
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftForearm_9;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::leftHand
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftHand_10;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::rightUpperArm
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightUpperArm_11;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::rightForearm
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightForearm_12;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::rightHand
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightHand_13;
|
|
// UnityEngine.Transform RootMotion.BipedReferences::head
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___head_14;
|
|
// UnityEngine.Transform[] RootMotion.BipedReferences::spine
|
|
TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___spine_15;
|
|
// UnityEngine.Transform[] RootMotion.BipedReferences::eyes
|
|
TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___eyes_16;
|
|
};
|
|
|
|
// RootMotion.FinalIK.FBIKChain
|
|
struct FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4 : public RuntimeObject
|
|
{
|
|
// System.Single RootMotion.FinalIK.FBIKChain::pin
|
|
float ___pin_0;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::pull
|
|
float ___pull_1;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::push
|
|
float ___push_2;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::pushParent
|
|
float ___pushParent_3;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::reach
|
|
float ___reach_4;
|
|
// RootMotion.FinalIK.FBIKChain/Smoothing RootMotion.FinalIK.FBIKChain::reachSmoothing
|
|
int32_t ___reachSmoothing_5;
|
|
// RootMotion.FinalIK.FBIKChain/Smoothing RootMotion.FinalIK.FBIKChain::pushSmoothing
|
|
int32_t ___pushSmoothing_6;
|
|
// RootMotion.FinalIK.IKSolver/Node[] RootMotion.FinalIK.FBIKChain::nodes
|
|
NodeU5BU5D_tA5F5270A73FAAA4B49C43810592604E0E6994A20* ___nodes_7;
|
|
// System.Int32[] RootMotion.FinalIK.FBIKChain::children
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___children_8;
|
|
// RootMotion.FinalIK.FBIKChain/ChildConstraint[] RootMotion.FinalIK.FBIKChain::childConstraints
|
|
ChildConstraintU5BU5D_t40A9356B694A39B8ACDA3746B1528D01A1A6905A* ___childConstraints_9;
|
|
// RootMotion.FinalIK.IKConstraintBend RootMotion.FinalIK.FBIKChain::bendConstraint
|
|
IKConstraintBend_t6B9D65F2A498CF5004558E3D1AE8E157DA1F5E2B* ___bendConstraint_10;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::rootLength
|
|
float ___rootLength_11;
|
|
// System.Boolean RootMotion.FinalIK.FBIKChain::initiated
|
|
bool ___initiated_12;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::length
|
|
float ___length_13;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::distance
|
|
float ___distance_14;
|
|
// RootMotion.FinalIK.IKSolver/Point RootMotion.FinalIK.FBIKChain::p
|
|
Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9* ___p_15;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::reachForce
|
|
float ___reachForce_16;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::pullParentSum
|
|
float ___pullParentSum_17;
|
|
// System.Single[] RootMotion.FinalIK.FBIKChain::crossFades
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___crossFades_18;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::sqrMag1
|
|
float ___sqrMag1_19;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::sqrMag2
|
|
float ___sqrMag2_20;
|
|
// System.Single RootMotion.FinalIK.FBIKChain::sqrMagDif
|
|
float ___sqrMagDif_21;
|
|
};
|
|
|
|
// UnityEngine.GUILayoutOption
|
|
struct GUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14 : public RuntimeObject
|
|
{
|
|
// UnityEngine.GUILayoutOption/Type UnityEngine.GUILayoutOption::type
|
|
int32_t ___type_0;
|
|
// System.Object UnityEngine.GUILayoutOption::value
|
|
RuntimeObject* ___value_1;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKMapping
|
|
struct IKMapping_t102873B8AC081DB81355663ABDF33C3A9659B73B : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// System.Reflection.MemberInfo
|
|
struct MemberInfo_t : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// System.String
|
|
struct String_t : public RuntimeObject
|
|
{
|
|
// System.Int32 System.String::_stringLength
|
|
int32_t ____stringLength_4;
|
|
// System.Char System.String::_firstChar
|
|
Il2CppChar ____firstChar_5;
|
|
};
|
|
|
|
// System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
|
|
{
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
|
|
{
|
|
};
|
|
// Native definition for COM marshalling of System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
|
|
{
|
|
};
|
|
|
|
// UnityEngine.YieldInstruction
|
|
struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D : public RuntimeObject
|
|
{
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.YieldInstruction
|
|
struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_pinvoke
|
|
{
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.YieldInstruction
|
|
struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_com
|
|
{
|
|
};
|
|
|
|
// RootMotion.Demos.FBBIKSettings/Limb
|
|
struct Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01 : public RuntimeObject
|
|
{
|
|
// RootMotion.FinalIK.FBIKChain/Smoothing RootMotion.Demos.FBBIKSettings/Limb::reachSmoothing
|
|
int32_t ___reachSmoothing_0;
|
|
// System.Single RootMotion.Demos.FBBIKSettings/Limb::maintainRelativePositionWeight
|
|
float ___maintainRelativePositionWeight_1;
|
|
// System.Single RootMotion.Demos.FBBIKSettings/Limb::mappingWeight
|
|
float ___mappingWeight_2;
|
|
};
|
|
|
|
// RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14
|
|
struct U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4 : public RuntimeObject
|
|
{
|
|
// System.Int32 RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// System.Object RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14::<>2__current
|
|
RuntimeObject* ___U3CU3E2__current_1;
|
|
// RootMotion.Demos.PlatformRotator RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14::<>4__this
|
|
PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* ___U3CU3E4__this_2;
|
|
};
|
|
|
|
// RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7
|
|
struct U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439 : public RuntimeObject
|
|
{
|
|
// System.Int32 RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// System.Object RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7::<>2__current
|
|
RuntimeObject* ___U3CU3E2__current_1;
|
|
// System.Single RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7::resetTime
|
|
float ___resetTime_2;
|
|
// RootMotion.Demos.ResetInteractionObject RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7::<>4__this
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* ___U3CU3E4__this_3;
|
|
};
|
|
|
|
// RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4
|
|
struct U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25 : public RuntimeObject
|
|
{
|
|
// System.Int32 RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// System.Object RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4::<>2__current
|
|
RuntimeObject* ___U3CU3E2__current_1;
|
|
// RootMotion.Demos.SoccerDemo RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4::<>4__this
|
|
SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* ___U3CU3E4__this_2;
|
|
};
|
|
|
|
// RootMotion.Demos.Turret/Part
|
|
struct Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Transform RootMotion.Demos.Turret/Part::transform
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___transform_0;
|
|
// RootMotion.FinalIK.RotationLimit RootMotion.Demos.Turret/Part::rotationLimit
|
|
RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9* ___rotationLimit_1;
|
|
};
|
|
|
|
// RootMotion.FinalIK.VRIK/References
|
|
struct References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::root
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___root_0;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::pelvis
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pelvis_1;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::spine
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___spine_2;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::chest
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___chest_3;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::neck
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___neck_4;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::head
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___head_5;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::leftShoulder
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftShoulder_6;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::leftUpperArm
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftUpperArm_7;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::leftForearm
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftForearm_8;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::leftHand
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftHand_9;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::rightShoulder
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightShoulder_10;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::rightUpperArm
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightUpperArm_11;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::rightForearm
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightForearm_12;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::rightHand
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightHand_13;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::leftThigh
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftThigh_14;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::leftCalf
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftCalf_15;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::leftFoot
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftFoot_16;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::leftToes
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftToes_17;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::rightThigh
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightThigh_18;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::rightCalf
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightCalf_19;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::rightFoot
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightFoot_20;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIK/References::rightToes
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightToes_21;
|
|
};
|
|
|
|
// UnityEngine.AnimatorStateInfo
|
|
struct AnimatorStateInfo_t1F47379289C7CE7FD588FBC3BBD79A777243B6B2
|
|
{
|
|
// System.Int32 UnityEngine.AnimatorStateInfo::m_Name
|
|
int32_t ___m_Name_0;
|
|
// System.Int32 UnityEngine.AnimatorStateInfo::m_Path
|
|
int32_t ___m_Path_1;
|
|
// System.Int32 UnityEngine.AnimatorStateInfo::m_FullPath
|
|
int32_t ___m_FullPath_2;
|
|
// System.Single UnityEngine.AnimatorStateInfo::m_NormalizedTime
|
|
float ___m_NormalizedTime_3;
|
|
// System.Single UnityEngine.AnimatorStateInfo::m_Length
|
|
float ___m_Length_4;
|
|
// System.Single UnityEngine.AnimatorStateInfo::m_Speed
|
|
float ___m_Speed_5;
|
|
// System.Single UnityEngine.AnimatorStateInfo::m_SpeedMultiplier
|
|
float ___m_SpeedMultiplier_6;
|
|
// System.Int32 UnityEngine.AnimatorStateInfo::m_Tag
|
|
int32_t ___m_Tag_7;
|
|
// System.Int32 UnityEngine.AnimatorStateInfo::m_Loop
|
|
int32_t ___m_Loop_8;
|
|
};
|
|
|
|
// System.Boolean
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
|
|
{
|
|
// System.Boolean System.Boolean::m_value
|
|
bool ___m_value_0;
|
|
};
|
|
|
|
// UnityEngine.Color
|
|
struct Color_tD001788D726C3A7F1379BEED0260B9591F440C1F
|
|
{
|
|
// System.Single UnityEngine.Color::r
|
|
float ___r_0;
|
|
// System.Single UnityEngine.Color::g
|
|
float ___g_1;
|
|
// System.Single UnityEngine.Color::b
|
|
float ___b_2;
|
|
// System.Single UnityEngine.Color::a
|
|
float ___a_3;
|
|
};
|
|
|
|
// System.Double
|
|
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
|
|
{
|
|
// System.Double System.Double::m_value
|
|
double ___m_value_0;
|
|
};
|
|
|
|
// System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
|
|
{
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
|
|
{
|
|
};
|
|
// Native definition for COM marshalling of System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
|
|
{
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKMappingBone
|
|
struct IKMappingBone_t50EC6BC298D1E4F5FD42EBA559FC3DCB762084C3 : public IKMapping_t102873B8AC081DB81355663ABDF33C3A9659B73B
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKMappingBone::bone
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone_0;
|
|
// System.Single RootMotion.FinalIK.IKMappingBone::maintainRotationWeight
|
|
float ___maintainRotationWeight_1;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap RootMotion.FinalIK.IKMappingBone::boneMap
|
|
BoneMap_tBEFCE0E8D845A5059B9B8D8CE6343ED555AC1EC1* ___boneMap_2;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKMappingLimb
|
|
struct IKMappingLimb_t4C98F986BCB13706B8F65F99AC139FA8E377338D : public IKMapping_t102873B8AC081DB81355663ABDF33C3A9659B73B
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKMappingLimb::parentBone
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___parentBone_0;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKMappingLimb::bone1
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone1_1;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKMappingLimb::bone2
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone2_2;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKMappingLimb::bone3
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone3_3;
|
|
// System.Single RootMotion.FinalIK.IKMappingLimb::maintainRotationWeight
|
|
float ___maintainRotationWeight_4;
|
|
// System.Single RootMotion.FinalIK.IKMappingLimb::weight
|
|
float ___weight_5;
|
|
// System.Boolean RootMotion.FinalIK.IKMappingLimb::updatePlaneRotations
|
|
bool ___updatePlaneRotations_6;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap RootMotion.FinalIK.IKMappingLimb::boneMapParent
|
|
BoneMap_tBEFCE0E8D845A5059B9B8D8CE6343ED555AC1EC1* ___boneMapParent_7;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap RootMotion.FinalIK.IKMappingLimb::boneMap1
|
|
BoneMap_tBEFCE0E8D845A5059B9B8D8CE6343ED555AC1EC1* ___boneMap1_8;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap RootMotion.FinalIK.IKMappingLimb::boneMap2
|
|
BoneMap_tBEFCE0E8D845A5059B9B8D8CE6343ED555AC1EC1* ___boneMap2_9;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap RootMotion.FinalIK.IKMappingLimb::boneMap3
|
|
BoneMap_tBEFCE0E8D845A5059B9B8D8CE6343ED555AC1EC1* ___boneMap3_10;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKMappingSpine
|
|
struct IKMappingSpine_tF147A1F674EFB7E3FA2DF5EF35A9E2A3F78B66FB : public IKMapping_t102873B8AC081DB81355663ABDF33C3A9659B73B
|
|
{
|
|
// UnityEngine.Transform[] RootMotion.FinalIK.IKMappingSpine::spineBones
|
|
TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___spineBones_0;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKMappingSpine::leftUpperArmBone
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftUpperArmBone_1;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKMappingSpine::rightUpperArmBone
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightUpperArmBone_2;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKMappingSpine::leftThighBone
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftThighBone_3;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKMappingSpine::rightThighBone
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightThighBone_4;
|
|
// System.Int32 RootMotion.FinalIK.IKMappingSpine::iterations
|
|
int32_t ___iterations_5;
|
|
// System.Single RootMotion.FinalIK.IKMappingSpine::twistWeight
|
|
float ___twistWeight_6;
|
|
// System.Int32 RootMotion.FinalIK.IKMappingSpine::rootNodeIndex
|
|
int32_t ___rootNodeIndex_7;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap[] RootMotion.FinalIK.IKMappingSpine::spine
|
|
BoneMapU5BU5D_tD01A97904B526A050D5F531C7252EA0AB71031E7* ___spine_8;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap RootMotion.FinalIK.IKMappingSpine::leftUpperArm
|
|
BoneMap_tBEFCE0E8D845A5059B9B8D8CE6343ED555AC1EC1* ___leftUpperArm_9;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap RootMotion.FinalIK.IKMappingSpine::rightUpperArm
|
|
BoneMap_tBEFCE0E8D845A5059B9B8D8CE6343ED555AC1EC1* ___rightUpperArm_10;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap RootMotion.FinalIK.IKMappingSpine::leftThigh
|
|
BoneMap_tBEFCE0E8D845A5059B9B8D8CE6343ED555AC1EC1* ___leftThigh_11;
|
|
// RootMotion.FinalIK.IKMapping/BoneMap RootMotion.FinalIK.IKMappingSpine::rightThigh
|
|
BoneMap_tBEFCE0E8D845A5059B9B8D8CE6343ED555AC1EC1* ___rightThigh_12;
|
|
// System.Boolean RootMotion.FinalIK.IKMappingSpine::useFABRIK
|
|
bool ___useFABRIK_13;
|
|
};
|
|
|
|
// System.Int32
|
|
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
|
|
{
|
|
// System.Int32 System.Int32::m_value
|
|
int32_t ___m_value_0;
|
|
};
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t
|
|
{
|
|
// System.Void* System.IntPtr::m_value
|
|
void* ___m_value_0;
|
|
};
|
|
|
|
// UnityEngine.LayerMask
|
|
struct LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB
|
|
{
|
|
// System.Int32 UnityEngine.LayerMask::m_Mask
|
|
int32_t ___m_Mask_0;
|
|
};
|
|
|
|
// UnityEngine.Mathf
|
|
struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682__padding[1];
|
|
};
|
|
};
|
|
|
|
// UnityEngine.Quaternion
|
|
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974
|
|
{
|
|
// System.Single UnityEngine.Quaternion::x
|
|
float ___x_0;
|
|
// System.Single UnityEngine.Quaternion::y
|
|
float ___y_1;
|
|
// System.Single UnityEngine.Quaternion::z
|
|
float ___z_2;
|
|
// System.Single UnityEngine.Quaternion::w
|
|
float ___w_3;
|
|
};
|
|
|
|
// UnityEngine.Rect
|
|
struct Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D
|
|
{
|
|
// System.Single UnityEngine.Rect::m_XMin
|
|
float ___m_XMin_0;
|
|
// System.Single UnityEngine.Rect::m_YMin
|
|
float ___m_YMin_1;
|
|
// System.Single UnityEngine.Rect::m_Width
|
|
float ___m_Width_2;
|
|
// System.Single UnityEngine.Rect::m_Height
|
|
float ___m_Height_3;
|
|
};
|
|
|
|
// System.Single
|
|
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
|
|
{
|
|
// System.Single System.Single::m_value
|
|
float ___m_value_0;
|
|
};
|
|
|
|
// UnityEngine.Vector2
|
|
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7
|
|
{
|
|
// System.Single UnityEngine.Vector2::x
|
|
float ___x_0;
|
|
// System.Single UnityEngine.Vector2::y
|
|
float ___y_1;
|
|
};
|
|
|
|
// UnityEngine.Vector3
|
|
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
|
|
{
|
|
// System.Single UnityEngine.Vector3::x
|
|
float ___x_2;
|
|
// System.Single UnityEngine.Vector3::y
|
|
float ___y_3;
|
|
// System.Single UnityEngine.Vector3::z
|
|
float ___z_4;
|
|
};
|
|
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
|
|
};
|
|
};
|
|
|
|
// UnityEngine.WaitForSeconds
|
|
struct WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D
|
|
{
|
|
// System.Single UnityEngine.WaitForSeconds::m_Seconds
|
|
float ___m_Seconds_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.WaitForSeconds
|
|
struct WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_marshaled_pinvoke : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_pinvoke
|
|
{
|
|
float ___m_Seconds_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.WaitForSeconds
|
|
struct WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_marshaled_com : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_com
|
|
{
|
|
float ___m_Seconds_0;
|
|
};
|
|
|
|
// UnityEngine.ParticleSystem/EmissionModule
|
|
struct EmissionModule_t0F469FA4A08003F6D9C610D2F716A9DFDB9A3678
|
|
{
|
|
// UnityEngine.ParticleSystem UnityEngine.ParticleSystem/EmissionModule::m_ParticleSystem
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* ___m_ParticleSystem_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.ParticleSystem/EmissionModule
|
|
struct EmissionModule_t0F469FA4A08003F6D9C610D2F716A9DFDB9A3678_marshaled_pinvoke
|
|
{
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* ___m_ParticleSystem_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.ParticleSystem/EmissionModule
|
|
struct EmissionModule_t0F469FA4A08003F6D9C610D2F716A9DFDB9A3678_marshaled_com
|
|
{
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* ___m_ParticleSystem_0;
|
|
};
|
|
|
|
// UnityEngine.ParticleSystem/MainModule
|
|
struct MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9
|
|
{
|
|
// UnityEngine.ParticleSystem UnityEngine.ParticleSystem/MainModule::m_ParticleSystem
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* ___m_ParticleSystem_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.ParticleSystem/MainModule
|
|
struct MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9_marshaled_pinvoke
|
|
{
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* ___m_ParticleSystem_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.ParticleSystem/MainModule
|
|
struct MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9_marshaled_com
|
|
{
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* ___m_ParticleSystem_0;
|
|
};
|
|
|
|
// UnityEngine.ParticleSystem/MinMaxCurve
|
|
struct MinMaxCurve_t812D571297EED6498776CC58949A42B172E60E23
|
|
{
|
|
// UnityEngine.ParticleSystemCurveMode UnityEngine.ParticleSystem/MinMaxCurve::m_Mode
|
|
int32_t ___m_Mode_0;
|
|
// System.Single UnityEngine.ParticleSystem/MinMaxCurve::m_CurveMultiplier
|
|
float ___m_CurveMultiplier_1;
|
|
// UnityEngine.AnimationCurve UnityEngine.ParticleSystem/MinMaxCurve::m_CurveMin
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___m_CurveMin_2;
|
|
// UnityEngine.AnimationCurve UnityEngine.ParticleSystem/MinMaxCurve::m_CurveMax
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___m_CurveMax_3;
|
|
// System.Single UnityEngine.ParticleSystem/MinMaxCurve::m_ConstantMin
|
|
float ___m_ConstantMin_4;
|
|
// System.Single UnityEngine.ParticleSystem/MinMaxCurve::m_ConstantMax
|
|
float ___m_ConstantMax_5;
|
|
};
|
|
|
|
// UnityEngine.AnimationCurve
|
|
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 : public RuntimeObject
|
|
{
|
|
// System.IntPtr UnityEngine.AnimationCurve::m_Ptr
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.AnimationCurve
|
|
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_pinvoke
|
|
{
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.AnimationCurve
|
|
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_com
|
|
{
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
|
|
// UnityEngine.Collision
|
|
struct Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.Collision::m_Impulse
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Impulse_0;
|
|
// UnityEngine.Vector3 UnityEngine.Collision::m_RelativeVelocity
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_RelativeVelocity_1;
|
|
// UnityEngine.Component UnityEngine.Collision::m_Body
|
|
Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* ___m_Body_2;
|
|
// UnityEngine.Collider UnityEngine.Collision::m_Collider
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___m_Collider_3;
|
|
// System.Int32 UnityEngine.Collision::m_ContactCount
|
|
int32_t ___m_ContactCount_4;
|
|
// UnityEngine.ContactPoint[] UnityEngine.Collision::m_ReusedContacts
|
|
ContactPointU5BU5D_t3570603E8D0685B71B3D8BA07031674B00C5E411* ___m_ReusedContacts_5;
|
|
// UnityEngine.ContactPoint[] UnityEngine.Collision::m_LegacyContacts
|
|
ContactPointU5BU5D_t3570603E8D0685B71B3D8BA07031674B00C5E411* ___m_LegacyContacts_6;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.Collision
|
|
struct Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0_marshaled_pinvoke
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Impulse_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_RelativeVelocity_1;
|
|
Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* ___m_Body_2;
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___m_Collider_3;
|
|
int32_t ___m_ContactCount_4;
|
|
ContactPoint_t241857959C0D517C21F541BB04B63FA6C1EAB3F9* ___m_ReusedContacts_5;
|
|
ContactPoint_t241857959C0D517C21F541BB04B63FA6C1EAB3F9* ___m_LegacyContacts_6;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.Collision
|
|
struct Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0_marshaled_com
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Impulse_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_RelativeVelocity_1;
|
|
Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* ___m_Body_2;
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___m_Collider_3;
|
|
int32_t ___m_ContactCount_4;
|
|
ContactPoint_t241857959C0D517C21F541BB04B63FA6C1EAB3F9* ___m_ReusedContacts_5;
|
|
ContactPoint_t241857959C0D517C21F541BB04B63FA6C1EAB3F9* ___m_LegacyContacts_6;
|
|
};
|
|
|
|
// UnityEngine.Coroutine
|
|
struct Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D
|
|
{
|
|
// System.IntPtr UnityEngine.Coroutine::m_Ptr
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.Coroutine
|
|
struct Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B_marshaled_pinvoke : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_pinvoke
|
|
{
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.Coroutine
|
|
struct Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B_marshaled_com : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_com
|
|
{
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
|
|
// System.Delegate
|
|
struct Delegate_t : public RuntimeObject
|
|
{
|
|
// System.IntPtr System.Delegate::method_ptr
|
|
Il2CppMethodPointer ___method_ptr_0;
|
|
// System.IntPtr System.Delegate::invoke_impl
|
|
intptr_t ___invoke_impl_1;
|
|
// System.Object System.Delegate::m_target
|
|
RuntimeObject* ___m_target_2;
|
|
// System.IntPtr System.Delegate::method
|
|
intptr_t ___method_3;
|
|
// System.IntPtr System.Delegate::delegate_trampoline
|
|
intptr_t ___delegate_trampoline_4;
|
|
// System.IntPtr System.Delegate::extra_arg
|
|
intptr_t ___extra_arg_5;
|
|
// System.IntPtr System.Delegate::method_code
|
|
intptr_t ___method_code_6;
|
|
// System.IntPtr System.Delegate::interp_method
|
|
intptr_t ___interp_method_7;
|
|
// System.IntPtr System.Delegate::interp_invoke_impl
|
|
intptr_t ___interp_invoke_impl_8;
|
|
// System.Reflection.MethodInfo System.Delegate::method_info
|
|
MethodInfo_t* ___method_info_9;
|
|
// System.Reflection.MethodInfo System.Delegate::original_method_info
|
|
MethodInfo_t* ___original_method_info_10;
|
|
// System.DelegateData System.Delegate::data
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
// System.Boolean System.Delegate::method_is_virtual
|
|
bool ___method_is_virtual_12;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Delegate
|
|
struct Delegate_t_marshaled_pinvoke
|
|
{
|
|
intptr_t ___method_ptr_0;
|
|
intptr_t ___invoke_impl_1;
|
|
Il2CppIUnknown* ___m_target_2;
|
|
intptr_t ___method_3;
|
|
intptr_t ___delegate_trampoline_4;
|
|
intptr_t ___extra_arg_5;
|
|
intptr_t ___method_code_6;
|
|
intptr_t ___interp_method_7;
|
|
intptr_t ___interp_invoke_impl_8;
|
|
MethodInfo_t* ___method_info_9;
|
|
MethodInfo_t* ___original_method_info_10;
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
int32_t ___method_is_virtual_12;
|
|
};
|
|
// Native definition for COM marshalling of System.Delegate
|
|
struct Delegate_t_marshaled_com
|
|
{
|
|
intptr_t ___method_ptr_0;
|
|
intptr_t ___invoke_impl_1;
|
|
Il2CppIUnknown* ___m_target_2;
|
|
intptr_t ___method_3;
|
|
intptr_t ___delegate_trampoline_4;
|
|
intptr_t ___extra_arg_5;
|
|
intptr_t ___method_code_6;
|
|
intptr_t ___interp_method_7;
|
|
intptr_t ___interp_invoke_impl_8;
|
|
MethodInfo_t* ___method_info_9;
|
|
MethodInfo_t* ___original_method_info_10;
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
int32_t ___method_is_virtual_12;
|
|
};
|
|
|
|
// System.Exception
|
|
struct Exception_t : public RuntimeObject
|
|
{
|
|
// System.String System.Exception::_className
|
|
String_t* ____className_1;
|
|
// System.String System.Exception::_message
|
|
String_t* ____message_2;
|
|
// System.Collections.IDictionary System.Exception::_data
|
|
RuntimeObject* ____data_3;
|
|
// System.Exception System.Exception::_innerException
|
|
Exception_t* ____innerException_4;
|
|
// System.String System.Exception::_helpURL
|
|
String_t* ____helpURL_5;
|
|
// System.Object System.Exception::_stackTrace
|
|
RuntimeObject* ____stackTrace_6;
|
|
// System.String System.Exception::_stackTraceString
|
|
String_t* ____stackTraceString_7;
|
|
// System.String System.Exception::_remoteStackTraceString
|
|
String_t* ____remoteStackTraceString_8;
|
|
// System.Int32 System.Exception::_remoteStackIndex
|
|
int32_t ____remoteStackIndex_9;
|
|
// System.Object System.Exception::_dynamicMethods
|
|
RuntimeObject* ____dynamicMethods_10;
|
|
// System.Int32 System.Exception::_HResult
|
|
int32_t ____HResult_11;
|
|
// System.String System.Exception::_source
|
|
String_t* ____source_12;
|
|
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
// System.IntPtr[] System.Exception::native_trace_ips
|
|
IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips_15;
|
|
// System.Int32 System.Exception::caught_in_unmanaged
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Exception
|
|
struct Exception_t_marshaled_pinvoke
|
|
{
|
|
char* ____className_1;
|
|
char* ____message_2;
|
|
RuntimeObject* ____data_3;
|
|
Exception_t_marshaled_pinvoke* ____innerException_4;
|
|
char* ____helpURL_5;
|
|
Il2CppIUnknown* ____stackTrace_6;
|
|
char* ____stackTraceString_7;
|
|
char* ____remoteStackTraceString_8;
|
|
int32_t ____remoteStackIndex_9;
|
|
Il2CppIUnknown* ____dynamicMethods_10;
|
|
int32_t ____HResult_11;
|
|
char* ____source_12;
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
// Native definition for COM marshalling of System.Exception
|
|
struct Exception_t_marshaled_com
|
|
{
|
|
Il2CppChar* ____className_1;
|
|
Il2CppChar* ____message_2;
|
|
RuntimeObject* ____data_3;
|
|
Exception_t_marshaled_com* ____innerException_4;
|
|
Il2CppChar* ____helpURL_5;
|
|
Il2CppIUnknown* ____stackTrace_6;
|
|
Il2CppChar* ____stackTraceString_7;
|
|
Il2CppChar* ____remoteStackTraceString_8;
|
|
int32_t ____remoteStackIndex_9;
|
|
Il2CppIUnknown* ____dynamicMethods_10;
|
|
int32_t ____HResult_11;
|
|
Il2CppChar* ____source_12;
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
|
|
// RootMotion.FinalIK.FullBodyBipedEffector
|
|
struct FullBodyBipedEffector_t72BDDB1CE1621F9682911B43928114094CAB7F2F
|
|
{
|
|
// System.Int32 RootMotion.FinalIK.FullBodyBipedEffector::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKConstraintBend
|
|
struct IKConstraintBend_t6B9D65F2A498CF5004558E3D1AE8E157DA1F5E2B : public RuntimeObject
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKConstraintBend::bone1
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone1_0;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKConstraintBend::bone2
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone2_1;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKConstraintBend::bone3
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone3_2;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKConstraintBend::bendGoal
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bendGoal_3;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKConstraintBend::direction
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___direction_4;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKConstraintBend::rotationOffset
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotationOffset_5;
|
|
// System.Single RootMotion.FinalIK.IKConstraintBend::weight
|
|
float ___weight_6;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKConstraintBend::defaultLocalDirection
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultLocalDirection_7;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKConstraintBend::defaultChildDirection
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultChildDirection_8;
|
|
// System.Single RootMotion.FinalIK.IKConstraintBend::clampF
|
|
float ___clampF_9;
|
|
// System.Int32 RootMotion.FinalIK.IKConstraintBend::chainIndex1
|
|
int32_t ___chainIndex1_10;
|
|
// System.Int32 RootMotion.FinalIK.IKConstraintBend::nodeIndex1
|
|
int32_t ___nodeIndex1_11;
|
|
// System.Int32 RootMotion.FinalIK.IKConstraintBend::chainIndex2
|
|
int32_t ___chainIndex2_12;
|
|
// System.Int32 RootMotion.FinalIK.IKConstraintBend::nodeIndex2
|
|
int32_t ___nodeIndex2_13;
|
|
// System.Int32 RootMotion.FinalIK.IKConstraintBend::chainIndex3
|
|
int32_t ___chainIndex3_14;
|
|
// System.Int32 RootMotion.FinalIK.IKConstraintBend::nodeIndex3
|
|
int32_t ___nodeIndex3_15;
|
|
// System.Boolean RootMotion.FinalIK.IKConstraintBend::<initiated>k__BackingField
|
|
bool ___U3CinitiatedU3Ek__BackingField_16;
|
|
// System.Boolean RootMotion.FinalIK.IKConstraintBend::limbOrientationsSet
|
|
bool ___limbOrientationsSet_17;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKEffector
|
|
struct IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKEffector::bone
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bone_0;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKEffector::target
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target_1;
|
|
// System.Single RootMotion.FinalIK.IKEffector::positionWeight
|
|
float ___positionWeight_2;
|
|
// System.Single RootMotion.FinalIK.IKEffector::rotationWeight
|
|
float ___rotationWeight_3;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKEffector::position
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position_4;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKEffector::rotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation_5;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKEffector::positionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positionOffset_6;
|
|
// System.Boolean RootMotion.FinalIK.IKEffector::<isEndEffector>k__BackingField
|
|
bool ___U3CisEndEffectorU3Ek__BackingField_7;
|
|
// System.Boolean RootMotion.FinalIK.IKEffector::effectChildNodes
|
|
bool ___effectChildNodes_8;
|
|
// System.Single RootMotion.FinalIK.IKEffector::maintainRelativePositionWeight
|
|
float ___maintainRelativePositionWeight_9;
|
|
// UnityEngine.Transform[] RootMotion.FinalIK.IKEffector::childBones
|
|
TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___childBones_10;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKEffector::planeBone1
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___planeBone1_11;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKEffector::planeBone2
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___planeBone2_12;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKEffector::planeBone3
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___planeBone3_13;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKEffector::planeRotationOffset
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___planeRotationOffset_14;
|
|
// System.Single RootMotion.FinalIK.IKEffector::posW
|
|
float ___posW_15;
|
|
// System.Single RootMotion.FinalIK.IKEffector::rotW
|
|
float ___rotW_16;
|
|
// UnityEngine.Vector3[] RootMotion.FinalIK.IKEffector::localPositions
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___localPositions_17;
|
|
// System.Boolean RootMotion.FinalIK.IKEffector::usePlaneNodes
|
|
bool ___usePlaneNodes_18;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKEffector::animatedPlaneRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___animatedPlaneRotation_19;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKEffector::animatedPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___animatedPosition_20;
|
|
// System.Boolean RootMotion.FinalIK.IKEffector::firstUpdate
|
|
bool ___firstUpdate_21;
|
|
// System.Int32 RootMotion.FinalIK.IKEffector::chainIndex
|
|
int32_t ___chainIndex_22;
|
|
// System.Int32 RootMotion.FinalIK.IKEffector::nodeIndex
|
|
int32_t ___nodeIndex_23;
|
|
// System.Int32 RootMotion.FinalIK.IKEffector::plane1ChainIndex
|
|
int32_t ___plane1ChainIndex_24;
|
|
// System.Int32 RootMotion.FinalIK.IKEffector::plane1NodeIndex
|
|
int32_t ___plane1NodeIndex_25;
|
|
// System.Int32 RootMotion.FinalIK.IKEffector::plane2ChainIndex
|
|
int32_t ___plane2ChainIndex_26;
|
|
// System.Int32 RootMotion.FinalIK.IKEffector::plane2NodeIndex
|
|
int32_t ___plane2NodeIndex_27;
|
|
// System.Int32 RootMotion.FinalIK.IKEffector::plane3ChainIndex
|
|
int32_t ___plane3ChainIndex_28;
|
|
// System.Int32 RootMotion.FinalIK.IKEffector::plane3NodeIndex
|
|
int32_t ___plane3NodeIndex_29;
|
|
// System.Int32[] RootMotion.FinalIK.IKEffector::childChainIndexes
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___childChainIndexes_30;
|
|
// System.Int32[] RootMotion.FinalIK.IKEffector::childNodeIndexes
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___childNodeIndexes_31;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolver
|
|
struct IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623 : public RuntimeObject
|
|
{
|
|
// System.Boolean RootMotion.FinalIK.IKSolver::executedInEditor
|
|
bool ___executedInEditor_0;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolver::IKPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPosition_1;
|
|
// System.Single RootMotion.FinalIK.IKSolver::IKPositionWeight
|
|
float ___IKPositionWeight_2;
|
|
// System.Boolean RootMotion.FinalIK.IKSolver::<initiated>k__BackingField
|
|
bool ___U3CinitiatedU3Ek__BackingField_3;
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate RootMotion.FinalIK.IKSolver::OnPreInitiate
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* ___OnPreInitiate_4;
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate RootMotion.FinalIK.IKSolver::OnPostInitiate
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* ___OnPostInitiate_5;
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate RootMotion.FinalIK.IKSolver::OnPreUpdate
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* ___OnPreUpdate_6;
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate RootMotion.FinalIK.IKSolver::OnPostUpdate
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* ___OnPostUpdate_7;
|
|
// System.Boolean RootMotion.FinalIK.IKSolver::firstInitiation
|
|
bool ___firstInitiation_8;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolver::root
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___root_9;
|
|
};
|
|
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
|
|
{
|
|
// System.IntPtr UnityEngine.Object::m_CachedPtr
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
|
|
// UnityEngine.Ray
|
|
struct Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.Ray::m_Origin
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Origin_0;
|
|
// UnityEngine.Vector3 UnityEngine.Ray::m_Direction
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Direction_1;
|
|
};
|
|
|
|
// UnityEngine.RaycastHit
|
|
struct RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.RaycastHit::m_Point
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Point_0;
|
|
// UnityEngine.Vector3 UnityEngine.RaycastHit::m_Normal
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Normal_1;
|
|
// System.UInt32 UnityEngine.RaycastHit::m_FaceID
|
|
uint32_t ___m_FaceID_2;
|
|
// System.Single UnityEngine.RaycastHit::m_Distance
|
|
float ___m_Distance_3;
|
|
// UnityEngine.Vector2 UnityEngine.RaycastHit::m_UV
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_UV_4;
|
|
// System.Int32 UnityEngine.RaycastHit::m_Collider
|
|
int32_t ___m_Collider_5;
|
|
};
|
|
|
|
// System.RuntimeTypeHandle
|
|
struct RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B
|
|
{
|
|
// System.IntPtr System.RuntimeTypeHandle::value
|
|
intptr_t ___value_0;
|
|
};
|
|
|
|
// RootMotion.FinalIK.AimPoser/Pose
|
|
struct Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A : public RuntimeObject
|
|
{
|
|
// System.Boolean RootMotion.FinalIK.AimPoser/Pose::visualize
|
|
bool ___visualize_0;
|
|
// System.String RootMotion.FinalIK.AimPoser/Pose::name
|
|
String_t* ___name_1;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.AimPoser/Pose::direction
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___direction_2;
|
|
// System.Single RootMotion.FinalIK.AimPoser/Pose::yaw
|
|
float ___yaw_3;
|
|
// System.Single RootMotion.FinalIK.AimPoser/Pose::pitch
|
|
float ___pitch_4;
|
|
// System.Single RootMotion.FinalIK.AimPoser/Pose::angleBuffer
|
|
float ___angleBuffer_5;
|
|
};
|
|
|
|
// RootMotion.Demos.CharacterThirdPerson/AnimState
|
|
struct AnimState_t217CB34525B21DC85A816E042E22EA0CD4D6F91D
|
|
{
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterThirdPerson/AnimState::moveDirection
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___moveDirection_0;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson/AnimState::jump
|
|
bool ___jump_1;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson/AnimState::crouch
|
|
bool ___crouch_2;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson/AnimState::onGround
|
|
bool ___onGround_3;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson/AnimState::isStrafing
|
|
bool ___isStrafing_4;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson/AnimState::yVelocity
|
|
float ___yVelocity_5;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson/AnimState::doubleJump
|
|
bool ___doubleJump_6;
|
|
};
|
|
// Native definition for P/Invoke marshalling of RootMotion.Demos.CharacterThirdPerson/AnimState
|
|
struct AnimState_t217CB34525B21DC85A816E042E22EA0CD4D6F91D_marshaled_pinvoke
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___moveDirection_0;
|
|
int32_t ___jump_1;
|
|
int32_t ___crouch_2;
|
|
int32_t ___onGround_3;
|
|
int32_t ___isStrafing_4;
|
|
float ___yVelocity_5;
|
|
int32_t ___doubleJump_6;
|
|
};
|
|
// Native definition for COM marshalling of RootMotion.Demos.CharacterThirdPerson/AnimState
|
|
struct AnimState_t217CB34525B21DC85A816E042E22EA0CD4D6F91D_marshaled_com
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___moveDirection_0;
|
|
int32_t ___jump_1;
|
|
int32_t ___crouch_2;
|
|
int32_t ___onGround_3;
|
|
int32_t ___isStrafing_4;
|
|
float ___yVelocity_5;
|
|
int32_t ___doubleJump_6;
|
|
};
|
|
|
|
// RootMotion.Demos.FKOffset/Offset
|
|
struct Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02 : public RuntimeObject
|
|
{
|
|
// System.String RootMotion.Demos.FKOffset/Offset::name
|
|
String_t* ___name_0;
|
|
// UnityEngine.HumanBodyBones RootMotion.Demos.FKOffset/Offset::bone
|
|
int32_t ___bone_1;
|
|
// UnityEngine.Vector3 RootMotion.Demos.FKOffset/Offset::rotationOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rotationOffset_2;
|
|
// UnityEngine.Transform RootMotion.Demos.FKOffset/Offset::t
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___t_3;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolver/Point
|
|
struct Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolver/Point::transform
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___transform_0;
|
|
// System.Single RootMotion.FinalIK.IKSolver/Point::weight
|
|
float ___weight_1;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolver/Point::solverPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___solverPosition_2;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolver/Point::solverRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___solverRotation_3;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolver/Point::defaultLocalPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultLocalPosition_4;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolver/Point::defaultLocalRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___defaultLocalRotation_5;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolverVR/BodyPart
|
|
struct BodyPart_tB2726BD211EB7928AEBF84532464087FD1B2E1E0 : public RuntimeObject
|
|
{
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/BodyPart::<sqrMag>k__BackingField
|
|
float ___U3CsqrMagU3Ek__BackingField_0;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/BodyPart::<mag>k__BackingField
|
|
float ___U3CmagU3Ek__BackingField_1;
|
|
// RootMotion.FinalIK.IKSolverVR/VirtualBone[] RootMotion.FinalIK.IKSolverVR/BodyPart::bones
|
|
VirtualBoneU5BU5D_t48E9E7A2B983C44A2DF2BC6FF28EA36D99701846* ___bones_2;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR/BodyPart::initiated
|
|
bool ___initiated_3;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/BodyPart::rootPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rootPosition_4;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/BodyPart::rootRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rootRotation_5;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverVR/BodyPart::index
|
|
int32_t ___index_6;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverVR/BodyPart::LOD
|
|
int32_t ___LOD_7;
|
|
};
|
|
|
|
// RootMotion.Demos.KissingRig/Partner
|
|
struct Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD : public RuntimeObject
|
|
{
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.KissingRig/Partner::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_0;
|
|
// UnityEngine.Transform RootMotion.Demos.KissingRig/Partner::mouth
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___mouth_1;
|
|
// UnityEngine.Transform RootMotion.Demos.KissingRig/Partner::mouthTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___mouthTarget_2;
|
|
// UnityEngine.Transform RootMotion.Demos.KissingRig/Partner::touchTargetLeftHand
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___touchTargetLeftHand_3;
|
|
// UnityEngine.Transform RootMotion.Demos.KissingRig/Partner::touchTargetRightHand
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___touchTargetRightHand_4;
|
|
// System.Single RootMotion.Demos.KissingRig/Partner::bodyWeightHorizontal
|
|
float ___bodyWeightHorizontal_5;
|
|
// System.Single RootMotion.Demos.KissingRig/Partner::bodyWeightVertical
|
|
float ___bodyWeightVertical_6;
|
|
// System.Single RootMotion.Demos.KissingRig/Partner::neckRotationWeight
|
|
float ___neckRotationWeight_7;
|
|
// System.Single RootMotion.Demos.KissingRig/Partner::headTiltAngle
|
|
float ___headTiltAngle_8;
|
|
// UnityEngine.Vector3 RootMotion.Demos.KissingRig/Partner::headTiltAxis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headTiltAxis_9;
|
|
// UnityEngine.Quaternion RootMotion.Demos.KissingRig/Partner::neckRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___neckRotation_10;
|
|
};
|
|
|
|
// RootMotion.Demos.MechSpiderLeg/<Step>d__33
|
|
struct U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1 : public RuntimeObject
|
|
{
|
|
// System.Int32 RootMotion.Demos.MechSpiderLeg/<Step>d__33::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// System.Object RootMotion.Demos.MechSpiderLeg/<Step>d__33::<>2__current
|
|
RuntimeObject* ___U3CU3E2__current_1;
|
|
// RootMotion.Demos.MechSpiderLeg RootMotion.Demos.MechSpiderLeg/<Step>d__33::<>4__this
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* ___U3CU3E4__this_2;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderLeg/<Step>d__33::stepStartPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___stepStartPosition_3;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderLeg/<Step>d__33::targetPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___targetPosition_4;
|
|
};
|
|
|
|
// RootMotion.Demos.MotionAbsorb/Absorber
|
|
struct Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF : public RuntimeObject
|
|
{
|
|
// RootMotion.FinalIK.FullBodyBipedEffector RootMotion.Demos.MotionAbsorb/Absorber::effector
|
|
int32_t ___effector_0;
|
|
// System.Single RootMotion.Demos.MotionAbsorb/Absorber::weight
|
|
float ___weight_1;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MotionAbsorb/Absorber::position
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position_2;
|
|
// UnityEngine.Quaternion RootMotion.Demos.MotionAbsorb/Absorber::rotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation_3;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.Demos.MotionAbsorb/Absorber::e
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* ___e_4;
|
|
};
|
|
|
|
// RootMotion.Demos.OffsetEffector/EffectorLink
|
|
struct EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1 : public RuntimeObject
|
|
{
|
|
// RootMotion.FinalIK.FullBodyBipedEffector RootMotion.Demos.OffsetEffector/EffectorLink::effectorType
|
|
int32_t ___effectorType_0;
|
|
// System.Single RootMotion.Demos.OffsetEffector/EffectorLink::weightMultiplier
|
|
float ___weightMultiplier_1;
|
|
// UnityEngine.Vector3 RootMotion.Demos.OffsetEffector/EffectorLink::localPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___localPosition_2;
|
|
};
|
|
|
|
// UnityEngine.ParticleSystem/MinMaxGradient
|
|
struct MinMaxGradient_tFF31B8EC2855D0074AB86E8B37BEA6609070AC69
|
|
{
|
|
// UnityEngine.ParticleSystemGradientMode UnityEngine.ParticleSystem/MinMaxGradient::m_Mode
|
|
int32_t ___m_Mode_0;
|
|
// UnityEngine.Gradient UnityEngine.ParticleSystem/MinMaxGradient::m_GradientMin
|
|
Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E* ___m_GradientMin_1;
|
|
// UnityEngine.Gradient UnityEngine.ParticleSystem/MinMaxGradient::m_GradientMax
|
|
Gradient_tA7FEBE2FDB4929FFF6C997134841046F713DAC1E* ___m_GradientMax_2;
|
|
// UnityEngine.Color UnityEngine.ParticleSystem/MinMaxGradient::m_ColorMin
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_ColorMin_3;
|
|
// UnityEngine.Color UnityEngine.ParticleSystem/MinMaxGradient::m_ColorMax
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_ColorMax_4;
|
|
};
|
|
|
|
// RootMotion.Demos.UserControlThirdPerson/State
|
|
struct State_t1C2106417C1C59FC418E1C9F846E928466513D3C
|
|
{
|
|
// UnityEngine.Vector3 RootMotion.Demos.UserControlThirdPerson/State::move
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___move_0;
|
|
// UnityEngine.Vector3 RootMotion.Demos.UserControlThirdPerson/State::lookPos
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lookPos_1;
|
|
// System.Boolean RootMotion.Demos.UserControlThirdPerson/State::crouch
|
|
bool ___crouch_2;
|
|
// System.Boolean RootMotion.Demos.UserControlThirdPerson/State::jump
|
|
bool ___jump_3;
|
|
// System.Int32 RootMotion.Demos.UserControlThirdPerson/State::actionIndex
|
|
int32_t ___actionIndex_4;
|
|
};
|
|
// Native definition for P/Invoke marshalling of RootMotion.Demos.UserControlThirdPerson/State
|
|
struct State_t1C2106417C1C59FC418E1C9F846E928466513D3C_marshaled_pinvoke
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___move_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lookPos_1;
|
|
int32_t ___crouch_2;
|
|
int32_t ___jump_3;
|
|
int32_t ___actionIndex_4;
|
|
};
|
|
// Native definition for COM marshalling of RootMotion.Demos.UserControlThirdPerson/State
|
|
struct State_t1C2106417C1C59FC418E1C9F846E928466513D3C_marshaled_com
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___move_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lookPos_1;
|
|
int32_t ___crouch_2;
|
|
int32_t ___jump_3;
|
|
int32_t ___actionIndex_4;
|
|
};
|
|
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData
|
|
struct CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1 : public RuntimeObject
|
|
{
|
|
// System.Single RootMotion.FinalIK.VRIKCalibrator/CalibrationData::scale
|
|
float ___scale_0;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target RootMotion.FinalIK.VRIKCalibrator/CalibrationData::head
|
|
Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12* ___head_1;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target RootMotion.FinalIK.VRIKCalibrator/CalibrationData::leftHand
|
|
Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12* ___leftHand_2;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target RootMotion.FinalIK.VRIKCalibrator/CalibrationData::rightHand
|
|
Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12* ___rightHand_3;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target RootMotion.FinalIK.VRIKCalibrator/CalibrationData::pelvis
|
|
Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12* ___pelvis_4;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target RootMotion.FinalIK.VRIKCalibrator/CalibrationData::leftFoot
|
|
Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12* ___leftFoot_5;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target RootMotion.FinalIK.VRIKCalibrator/CalibrationData::rightFoot
|
|
Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12* ___rightFoot_6;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target RootMotion.FinalIK.VRIKCalibrator/CalibrationData::leftLegGoal
|
|
Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12* ___leftLegGoal_7;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target RootMotion.FinalIK.VRIKCalibrator/CalibrationData::rightLegGoal
|
|
Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12* ___rightLegGoal_8;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKCalibrator/CalibrationData::pelvisTargetRight
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pelvisTargetRight_9;
|
|
// System.Single RootMotion.FinalIK.VRIKCalibrator/CalibrationData::pelvisPositionWeight
|
|
float ___pelvisPositionWeight_10;
|
|
// System.Single RootMotion.FinalIK.VRIKCalibrator/CalibrationData::pelvisRotationWeight
|
|
float ___pelvisRotationWeight_11;
|
|
};
|
|
|
|
// RootMotion.FinalIK.VRIKCalibrator/Settings
|
|
struct Settings_t8E009A6EE69717B08B142E1F3BE3DB8879C5515C : public RuntimeObject
|
|
{
|
|
// System.Single RootMotion.FinalIK.VRIKCalibrator/Settings::scaleMlp
|
|
float ___scaleMlp_0;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKCalibrator/Settings::headTrackerForward
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headTrackerForward_1;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKCalibrator/Settings::headTrackerUp
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headTrackerUp_2;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKCalibrator/Settings::handTrackerForward
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___handTrackerForward_3;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKCalibrator/Settings::handTrackerUp
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___handTrackerUp_4;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKCalibrator/Settings::footTrackerForward
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___footTrackerForward_5;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKCalibrator/Settings::footTrackerUp
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___footTrackerUp_6;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKCalibrator/Settings::headOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headOffset_7;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKCalibrator/Settings::handOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___handOffset_8;
|
|
// System.Single RootMotion.FinalIK.VRIKCalibrator/Settings::footForwardOffset
|
|
float ___footForwardOffset_9;
|
|
// System.Single RootMotion.FinalIK.VRIKCalibrator/Settings::footInwardOffset
|
|
float ___footInwardOffset_10;
|
|
// System.Single RootMotion.FinalIK.VRIKCalibrator/Settings::footHeadingOffset
|
|
float ___footHeadingOffset_11;
|
|
// System.Single RootMotion.FinalIK.VRIKCalibrator/Settings::pelvisPositionWeight
|
|
float ___pelvisPositionWeight_12;
|
|
// System.Single RootMotion.FinalIK.VRIKCalibrator/Settings::pelvisRotationWeight
|
|
float ___pelvisRotationWeight_13;
|
|
};
|
|
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target
|
|
struct Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12 : public RuntimeObject
|
|
{
|
|
// System.Boolean RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target::used
|
|
bool ___used_0;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target::localPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___localPosition_1;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target::localRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___localRotation_2;
|
|
};
|
|
|
|
// UnityEngine.Component
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// UnityEngine.GameObject
|
|
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolverFullBody
|
|
struct IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42 : public IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623
|
|
{
|
|
// System.Int32 RootMotion.FinalIK.IKSolverFullBody::iterations
|
|
int32_t ___iterations_10;
|
|
// RootMotion.FinalIK.FBIKChain[] RootMotion.FinalIK.IKSolverFullBody::chain
|
|
FBIKChainU5BU5D_tFD8C1E683937E1B76330546A24DBDBFB765FFCD8* ___chain_11;
|
|
// RootMotion.FinalIK.IKEffector[] RootMotion.FinalIK.IKSolverFullBody::effectors
|
|
IKEffectorU5BU5D_tF57EFF27A961FE1998A31AA3F57D994EB6C241C6* ___effectors_12;
|
|
// RootMotion.FinalIK.IKMappingSpine RootMotion.FinalIK.IKSolverFullBody::spineMapping
|
|
IKMappingSpine_tF147A1F674EFB7E3FA2DF5EF35A9E2A3F78B66FB* ___spineMapping_13;
|
|
// RootMotion.FinalIK.IKMappingBone[] RootMotion.FinalIK.IKSolverFullBody::boneMappings
|
|
IKMappingBoneU5BU5D_t01BAA3AFD642B1EEE3E535045541FDD05453B342* ___boneMappings_14;
|
|
// RootMotion.FinalIK.IKMappingLimb[] RootMotion.FinalIK.IKSolverFullBody::limbMappings
|
|
IKMappingLimbU5BU5D_tE6DBC6326781F6E37BE68B105CFC9A3DFF18DFA8* ___limbMappings_15;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverFullBody::FABRIKPass
|
|
bool ___FABRIKPass_16;
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate RootMotion.FinalIK.IKSolverFullBody::OnPreRead
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* ___OnPreRead_17;
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate RootMotion.FinalIK.IKSolverFullBody::OnPreSolve
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* ___OnPreSolve_18;
|
|
// RootMotion.FinalIK.IKSolver/IterationDelegate RootMotion.FinalIK.IKSolverFullBody::OnPreIteration
|
|
IterationDelegate_t50F2C0DBA5189F9263AE46A2205096E8AF33A633* ___OnPreIteration_19;
|
|
// RootMotion.FinalIK.IKSolver/IterationDelegate RootMotion.FinalIK.IKSolverFullBody::OnPostIteration
|
|
IterationDelegate_t50F2C0DBA5189F9263AE46A2205096E8AF33A633* ___OnPostIteration_20;
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate RootMotion.FinalIK.IKSolverFullBody::OnPreBend
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* ___OnPreBend_21;
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate RootMotion.FinalIK.IKSolverFullBody::OnPostSolve
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* ___OnPostSolve_22;
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate RootMotion.FinalIK.IKSolverFullBody::OnStoreDefaultLocalState
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* ___OnStoreDefaultLocalState_23;
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate RootMotion.FinalIK.IKSolverFullBody::OnFixTransforms
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* ___OnFixTransforms_24;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolverHeuristic
|
|
struct IKSolverHeuristic_tE9187D7C8E900617B4FE451C82FF14BB5CF2F484 : public IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverHeuristic::target
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target_10;
|
|
// System.Single RootMotion.FinalIK.IKSolverHeuristic::tolerance
|
|
float ___tolerance_11;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverHeuristic::maxIterations
|
|
int32_t ___maxIterations_12;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverHeuristic::useRotationLimits
|
|
bool ___useRotationLimits_13;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverHeuristic::XY
|
|
bool ___XY_14;
|
|
// RootMotion.FinalIK.IKSolver/Bone[] RootMotion.FinalIK.IKSolverHeuristic::bones
|
|
BoneU5BU5D_t384A868FF22BA2A4344F14B899695540877FB593* ___bones_15;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverHeuristic::lastLocalDirection
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastLocalDirection_16;
|
|
// System.Single RootMotion.FinalIK.IKSolverHeuristic::chainLength
|
|
float ___chainLength_17;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolverLookAt
|
|
struct IKSolverLookAt_t2376880DDCB58C33F0ED60FC941E8CD1E1381DEB : public IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverLookAt::target
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target_10;
|
|
// RootMotion.FinalIK.IKSolverLookAt/LookAtBone[] RootMotion.FinalIK.IKSolverLookAt::spine
|
|
LookAtBoneU5BU5D_t67AC01B3A1C4142F1295929816E7AD9D6926A1D2* ___spine_11;
|
|
// RootMotion.FinalIK.IKSolverLookAt/LookAtBone RootMotion.FinalIK.IKSolverLookAt::head
|
|
LookAtBone_t20B9128D670E48414CE5235C77AC18E66273F5BE* ___head_12;
|
|
// RootMotion.FinalIK.IKSolverLookAt/LookAtBone[] RootMotion.FinalIK.IKSolverLookAt::eyes
|
|
LookAtBoneU5BU5D_t67AC01B3A1C4142F1295929816E7AD9D6926A1D2* ___eyes_13;
|
|
// System.Single RootMotion.FinalIK.IKSolverLookAt::bodyWeight
|
|
float ___bodyWeight_14;
|
|
// System.Single RootMotion.FinalIK.IKSolverLookAt::headWeight
|
|
float ___headWeight_15;
|
|
// System.Single RootMotion.FinalIK.IKSolverLookAt::eyesWeight
|
|
float ___eyesWeight_16;
|
|
// System.Single RootMotion.FinalIK.IKSolverLookAt::clampWeight
|
|
float ___clampWeight_17;
|
|
// System.Single RootMotion.FinalIK.IKSolverLookAt::clampWeightHead
|
|
float ___clampWeightHead_18;
|
|
// System.Single RootMotion.FinalIK.IKSolverLookAt::clampWeightEyes
|
|
float ___clampWeightEyes_19;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverLookAt::clampSmoothing
|
|
int32_t ___clampSmoothing_20;
|
|
// UnityEngine.AnimationCurve RootMotion.FinalIK.IKSolverLookAt::spineWeightCurve
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___spineWeightCurve_21;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverLookAt::spineTargetOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___spineTargetOffset_22;
|
|
// UnityEngine.Vector3[] RootMotion.FinalIK.IKSolverLookAt::spineForwards
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___spineForwards_23;
|
|
// UnityEngine.Vector3[] RootMotion.FinalIK.IKSolverLookAt::headForwards
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___headForwards_24;
|
|
// UnityEngine.Vector3[] RootMotion.FinalIK.IKSolverLookAt::eyeForward
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___eyeForward_25;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverLookAt::isDirty
|
|
bool ___isDirty_26;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolverTrigonometric
|
|
struct IKSolverTrigonometric_t55424AF77D1DAF8373F11CC9339F455C2FB5F62C : public IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverTrigonometric::target
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target_10;
|
|
// System.Single RootMotion.FinalIK.IKSolverTrigonometric::IKRotationWeight
|
|
float ___IKRotationWeight_11;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverTrigonometric::IKRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotation_12;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverTrigonometric::bendNormal
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bendNormal_13;
|
|
// RootMotion.FinalIK.IKSolverTrigonometric/TrigonometricBone RootMotion.FinalIK.IKSolverTrigonometric::bone1
|
|
TrigonometricBone_t81934FDB545A94662146BE1A1F0979BA33D21D9E* ___bone1_14;
|
|
// RootMotion.FinalIK.IKSolverTrigonometric/TrigonometricBone RootMotion.FinalIK.IKSolverTrigonometric::bone2
|
|
TrigonometricBone_t81934FDB545A94662146BE1A1F0979BA33D21D9E* ___bone2_15;
|
|
// RootMotion.FinalIK.IKSolverTrigonometric/TrigonometricBone RootMotion.FinalIK.IKSolverTrigonometric::bone3
|
|
TrigonometricBone_t81934FDB545A94662146BE1A1F0979BA33D21D9E* ___bone3_16;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverTrigonometric::weightIKPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___weightIKPosition_17;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverTrigonometric::directHierarchy
|
|
bool ___directHierarchy_18;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolverVR
|
|
struct IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8 : public IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623
|
|
{
|
|
// UnityEngine.Animator RootMotion.FinalIK.IKSolverVR::<animator>k__BackingField
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___U3CanimatorU3Ek__BackingField_10;
|
|
// UnityEngine.Transform[] RootMotion.FinalIK.IKSolverVR::solverTransforms
|
|
TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___solverTransforms_11;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR::hasChest
|
|
bool ___hasChest_12;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR::hasNeck
|
|
bool ___hasNeck_13;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR::hasShoulders
|
|
bool ___hasShoulders_14;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR::hasToes
|
|
bool ___hasToes_15;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR::hasLegs
|
|
bool ___hasLegs_16;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR::hasArms
|
|
bool ___hasArms_17;
|
|
// UnityEngine.Vector3[] RootMotion.FinalIK.IKSolverVR::readPositions
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___readPositions_18;
|
|
// UnityEngine.Quaternion[] RootMotion.FinalIK.IKSolverVR::readRotations
|
|
QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___readRotations_19;
|
|
// UnityEngine.Vector3[] RootMotion.FinalIK.IKSolverVR::solvedPositions
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___solvedPositions_20;
|
|
// UnityEngine.Quaternion[] RootMotion.FinalIK.IKSolverVR::solvedRotations
|
|
QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___solvedRotations_21;
|
|
// UnityEngine.Quaternion[] RootMotion.FinalIK.IKSolverVR::defaultLocalRotations
|
|
QuaternionU5BU5D_t3C088AFB0F3D2763228C9CAB227021C5DC462AF7* ___defaultLocalRotations_22;
|
|
// UnityEngine.Vector3[] RootMotion.FinalIK.IKSolverVR::defaultLocalPositions
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___defaultLocalPositions_23;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR::rootV
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rootV_24;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR::rootVelocity
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rootVelocity_25;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR::bodyOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bodyOffset_26;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverVR::supportLegIndex
|
|
int32_t ___supportLegIndex_27;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverVR::lastLOD
|
|
int32_t ___lastLOD_28;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR::lastLocomotionWeight
|
|
float ___lastLocomotionWeight_29;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverVR::LOD
|
|
int32_t ___LOD_30;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR::scale
|
|
float ___scale_31;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR::plantFeet
|
|
bool ___plantFeet_32;
|
|
// RootMotion.FinalIK.IKSolverVR/VirtualBone RootMotion.FinalIK.IKSolverVR::<rootBone>k__BackingField
|
|
VirtualBone_t226791D5399392F2D6B8F1BFCA8DA84BACE82F2E* ___U3CrootBoneU3Ek__BackingField_33;
|
|
// RootMotion.FinalIK.IKSolverVR/Spine RootMotion.FinalIK.IKSolverVR::spine
|
|
Spine_t4F5CCC4887D9107BD9BA474D5874B00345A0BF53* ___spine_34;
|
|
// RootMotion.FinalIK.IKSolverVR/Arm RootMotion.FinalIK.IKSolverVR::leftArm
|
|
Arm_tBB9696204237D5FD5D679036101C50155CF19A30* ___leftArm_35;
|
|
// RootMotion.FinalIK.IKSolverVR/Arm RootMotion.FinalIK.IKSolverVR::rightArm
|
|
Arm_tBB9696204237D5FD5D679036101C50155CF19A30* ___rightArm_36;
|
|
// RootMotion.FinalIK.IKSolverVR/Leg RootMotion.FinalIK.IKSolverVR::leftLeg
|
|
Leg_t4E62EE18462FB53D1C02C4F047CB3EC911835FB4* ___leftLeg_37;
|
|
// RootMotion.FinalIK.IKSolverVR/Leg RootMotion.FinalIK.IKSolverVR::rightLeg
|
|
Leg_t4E62EE18462FB53D1C02C4F047CB3EC911835FB4* ___rightLeg_38;
|
|
// RootMotion.FinalIK.IKSolverVR/Locomotion RootMotion.FinalIK.IKSolverVR::locomotion
|
|
Locomotion_t1D30AD1BCA96957127E084CA0A6A4E23C1B8047A* ___locomotion_39;
|
|
// RootMotion.FinalIK.IKSolverVR/Leg[] RootMotion.FinalIK.IKSolverVR::legs
|
|
LegU5BU5D_t5DCA5C047C4CE3C42CB52073FE5835E869F3F788* ___legs_40;
|
|
// RootMotion.FinalIK.IKSolverVR/Arm[] RootMotion.FinalIK.IKSolverVR::arms
|
|
ArmU5BU5D_tB2AB52CA87A0FBE483C315B38902923AD839C545* ___arms_41;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR::headPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headPosition_42;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR::headDeltaPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headDeltaPosition_43;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR::raycastOriginPelvis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___raycastOriginPelvis_44;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR::lastOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastOffset_45;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR::debugPos1
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___debugPos1_46;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR::debugPos2
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___debugPos2_47;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR::debugPos3
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___debugPos3_48;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR::debugPos4
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___debugPos4_49;
|
|
};
|
|
|
|
// System.MulticastDelegate
|
|
struct MulticastDelegate_t : public Delegate_t
|
|
{
|
|
// System.Delegate[] System.MulticastDelegate::delegates
|
|
DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_13;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
|
|
{
|
|
Delegate_t_marshaled_pinvoke** ___delegates_13;
|
|
};
|
|
// Native definition for COM marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
|
|
{
|
|
Delegate_t_marshaled_com** ___delegates_13;
|
|
};
|
|
|
|
// System.SystemException
|
|
struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
|
|
{
|
|
};
|
|
|
|
// System.Type
|
|
struct Type_t : public MemberInfo_t
|
|
{
|
|
// System.RuntimeTypeHandle System.Type::_impl
|
|
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ____impl_8;
|
|
};
|
|
|
|
// RootMotion.Demos.AnimationWarping/Warp
|
|
struct Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098
|
|
{
|
|
// System.Int32 RootMotion.Demos.AnimationWarping/Warp::animationLayer
|
|
int32_t ___animationLayer_0;
|
|
// System.String RootMotion.Demos.AnimationWarping/Warp::animationState
|
|
String_t* ___animationState_1;
|
|
// UnityEngine.AnimationCurve RootMotion.Demos.AnimationWarping/Warp::weightCurve
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___weightCurve_2;
|
|
// UnityEngine.Transform RootMotion.Demos.AnimationWarping/Warp::warpFrom
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___warpFrom_3;
|
|
// UnityEngine.Transform RootMotion.Demos.AnimationWarping/Warp::warpTo
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___warpTo_4;
|
|
// RootMotion.FinalIK.FullBodyBipedEffector RootMotion.Demos.AnimationWarping/Warp::effector
|
|
int32_t ___effector_5;
|
|
};
|
|
// Native definition for P/Invoke marshalling of RootMotion.Demos.AnimationWarping/Warp
|
|
struct Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshaled_pinvoke
|
|
{
|
|
int32_t ___animationLayer_0;
|
|
char* ___animationState_1;
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_pinvoke ___weightCurve_2;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___warpFrom_3;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___warpTo_4;
|
|
int32_t ___effector_5;
|
|
};
|
|
// Native definition for COM marshalling of RootMotion.Demos.AnimationWarping/Warp
|
|
struct Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshaled_com
|
|
{
|
|
int32_t ___animationLayer_0;
|
|
Il2CppChar* ___animationState_1;
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_com* ___weightCurve_2;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___warpFrom_3;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___warpTo_4;
|
|
int32_t ___effector_5;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolver/Bone
|
|
struct Bone_t08B8D90F9F7409FAD0F5DB325E88341691FF6BAF : public Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9
|
|
{
|
|
// System.Single RootMotion.FinalIK.IKSolver/Bone::length
|
|
float ___length_6;
|
|
// System.Single RootMotion.FinalIK.IKSolver/Bone::sqrMag
|
|
float ___sqrMag_7;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolver/Bone::axis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___axis_8;
|
|
// RootMotion.FinalIK.RotationLimit RootMotion.FinalIK.IKSolver/Bone::_rotationLimit
|
|
RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9* ____rotationLimit_9;
|
|
// System.Boolean RootMotion.FinalIK.IKSolver/Bone::isLimited
|
|
bool ___isLimited_10;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolverVR/Leg
|
|
struct Leg_t4E62EE18462FB53D1C02C4F047CB3EC911835FB4 : public BodyPart_tB2726BD211EB7928AEBF84532464087FD1B2E1E0
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverVR/Leg::target
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target_8;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Leg::positionWeight
|
|
float ___positionWeight_9;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Leg::rotationWeight
|
|
float ___rotationWeight_10;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverVR/Leg::bendGoal
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bendGoal_11;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Leg::bendGoalWeight
|
|
float ___bendGoalWeight_12;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Leg::swivelOffset
|
|
float ___swivelOffset_13;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Leg::bendToTargetWeight
|
|
float ___bendToTargetWeight_14;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Leg::legLengthMlp
|
|
float ___legLengthMlp_15;
|
|
// UnityEngine.AnimationCurve RootMotion.FinalIK.IKSolverVR/Leg::stretchCurve
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___stretchCurve_16;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Leg::IKPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPosition_17;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Leg::IKRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotation_18;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Leg::footPositionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___footPositionOffset_19;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Leg::heelPositionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___heelPositionOffset_20;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Leg::footRotationOffset
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___footRotationOffset_21;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Leg::currentMag
|
|
float ___currentMag_22;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR/Leg::useAnimatedBendNormal
|
|
bool ___useAnimatedBendNormal_23;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Leg::<position>k__BackingField
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CpositionU3Ek__BackingField_24;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Leg::<rotation>k__BackingField
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___U3CrotationU3Ek__BackingField_25;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR/Leg::<hasToes>k__BackingField
|
|
bool ___U3ChasToesU3Ek__BackingField_26;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Leg::<thighRelativeToPelvis>k__BackingField
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CthighRelativeToPelvisU3Ek__BackingField_27;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Leg::footPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___footPosition_28;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Leg::footRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___footRotation_29;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Leg::bendNormal
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bendNormal_30;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Leg::calfRelToThigh
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___calfRelToThigh_31;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Leg::thighRelToFoot
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___thighRelToFoot_32;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Leg::<bendNormalRelToPelvis>k__BackingField
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CbendNormalRelToPelvisU3Ek__BackingField_33;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Leg::<bendNormalRelToTarget>k__BackingField
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CbendNormalRelToTargetU3Ek__BackingField_34;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolverVR/Spine
|
|
struct Spine_t4F5CCC4887D9107BD9BA474D5874B00345A0BF53 : public BodyPart_tB2726BD211EB7928AEBF84532464087FD1B2E1E0
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverVR/Spine::headTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___headTarget_8;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::positionWeight
|
|
float ___positionWeight_9;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::rotationWeight
|
|
float ___rotationWeight_10;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::headClampWeight
|
|
float ___headClampWeight_11;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::minHeadHeight
|
|
float ___minHeadHeight_12;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::useAnimatedHeadHeightWeight
|
|
float ___useAnimatedHeadHeightWeight_13;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::useAnimatedHeadHeightRange
|
|
float ___useAnimatedHeadHeightRange_14;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::animatedHeadHeightBlend
|
|
float ___animatedHeadHeightBlend_15;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverVR/Spine::pelvisTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pelvisTarget_16;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::pelvisPositionWeight
|
|
float ___pelvisPositionWeight_17;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::pelvisRotationWeight
|
|
float ___pelvisRotationWeight_18;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::maintainPelvisPosition
|
|
float ___maintainPelvisPosition_19;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverVR/Spine::chestGoal
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___chestGoal_20;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::chestGoalWeight
|
|
float ___chestGoalWeight_21;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::chestClampWeight
|
|
float ___chestClampWeight_22;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::rotateChestByHands
|
|
float ___rotateChestByHands_23;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::bodyPosStiffness
|
|
float ___bodyPosStiffness_24;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::bodyRotStiffness
|
|
float ___bodyRotStiffness_25;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::neckStiffness
|
|
float ___neckStiffness_26;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::moveBodyBackWhenCrouching
|
|
float ___moveBodyBackWhenCrouching_27;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::maxRootAngle
|
|
float ___maxRootAngle_28;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::rootHeadingOffset
|
|
float ___rootHeadingOffset_29;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Spine::IKPositionHead
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPositionHead_30;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::IKRotationHead
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotationHead_31;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Spine::IKPositionPelvis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___IKPositionPelvis_32;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::IKRotationPelvis
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___IKRotationPelvis_33;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Spine::goalPositionChest
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___goalPositionChest_34;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Spine::pelvisPositionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pelvisPositionOffset_35;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Spine::chestPositionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestPositionOffset_36;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Spine::headPositionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headPositionOffset_37;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::pelvisRotationOffset
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisRotationOffset_38;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::chestRotationOffset
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___chestRotationOffset_39;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::headRotationOffset
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___headRotationOffset_40;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Spine::faceDirection
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___faceDirection_41;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Spine::headPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headPosition_42;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::<anchorRotation>k__BackingField
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___U3CanchorRotationU3Ek__BackingField_43;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::<anchorRelativeToHead>k__BackingField
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___U3CanchorRelativeToHeadU3Ek__BackingField_44;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::headRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___headRotation_45;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::pelvisRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisRotation_46;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::anchorRelativeToPelvis
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___anchorRelativeToPelvis_47;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::pelvisRelativeRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisRelativeRotation_48;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::chestRelativeRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___chestRelativeRotation_49;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Spine::headDeltaPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headDeltaPosition_50;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::pelvisDeltaRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pelvisDeltaRotation_51;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverVR/Spine::chestTargetRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___chestTargetRotation_52;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverVR/Spine::pelvisIndex
|
|
int32_t ___pelvisIndex_53;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverVR/Spine::spineIndex
|
|
int32_t ___spineIndex_54;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverVR/Spine::chestIndex
|
|
int32_t ___chestIndex_55;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverVR/Spine::neckIndex
|
|
int32_t ___neckIndex_56;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverVR/Spine::headIndex
|
|
int32_t ___headIndex_57;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::length
|
|
float ___length_58;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR/Spine::hasChest
|
|
bool ___hasChest_59;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR/Spine::hasNeck
|
|
bool ___hasNeck_60;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverVR/Spine::hasLegs
|
|
bool ___hasLegs_61;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::headHeight
|
|
float ___headHeight_62;
|
|
// System.Single RootMotion.FinalIK.IKSolverVR/Spine::sizeMlp
|
|
float ___sizeMlp_63;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverVR/Spine::chestForward
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___chestForward_64;
|
|
};
|
|
|
|
// RootMotion.Demos.TouchWalls/EffectorLink
|
|
struct EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768 : public RuntimeObject
|
|
{
|
|
// System.Boolean RootMotion.Demos.TouchWalls/EffectorLink::enabled
|
|
bool ___enabled_0;
|
|
// RootMotion.FinalIK.FullBodyBipedEffector RootMotion.Demos.TouchWalls/EffectorLink::effectorType
|
|
int32_t ___effectorType_1;
|
|
// RootMotion.FinalIK.InteractionObject RootMotion.Demos.TouchWalls/EffectorLink::interactionObject
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___interactionObject_2;
|
|
// UnityEngine.Transform RootMotion.Demos.TouchWalls/EffectorLink::spherecastFrom
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___spherecastFrom_3;
|
|
// System.Single RootMotion.Demos.TouchWalls/EffectorLink::spherecastRadius
|
|
float ___spherecastRadius_4;
|
|
// System.Single RootMotion.Demos.TouchWalls/EffectorLink::minDistance
|
|
float ___minDistance_5;
|
|
// System.Single RootMotion.Demos.TouchWalls/EffectorLink::distanceMlp
|
|
float ___distanceMlp_6;
|
|
// UnityEngine.LayerMask RootMotion.Demos.TouchWalls/EffectorLink::touchLayers
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___touchLayers_7;
|
|
// System.Single RootMotion.Demos.TouchWalls/EffectorLink::lerpSpeed
|
|
float ___lerpSpeed_8;
|
|
// System.Single RootMotion.Demos.TouchWalls/EffectorLink::minSwitchTime
|
|
float ___minSwitchTime_9;
|
|
// System.Single RootMotion.Demos.TouchWalls/EffectorLink::releaseDistance
|
|
float ___releaseDistance_10;
|
|
// System.Boolean RootMotion.Demos.TouchWalls/EffectorLink::sliding
|
|
bool ___sliding_11;
|
|
// UnityEngine.Vector3 RootMotion.Demos.TouchWalls/EffectorLink::raycastDirectionLocal
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___raycastDirectionLocal_12;
|
|
// System.Single RootMotion.Demos.TouchWalls/EffectorLink::raycastDistance
|
|
float ___raycastDistance_13;
|
|
// System.Boolean RootMotion.Demos.TouchWalls/EffectorLink::inTouch
|
|
bool ___inTouch_14;
|
|
// UnityEngine.RaycastHit RootMotion.Demos.TouchWalls/EffectorLink::hit
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 ___hit_15;
|
|
// UnityEngine.Vector3 RootMotion.Demos.TouchWalls/EffectorLink::targetPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___targetPosition_16;
|
|
// UnityEngine.Quaternion RootMotion.Demos.TouchWalls/EffectorLink::targetRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___targetRotation_17;
|
|
// System.Boolean RootMotion.Demos.TouchWalls/EffectorLink::initiated
|
|
bool ___initiated_18;
|
|
// System.Single RootMotion.Demos.TouchWalls/EffectorLink::nextSwitchTime
|
|
float ___nextSwitchTime_19;
|
|
// System.Single RootMotion.Demos.TouchWalls/EffectorLink::speedF
|
|
float ___speedF_20;
|
|
};
|
|
|
|
// UnityEngine.Behaviour
|
|
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Collider
|
|
struct Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolverAim
|
|
struct IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789 : public IKSolverHeuristic_tE9187D7C8E900617B4FE451C82FF14BB5CF2F484
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverAim::transform
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___transform_18;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverAim::axis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___axis_19;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverAim::poleAxis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___poleAxis_20;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverAim::polePosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___polePosition_21;
|
|
// System.Single RootMotion.FinalIK.IKSolverAim::poleWeight
|
|
float ___poleWeight_22;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverAim::poleTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___poleTarget_23;
|
|
// System.Single RootMotion.FinalIK.IKSolverAim::clampWeight
|
|
float ___clampWeight_24;
|
|
// System.Int32 RootMotion.FinalIK.IKSolverAim::clampSmoothing
|
|
int32_t ___clampSmoothing_25;
|
|
// RootMotion.FinalIK.IKSolver/IterationDelegate RootMotion.FinalIK.IKSolverAim::OnPreIteration
|
|
IterationDelegate_t50F2C0DBA5189F9263AE46A2205096E8AF33A633* ___OnPreIteration_26;
|
|
// System.Single RootMotion.FinalIK.IKSolverAim::step
|
|
float ___step_27;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverAim::clampedIKPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___clampedIKPosition_28;
|
|
// RootMotion.FinalIK.RotationLimit RootMotion.FinalIK.IKSolverAim::transformLimit
|
|
RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9* ___transformLimit_29;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverAim::lastTransform
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___lastTransform_30;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolverFullBodyBiped
|
|
struct IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55 : public IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverFullBodyBiped::rootNode
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rootNode_25;
|
|
// System.Single RootMotion.FinalIK.IKSolverFullBodyBiped::spineStiffness
|
|
float ___spineStiffness_26;
|
|
// System.Single RootMotion.FinalIK.IKSolverFullBodyBiped::pullBodyVertical
|
|
float ___pullBodyVertical_27;
|
|
// System.Single RootMotion.FinalIK.IKSolverFullBodyBiped::pullBodyHorizontal
|
|
float ___pullBodyHorizontal_28;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverFullBodyBiped::<pullBodyOffset>k__BackingField
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CpullBodyOffsetU3Ek__BackingField_29;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverFullBodyBiped::offset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___offset_30;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolverLimb
|
|
struct IKSolverLimb_t4BAB5C0E008B3E8E2B673F54E7AAF1F3012887F1 : public IKSolverTrigonometric_t55424AF77D1DAF8373F11CC9339F455C2FB5F62C
|
|
{
|
|
// UnityEngine.AvatarIKGoal RootMotion.FinalIK.IKSolverLimb::goal
|
|
int32_t ___goal_19;
|
|
// RootMotion.FinalIK.IKSolverLimb/BendModifier RootMotion.FinalIK.IKSolverLimb::bendModifier
|
|
int32_t ___bendModifier_20;
|
|
// System.Single RootMotion.FinalIK.IKSolverLimb::maintainRotationWeight
|
|
float ___maintainRotationWeight_21;
|
|
// System.Single RootMotion.FinalIK.IKSolverLimb::bendModifierWeight
|
|
float ___bendModifierWeight_22;
|
|
// UnityEngine.Transform RootMotion.FinalIK.IKSolverLimb::bendGoal
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bendGoal_23;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverLimb::maintainBendFor1Frame
|
|
bool ___maintainBendFor1Frame_24;
|
|
// System.Boolean RootMotion.FinalIK.IKSolverLimb::maintainRotationFor1Frame
|
|
bool ___maintainRotationFor1Frame_25;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverLimb::defaultRootRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___defaultRootRotation_26;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverLimb::parentDefaultRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___parentDefaultRotation_27;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverLimb::bone3RotationBeforeSolve
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___bone3RotationBeforeSolve_28;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverLimb::maintainRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___maintainRotation_29;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.IKSolverLimb::bone3DefaultRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___bone3DefaultRotation_30;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverLimb::_bendNormal
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ____bendNormal_31;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.IKSolverLimb::animationNormal
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___animationNormal_32;
|
|
// RootMotion.FinalIK.IKSolverLimb/AxisDirection[] RootMotion.FinalIK.IKSolverLimb::axisDirectionsLeft
|
|
AxisDirectionU5BU5D_tEEAAA4643F969417FEC3F3D2F86691E97BBD4C76* ___axisDirectionsLeft_33;
|
|
// RootMotion.FinalIK.IKSolverLimb/AxisDirection[] RootMotion.FinalIK.IKSolverLimb::axisDirectionsRight
|
|
AxisDirectionU5BU5D_tEEAAA4643F969417FEC3F3D2F86691E97BBD4C76* ___axisDirectionsRight_34;
|
|
};
|
|
|
|
// UnityEngine.Joint
|
|
struct Joint_tB2C5499F976EBB1EA1C11A80E1BD9F5E2EE4D682 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// System.NotSupportedException
|
|
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
};
|
|
|
|
// UnityEngine.ParticleSystem
|
|
struct ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Renderer
|
|
struct Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Rigidbody
|
|
struct Rigidbody_t268697F5A994213ED97393309870968BC1C7393C : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Transform
|
|
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate
|
|
struct UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// RootMotion.FinalIK.InteractionSystem/InteractionDelegate
|
|
struct InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Animator
|
|
struct Animator_t8A52E42AE54F76681838FE9E632683EF3952E883 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Camera
|
|
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
|
|
{
|
|
};
|
|
|
|
// UnityEngine.FixedJoint
|
|
struct FixedJoint_tA10A077292A86BA2A2AB3542E3441610055F806E : public Joint_tB2C5499F976EBB1EA1C11A80E1BD9F5E2EE4D682
|
|
{
|
|
};
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
|
|
{
|
|
};
|
|
|
|
// RootMotion.Demos.AimBoxing
|
|
struct AimBoxing_tE7AB7FFDC71D5917F98E6DA4273FB4C466F79F67 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.AimIK RootMotion.Demos.AimBoxing::aimIK
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* ___aimIK_4;
|
|
// UnityEngine.Transform RootMotion.Demos.AimBoxing::pin
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pin_5;
|
|
};
|
|
|
|
// RootMotion.FinalIK.AimPoser
|
|
struct AimPoser_t052FE2795021E7CACE993D73C39C4C1F1ACFAB57 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.FinalIK.AimPoser::angleBuffer
|
|
float ___angleBuffer_4;
|
|
// RootMotion.FinalIK.AimPoser/Pose[] RootMotion.FinalIK.AimPoser::poses
|
|
PoseU5BU5D_t55A98AA94F5DDD5041A5F305CDE897D7D55F8834* ___poses_5;
|
|
};
|
|
|
|
// RootMotion.Demos.AimSwing
|
|
struct AimSwing_t0A50CD868B376479512ED762B864A2F624D8E9D4 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.AimIK RootMotion.Demos.AimSwing::ik
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* ___ik_4;
|
|
// UnityEngine.Vector3 RootMotion.Demos.AimSwing::animatedAimDirection
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___animatedAimDirection_5;
|
|
};
|
|
|
|
// RootMotion.Demos.AnimatorController3rdPerson
|
|
struct AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.Demos.AnimatorController3rdPerson::rotateSpeed
|
|
float ___rotateSpeed_4;
|
|
// System.Single RootMotion.Demos.AnimatorController3rdPerson::blendSpeed
|
|
float ___blendSpeed_5;
|
|
// System.Single RootMotion.Demos.AnimatorController3rdPerson::maxAngle
|
|
float ___maxAngle_6;
|
|
// System.Single RootMotion.Demos.AnimatorController3rdPerson::moveSpeed
|
|
float ___moveSpeed_7;
|
|
// System.Single RootMotion.Demos.AnimatorController3rdPerson::rootMotionWeight
|
|
float ___rootMotionWeight_8;
|
|
// UnityEngine.Animator RootMotion.Demos.AnimatorController3rdPerson::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_9;
|
|
// UnityEngine.Vector3 RootMotion.Demos.AnimatorController3rdPerson::moveBlend
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___moveBlend_10;
|
|
// UnityEngine.Vector3 RootMotion.Demos.AnimatorController3rdPerson::moveInput
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___moveInput_11;
|
|
// UnityEngine.Vector3 RootMotion.Demos.AnimatorController3rdPerson::velocity
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___velocity_12;
|
|
};
|
|
|
|
// RootMotion.Demos.BendGoal
|
|
struct BendGoal_t98975872CE7B157D702E80B9AD2D66715BBA096D : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.LimbIK RootMotion.Demos.BendGoal::limbIK
|
|
LimbIK_tB704FB4BE269E2A84D213D61DE6B1C31696C6E72* ___limbIK_4;
|
|
// System.Single RootMotion.Demos.BendGoal::weight
|
|
float ___weight_5;
|
|
};
|
|
|
|
// RootMotion.Demos.BipedIKvsAnimatorIK
|
|
struct BipedIKvsAnimatorIK_tF864E4358F7D2DA56D475D56BE905A75DD37C558 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Animator RootMotion.Demos.BipedIKvsAnimatorIK::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_4;
|
|
// RootMotion.FinalIK.BipedIK RootMotion.Demos.BipedIKvsAnimatorIK::bipedIK
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* ___bipedIK_5;
|
|
// UnityEngine.Transform RootMotion.Demos.BipedIKvsAnimatorIK::lookAtTargetBiped
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___lookAtTargetBiped_6;
|
|
// UnityEngine.Transform RootMotion.Demos.BipedIKvsAnimatorIK::lookAtTargetAnimator
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___lookAtTargetAnimator_7;
|
|
// System.Single RootMotion.Demos.BipedIKvsAnimatorIK::lookAtWeight
|
|
float ___lookAtWeight_8;
|
|
// System.Single RootMotion.Demos.BipedIKvsAnimatorIK::lookAtBodyWeight
|
|
float ___lookAtBodyWeight_9;
|
|
// System.Single RootMotion.Demos.BipedIKvsAnimatorIK::lookAtHeadWeight
|
|
float ___lookAtHeadWeight_10;
|
|
// System.Single RootMotion.Demos.BipedIKvsAnimatorIK::lookAtEyesWeight
|
|
float ___lookAtEyesWeight_11;
|
|
// System.Single RootMotion.Demos.BipedIKvsAnimatorIK::lookAtClampWeight
|
|
float ___lookAtClampWeight_12;
|
|
// System.Single RootMotion.Demos.BipedIKvsAnimatorIK::lookAtClampWeightHead
|
|
float ___lookAtClampWeightHead_13;
|
|
// System.Single RootMotion.Demos.BipedIKvsAnimatorIK::lookAtClampWeightEyes
|
|
float ___lookAtClampWeightEyes_14;
|
|
// UnityEngine.Transform RootMotion.Demos.BipedIKvsAnimatorIK::footTargetBiped
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___footTargetBiped_15;
|
|
// UnityEngine.Transform RootMotion.Demos.BipedIKvsAnimatorIK::footTargetAnimator
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___footTargetAnimator_16;
|
|
// System.Single RootMotion.Demos.BipedIKvsAnimatorIK::footPositionWeight
|
|
float ___footPositionWeight_17;
|
|
// System.Single RootMotion.Demos.BipedIKvsAnimatorIK::footRotationWeight
|
|
float ___footRotationWeight_18;
|
|
// UnityEngine.Transform RootMotion.Demos.BipedIKvsAnimatorIK::handTargetBiped
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___handTargetBiped_19;
|
|
// UnityEngine.Transform RootMotion.Demos.BipedIKvsAnimatorIK::handTargetAnimator
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___handTargetAnimator_20;
|
|
// System.Single RootMotion.Demos.BipedIKvsAnimatorIK::handPositionWeight
|
|
float ___handPositionWeight_21;
|
|
// System.Single RootMotion.Demos.BipedIKvsAnimatorIK::handRotationWeight
|
|
float ___handRotationWeight_22;
|
|
};
|
|
|
|
// RootMotion.CameraController
|
|
struct CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Transform RootMotion.CameraController::target
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target_4;
|
|
// UnityEngine.Transform RootMotion.CameraController::rotationSpace
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rotationSpace_5;
|
|
// RootMotion.CameraController/UpdateMode RootMotion.CameraController::updateMode
|
|
int32_t ___updateMode_6;
|
|
// System.Boolean RootMotion.CameraController::lockCursor
|
|
bool ___lockCursor_7;
|
|
// System.Boolean RootMotion.CameraController::smoothFollow
|
|
bool ___smoothFollow_8;
|
|
// UnityEngine.Vector3 RootMotion.CameraController::offset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___offset_9;
|
|
// System.Single RootMotion.CameraController::followSpeed
|
|
float ___followSpeed_10;
|
|
// System.Single RootMotion.CameraController::rotationSensitivity
|
|
float ___rotationSensitivity_11;
|
|
// System.Single RootMotion.CameraController::yMinLimit
|
|
float ___yMinLimit_12;
|
|
// System.Single RootMotion.CameraController::yMaxLimit
|
|
float ___yMaxLimit_13;
|
|
// System.Boolean RootMotion.CameraController::rotateAlways
|
|
bool ___rotateAlways_14;
|
|
// System.Boolean RootMotion.CameraController::rotateOnLeftButton
|
|
bool ___rotateOnLeftButton_15;
|
|
// System.Boolean RootMotion.CameraController::rotateOnRightButton
|
|
bool ___rotateOnRightButton_16;
|
|
// System.Boolean RootMotion.CameraController::rotateOnMiddleButton
|
|
bool ___rotateOnMiddleButton_17;
|
|
// System.Single RootMotion.CameraController::distance
|
|
float ___distance_18;
|
|
// System.Single RootMotion.CameraController::minDistance
|
|
float ___minDistance_19;
|
|
// System.Single RootMotion.CameraController::maxDistance
|
|
float ___maxDistance_20;
|
|
// System.Single RootMotion.CameraController::zoomSpeed
|
|
float ___zoomSpeed_21;
|
|
// System.Single RootMotion.CameraController::zoomSensitivity
|
|
float ___zoomSensitivity_22;
|
|
// UnityEngine.LayerMask RootMotion.CameraController::blockingLayers
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___blockingLayers_23;
|
|
// System.Single RootMotion.CameraController::blockingRadius
|
|
float ___blockingRadius_24;
|
|
// System.Single RootMotion.CameraController::blockingSmoothTime
|
|
float ___blockingSmoothTime_25;
|
|
// System.Single RootMotion.CameraController::blockingOriginOffset
|
|
float ___blockingOriginOffset_26;
|
|
// System.Single RootMotion.CameraController::blockedOffset
|
|
float ___blockedOffset_27;
|
|
// System.Single RootMotion.CameraController::<x>k__BackingField
|
|
float ___U3CxU3Ek__BackingField_28;
|
|
// System.Single RootMotion.CameraController::<y>k__BackingField
|
|
float ___U3CyU3Ek__BackingField_29;
|
|
// System.Single RootMotion.CameraController::<distanceTarget>k__BackingField
|
|
float ___U3CdistanceTargetU3Ek__BackingField_30;
|
|
// UnityEngine.Vector3 RootMotion.CameraController::targetDistance
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___targetDistance_31;
|
|
// UnityEngine.Vector3 RootMotion.CameraController::position
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position_32;
|
|
// UnityEngine.Quaternion RootMotion.CameraController::rotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation_33;
|
|
// UnityEngine.Vector3 RootMotion.CameraController::smoothPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___smoothPosition_34;
|
|
// UnityEngine.Camera RootMotion.CameraController::cam
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___cam_35;
|
|
// System.Boolean RootMotion.CameraController::fixedFrame
|
|
bool ___fixedFrame_36;
|
|
// System.Single RootMotion.CameraController::fixedDeltaTime
|
|
float ___fixedDeltaTime_37;
|
|
// UnityEngine.Quaternion RootMotion.CameraController::r
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___r_38;
|
|
// UnityEngine.Vector3 RootMotion.CameraController::lastUp
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastUp_39;
|
|
// System.Single RootMotion.CameraController::blockedDistance
|
|
float ___blockedDistance_40;
|
|
// System.Single RootMotion.CameraController::blockedDistanceV
|
|
float ___blockedDistanceV_41;
|
|
};
|
|
|
|
// RootMotion.CameraControllerFPS
|
|
struct CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.CameraControllerFPS::rotationSensitivity
|
|
float ___rotationSensitivity_4;
|
|
// System.Single RootMotion.CameraControllerFPS::yMinLimit
|
|
float ___yMinLimit_5;
|
|
// System.Single RootMotion.CameraControllerFPS::yMaxLimit
|
|
float ___yMaxLimit_6;
|
|
// System.Single RootMotion.CameraControllerFPS::x
|
|
float ___x_7;
|
|
// System.Single RootMotion.CameraControllerFPS::y
|
|
float ___y_8;
|
|
};
|
|
|
|
// RootMotion.Demos.CharacterAnimationBase
|
|
struct CharacterAnimationBase_tF16F89D851897751BC15325508623E7909E14842 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Boolean RootMotion.Demos.CharacterAnimationBase::smoothFollow
|
|
bool ___smoothFollow_4;
|
|
// System.Single RootMotion.Demos.CharacterAnimationBase::smoothFollowSpeed
|
|
float ___smoothFollowSpeed_5;
|
|
// System.Boolean RootMotion.Demos.CharacterAnimationBase::animatePhysics
|
|
bool ___animatePhysics_6;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterAnimationBase::lastPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastPosition_7;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterAnimationBase::localPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___localPosition_8;
|
|
// UnityEngine.Quaternion RootMotion.Demos.CharacterAnimationBase::localRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___localRotation_9;
|
|
// UnityEngine.Quaternion RootMotion.Demos.CharacterAnimationBase::lastRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___lastRotation_10;
|
|
};
|
|
|
|
// RootMotion.Demos.CharacterBase
|
|
struct CharacterBase_t1CFFD41AEAD8C28D01AD4FFC61BCDAA2C5AB4053 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Transform RootMotion.Demos.CharacterBase::gravityTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___gravityTarget_4;
|
|
// System.Single RootMotion.Demos.CharacterBase::gravityMultiplier
|
|
float ___gravityMultiplier_5;
|
|
// System.Single RootMotion.Demos.CharacterBase::airborneThreshold
|
|
float ___airborneThreshold_6;
|
|
// System.Single RootMotion.Demos.CharacterBase::slopeStartAngle
|
|
float ___slopeStartAngle_7;
|
|
// System.Single RootMotion.Demos.CharacterBase::slopeEndAngle
|
|
float ___slopeEndAngle_8;
|
|
// System.Single RootMotion.Demos.CharacterBase::spherecastRadius
|
|
float ___spherecastRadius_9;
|
|
// UnityEngine.LayerMask RootMotion.Demos.CharacterBase::groundLayers
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___groundLayers_10;
|
|
// UnityEngine.PhysicMaterial RootMotion.Demos.CharacterBase::zeroFrictionMaterial
|
|
PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131* ___zeroFrictionMaterial_11;
|
|
// UnityEngine.PhysicMaterial RootMotion.Demos.CharacterBase::highFrictionMaterial
|
|
PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131* ___highFrictionMaterial_12;
|
|
// UnityEngine.Rigidbody RootMotion.Demos.CharacterBase::r
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* ___r_13;
|
|
// System.Single RootMotion.Demos.CharacterBase::originalHeight
|
|
float ___originalHeight_15;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterBase::originalCenter
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___originalCenter_16;
|
|
// UnityEngine.CapsuleCollider RootMotion.Demos.CharacterBase::capsule
|
|
CapsuleCollider_t3A1671C74F0836ABEF5D01A7470B5B2BE290A808* ___capsule_17;
|
|
};
|
|
|
|
// RootMotion.Demos.CharacterController3rdPerson
|
|
struct CharacterController3rdPerson_t95A74736BE92A34290FA5C8DE537526AAFBCA64E : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.CameraController RootMotion.Demos.CharacterController3rdPerson::cam
|
|
CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412* ___cam_4;
|
|
// RootMotion.Demos.AnimatorController3rdPerson RootMotion.Demos.CharacterController3rdPerson::animatorController
|
|
AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* ___animatorController_5;
|
|
};
|
|
|
|
// RootMotion.Demos.ExplosionDemo
|
|
struct ExplosionDemo_tE47276289E5920417A42F4932B43819B7B1F13DA : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.Demos.SimpleLocomotion RootMotion.Demos.ExplosionDemo::character
|
|
SimpleLocomotion_t5C40DF535664F3EF4CC54452166672EA480285BE* ___character_4;
|
|
// System.Single RootMotion.Demos.ExplosionDemo::forceMlp
|
|
float ___forceMlp_5;
|
|
// System.Single RootMotion.Demos.ExplosionDemo::upForce
|
|
float ___upForce_6;
|
|
// System.Single RootMotion.Demos.ExplosionDemo::weightFalloffSpeed
|
|
float ___weightFalloffSpeed_7;
|
|
// UnityEngine.AnimationCurve RootMotion.Demos.ExplosionDemo::weightFalloff
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___weightFalloff_8;
|
|
// UnityEngine.AnimationCurve RootMotion.Demos.ExplosionDemo::explosionForceByDistance
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___explosionForceByDistance_9;
|
|
// UnityEngine.AnimationCurve RootMotion.Demos.ExplosionDemo::scale
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___scale_10;
|
|
// System.Single RootMotion.Demos.ExplosionDemo::weight
|
|
float ___weight_11;
|
|
// UnityEngine.Vector3 RootMotion.Demos.ExplosionDemo::defaultScale
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultScale_12;
|
|
// UnityEngine.Rigidbody RootMotion.Demos.ExplosionDemo::r
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* ___r_13;
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.ExplosionDemo::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_14;
|
|
};
|
|
|
|
// RootMotion.Demos.FBBIKSettings
|
|
struct FBBIKSettings_tA6F1B11770302C7C26704888C923FF026C85D94D : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.FBBIKSettings::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_4;
|
|
// System.Boolean RootMotion.Demos.FBBIKSettings::disableAfterStart
|
|
bool ___disableAfterStart_5;
|
|
// RootMotion.Demos.FBBIKSettings/Limb RootMotion.Demos.FBBIKSettings::leftArm
|
|
Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01* ___leftArm_6;
|
|
// RootMotion.Demos.FBBIKSettings/Limb RootMotion.Demos.FBBIKSettings::rightArm
|
|
Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01* ___rightArm_7;
|
|
// RootMotion.Demos.FBBIKSettings/Limb RootMotion.Demos.FBBIKSettings::leftLeg
|
|
Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01* ___leftLeg_8;
|
|
// RootMotion.Demos.FBBIKSettings/Limb RootMotion.Demos.FBBIKSettings::rightLeg
|
|
Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01* ___rightLeg_9;
|
|
// System.Single RootMotion.Demos.FBBIKSettings::rootPin
|
|
float ___rootPin_10;
|
|
// System.Boolean RootMotion.Demos.FBBIKSettings::bodyEffectChildNodes
|
|
bool ___bodyEffectChildNodes_11;
|
|
};
|
|
|
|
// RootMotion.Demos.FBIKBendGoal
|
|
struct FBIKBendGoal_t276E771DEDD9ABEECF4353ADB99AB9232B6C4174 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.FBIKBendGoal::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_4;
|
|
// RootMotion.FinalIK.FullBodyBipedChain RootMotion.Demos.FBIKBendGoal::chain
|
|
int32_t ___chain_5;
|
|
// System.Single RootMotion.Demos.FBIKBendGoal::weight
|
|
float ___weight_6;
|
|
};
|
|
|
|
// RootMotion.Demos.FBIKBoxing
|
|
struct FBIKBoxing_tCCE5F154433E045B24434F05A926F080EB19530C : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Transform RootMotion.Demos.FBIKBoxing::target
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target_4;
|
|
// UnityEngine.Transform RootMotion.Demos.FBIKBoxing::pin
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pin_5;
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.FBIKBoxing::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_6;
|
|
// RootMotion.FinalIK.AimIK RootMotion.Demos.FBIKBoxing::aim
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* ___aim_7;
|
|
// System.Single RootMotion.Demos.FBIKBoxing::weight
|
|
float ___weight_8;
|
|
// RootMotion.FinalIK.FullBodyBipedEffector RootMotion.Demos.FBIKBoxing::effector
|
|
int32_t ___effector_9;
|
|
// UnityEngine.AnimationCurve RootMotion.Demos.FBIKBoxing::aimWeight
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___aimWeight_10;
|
|
// UnityEngine.Animator RootMotion.Demos.FBIKBoxing::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_11;
|
|
};
|
|
|
|
// RootMotion.Demos.FBIKHandsOnProp
|
|
struct FBIKHandsOnProp_tBCEE0F504A54C23E6C15FD8F6826AAA2C7900035 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.FBIKHandsOnProp::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_4;
|
|
// System.Boolean RootMotion.Demos.FBIKHandsOnProp::leftHanded
|
|
bool ___leftHanded_5;
|
|
};
|
|
|
|
// RootMotion.Demos.FKOffset
|
|
struct FKOffset_tA5F8807E2B20894CFB3478B98B9F8BD06E089DE8 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.Demos.FKOffset/Offset[] RootMotion.Demos.FKOffset::offsets
|
|
OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA* ___offsets_4;
|
|
// UnityEngine.Animator RootMotion.Demos.FKOffset::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_5;
|
|
};
|
|
|
|
// RootMotion.Demos.FPSAiming
|
|
struct FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.Demos.FPSAiming::aimWeight
|
|
float ___aimWeight_4;
|
|
// System.Single RootMotion.Demos.FPSAiming::sightWeight
|
|
float ___sightWeight_5;
|
|
// System.Single RootMotion.Demos.FPSAiming::maxAngle
|
|
float ___maxAngle_6;
|
|
// UnityEngine.Vector3 RootMotion.Demos.FPSAiming::aimOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___aimOffset_7;
|
|
// System.Boolean RootMotion.Demos.FPSAiming::animatePhysics
|
|
bool ___animatePhysics_8;
|
|
// UnityEngine.Transform RootMotion.Demos.FPSAiming::gun
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___gun_9;
|
|
// UnityEngine.Transform RootMotion.Demos.FPSAiming::gunTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___gunTarget_10;
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.FPSAiming::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_11;
|
|
// RootMotion.FinalIK.AimIK RootMotion.Demos.FPSAiming::gunAim
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* ___gunAim_12;
|
|
// RootMotion.FinalIK.AimIK RootMotion.Demos.FPSAiming::headAim
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* ___headAim_13;
|
|
// RootMotion.CameraControllerFPS RootMotion.Demos.FPSAiming::cam
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* ___cam_14;
|
|
// RootMotion.FinalIK.Recoil RootMotion.Demos.FPSAiming::recoil
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* ___recoil_15;
|
|
// System.Single RootMotion.Demos.FPSAiming::cameraRecoilWeight
|
|
float ___cameraRecoilWeight_16;
|
|
// UnityEngine.Vector3 RootMotion.Demos.FPSAiming::gunTargetDefaultLocalPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___gunTargetDefaultLocalPosition_17;
|
|
// UnityEngine.Vector3 RootMotion.Demos.FPSAiming::gunTargetDefaultLocalRotation
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___gunTargetDefaultLocalRotation_18;
|
|
// UnityEngine.Vector3 RootMotion.Demos.FPSAiming::camDefaultLocalPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___camDefaultLocalPosition_19;
|
|
// UnityEngine.Vector3 RootMotion.Demos.FPSAiming::camRelativeToGunTarget
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___camRelativeToGunTarget_20;
|
|
// System.Boolean RootMotion.Demos.FPSAiming::updateFrame
|
|
bool ___updateFrame_21;
|
|
};
|
|
|
|
// RootMotion.Demos.FPSCharacter
|
|
struct FPSCharacter_tAAA07597C04B8DCF6DFBD0D8FDF13A2BBCB553AC : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.Demos.FPSCharacter::walkSpeed
|
|
float ___walkSpeed_4;
|
|
// System.Single RootMotion.Demos.FPSCharacter::sVel
|
|
float ___sVel_5;
|
|
// UnityEngine.Animator RootMotion.Demos.FPSCharacter::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_6;
|
|
// RootMotion.Demos.FPSAiming RootMotion.Demos.FPSCharacter::FPSAiming
|
|
FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* ___FPSAiming_7;
|
|
};
|
|
|
|
// RootMotion.FinalIK.Grounder
|
|
struct Grounder_t41EF6C040D7A6C4FC6E74902750EAD0F90368EAE : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.FinalIK.Grounder::weight
|
|
float ___weight_4;
|
|
// RootMotion.FinalIK.Grounding RootMotion.FinalIK.Grounder::solver
|
|
Grounding_t914E7EE73B00FC28CC53B60D3536AB7A8EACAA21* ___solver_5;
|
|
// RootMotion.FinalIK.Grounder/GrounderDelegate RootMotion.FinalIK.Grounder::OnPreGrounder
|
|
GrounderDelegate_tAF581A816FB72CF58CD98074330504BD8E347678* ___OnPreGrounder_6;
|
|
// RootMotion.FinalIK.Grounder/GrounderDelegate RootMotion.FinalIK.Grounder::OnPostGrounder
|
|
GrounderDelegate_tAF581A816FB72CF58CD98074330504BD8E347678* ___OnPostGrounder_7;
|
|
// RootMotion.FinalIK.Grounder/GrounderDelegate RootMotion.FinalIK.Grounder::OnPostIK
|
|
GrounderDelegate_tAF581A816FB72CF58CD98074330504BD8E347678* ___OnPostIK_8;
|
|
// System.Boolean RootMotion.FinalIK.Grounder::<initiated>k__BackingField
|
|
bool ___U3CinitiatedU3Ek__BackingField_9;
|
|
};
|
|
|
|
// RootMotion.Demos.GrounderDemo
|
|
struct GrounderDemo_tE145931AE47CCED1A32E9365C00C8199E47A4BA8 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.GameObject[] RootMotion.Demos.GrounderDemo::characters
|
|
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* ___characters_4;
|
|
};
|
|
|
|
// RootMotion.Demos.HitReactionTrigger
|
|
struct HitReactionTrigger_tD6947DD69F327F41307446A2D27E8C94445FA046 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.HitReaction RootMotion.Demos.HitReactionTrigger::hitReaction
|
|
HitReaction_tDD0B4FEAA374B21E4C529B96DEE282F633CC21E1* ___hitReaction_4;
|
|
// System.Single RootMotion.Demos.HitReactionTrigger::hitForce
|
|
float ___hitForce_5;
|
|
// System.String RootMotion.Demos.HitReactionTrigger::colliderName
|
|
String_t* ___colliderName_6;
|
|
};
|
|
|
|
// RootMotion.Demos.HitReactionVRIKTrigger
|
|
struct HitReactionVRIKTrigger_t6A78E4680C6307ABCAC9C3937C58014CC9092489 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.HitReactionVRIK RootMotion.Demos.HitReactionVRIKTrigger::hitReaction
|
|
HitReactionVRIK_t78F94F27FA72855C6F113EFE34D4B0F67590346C* ___hitReaction_4;
|
|
// System.Single RootMotion.Demos.HitReactionVRIKTrigger::hitForce
|
|
float ___hitForce_5;
|
|
// System.String RootMotion.Demos.HitReactionVRIKTrigger::colliderName
|
|
String_t* ___colliderName_6;
|
|
};
|
|
|
|
// RootMotion.Demos.HoldingHands
|
|
struct HoldingHands_tC0400A85CCB40126FEBA66CC9988DB0A8D787D20 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.HoldingHands::rightHandChar
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___rightHandChar_4;
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.HoldingHands::leftHandChar
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___leftHandChar_5;
|
|
// UnityEngine.Transform RootMotion.Demos.HoldingHands::rightHandTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightHandTarget_6;
|
|
// UnityEngine.Transform RootMotion.Demos.HoldingHands::leftHandTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftHandTarget_7;
|
|
// System.Single RootMotion.Demos.HoldingHands::crossFade
|
|
float ___crossFade_8;
|
|
// System.Single RootMotion.Demos.HoldingHands::speed
|
|
float ___speed_9;
|
|
// UnityEngine.Quaternion RootMotion.Demos.HoldingHands::rightHandRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rightHandRotation_10;
|
|
// UnityEngine.Quaternion RootMotion.Demos.HoldingHands::leftHandRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___leftHandRotation_11;
|
|
};
|
|
|
|
// RootMotion.Demos.InteractionC2CDemo
|
|
struct InteractionC2CDemo_tEE609D1D60F8FB5AE8824B02D083CC16A6EAA0C8 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.InteractionSystem RootMotion.Demos.InteractionC2CDemo::character1
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___character1_4;
|
|
// RootMotion.FinalIK.InteractionSystem RootMotion.Demos.InteractionC2CDemo::character2
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___character2_5;
|
|
// RootMotion.FinalIK.InteractionObject RootMotion.Demos.InteractionC2CDemo::handShake
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___handShake_6;
|
|
};
|
|
|
|
// RootMotion.Demos.InteractionDemo
|
|
struct InteractionDemo_tACDB69C5426B768A766351CC5AEECD236C567E6C : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.InteractionSystem RootMotion.Demos.InteractionDemo::interactionSystem
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___interactionSystem_4;
|
|
// System.Boolean RootMotion.Demos.InteractionDemo::interrupt
|
|
bool ___interrupt_5;
|
|
// RootMotion.FinalIK.InteractionObject RootMotion.Demos.InteractionDemo::ball
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___ball_6;
|
|
// RootMotion.FinalIK.InteractionObject RootMotion.Demos.InteractionDemo::benchMain
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___benchMain_7;
|
|
// RootMotion.FinalIK.InteractionObject RootMotion.Demos.InteractionDemo::benchHands
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___benchHands_8;
|
|
// RootMotion.FinalIK.InteractionObject RootMotion.Demos.InteractionDemo::button
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___button_9;
|
|
// RootMotion.FinalIK.InteractionObject RootMotion.Demos.InteractionDemo::cigarette
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___cigarette_10;
|
|
// RootMotion.FinalIK.InteractionObject RootMotion.Demos.InteractionDemo::door
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___door_11;
|
|
// System.Boolean RootMotion.Demos.InteractionDemo::isSitting
|
|
bool ___isSitting_12;
|
|
};
|
|
|
|
// RootMotion.FinalIK.InteractionObject
|
|
struct InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.InteractionObject::otherLookAtTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___otherLookAtTarget_4;
|
|
// UnityEngine.Transform RootMotion.FinalIK.InteractionObject::otherTargetsRoot
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___otherTargetsRoot_5;
|
|
// UnityEngine.Transform RootMotion.FinalIK.InteractionObject::positionOffsetSpace
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___positionOffsetSpace_6;
|
|
// RootMotion.FinalIK.InteractionObject/WeightCurve[] RootMotion.FinalIK.InteractionObject::weightCurves
|
|
WeightCurveU5BU5D_tA9F98B9E396132D6F465A5B0CDFDD95BCAB76F42* ___weightCurves_7;
|
|
// RootMotion.FinalIK.InteractionObject/Multiplier[] RootMotion.FinalIK.InteractionObject::multipliers
|
|
MultiplierU5BU5D_tA056613182051A86C363DDCE0A8344592E0DD2D6* ___multipliers_8;
|
|
// RootMotion.FinalIK.InteractionObject/InteractionEvent[] RootMotion.FinalIK.InteractionObject::events
|
|
InteractionEventU5BU5D_t8CEB24E672CCF2B331CC7406F47AC3FB86C49040* ___events_9;
|
|
// System.Single RootMotion.FinalIK.InteractionObject::<length>k__BackingField
|
|
float ___U3ClengthU3Ek__BackingField_10;
|
|
// RootMotion.FinalIK.InteractionSystem RootMotion.FinalIK.InteractionObject::<lastUsedInteractionSystem>k__BackingField
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___U3ClastUsedInteractionSystemU3Ek__BackingField_11;
|
|
// RootMotion.FinalIK.InteractionTarget[] RootMotion.FinalIK.InteractionObject::targets
|
|
InteractionTargetU5BU5D_tC3AF80B4570586179751E8C6712B4D223A57D27C* ___targets_12;
|
|
};
|
|
|
|
// RootMotion.FinalIK.InteractionSystem
|
|
struct InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.String RootMotion.FinalIK.InteractionSystem::targetTag
|
|
String_t* ___targetTag_4;
|
|
// System.Single RootMotion.FinalIK.InteractionSystem::fadeInTime
|
|
float ___fadeInTime_5;
|
|
// System.Single RootMotion.FinalIK.InteractionSystem::speed
|
|
float ___speed_6;
|
|
// System.Single RootMotion.FinalIK.InteractionSystem::resetToDefaultsSpeed
|
|
float ___resetToDefaultsSpeed_7;
|
|
// UnityEngine.Collider RootMotion.FinalIK.InteractionSystem::characterCollider
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___characterCollider_8;
|
|
// UnityEngine.Transform RootMotion.FinalIK.InteractionSystem::FPSCamera
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___FPSCamera_9;
|
|
// UnityEngine.LayerMask RootMotion.FinalIK.InteractionSystem::camRaycastLayers
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___camRaycastLayers_10;
|
|
// System.Single RootMotion.FinalIK.InteractionSystem::camRaycastDistance
|
|
float ___camRaycastDistance_11;
|
|
// System.Collections.Generic.List`1<RootMotion.FinalIK.InteractionTrigger> RootMotion.FinalIK.InteractionSystem::<triggersInRange>k__BackingField
|
|
List_1_t2F5A96A6BBA3CE29B059051B243B5E775CA312AA* ___U3CtriggersInRangeU3Ek__BackingField_12;
|
|
// System.Collections.Generic.List`1<RootMotion.FinalIK.InteractionTrigger> RootMotion.FinalIK.InteractionSystem::inContact
|
|
List_1_t2F5A96A6BBA3CE29B059051B243B5E775CA312AA* ___inContact_13;
|
|
// System.Collections.Generic.List`1<System.Int32> RootMotion.FinalIK.InteractionSystem::bestRangeIndexes
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___bestRangeIndexes_14;
|
|
// RootMotion.FinalIK.InteractionSystem/InteractionDelegate RootMotion.FinalIK.InteractionSystem::OnInteractionStart
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* ___OnInteractionStart_15;
|
|
// RootMotion.FinalIK.InteractionSystem/InteractionDelegate RootMotion.FinalIK.InteractionSystem::OnInteractionPause
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* ___OnInteractionPause_16;
|
|
// RootMotion.FinalIK.InteractionSystem/InteractionDelegate RootMotion.FinalIK.InteractionSystem::OnInteractionPickUp
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* ___OnInteractionPickUp_17;
|
|
// RootMotion.FinalIK.InteractionSystem/InteractionDelegate RootMotion.FinalIK.InteractionSystem::OnInteractionResume
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* ___OnInteractionResume_18;
|
|
// RootMotion.FinalIK.InteractionSystem/InteractionDelegate RootMotion.FinalIK.InteractionSystem::OnInteractionStop
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* ___OnInteractionStop_19;
|
|
// RootMotion.FinalIK.InteractionSystem/InteractionEventDelegate RootMotion.FinalIK.InteractionSystem::OnInteractionEvent
|
|
InteractionEventDelegate_tACBFD16C00C42A8ED2EBACEA75F5F98E48145851* ___OnInteractionEvent_20;
|
|
// UnityEngine.RaycastHit RootMotion.FinalIK.InteractionSystem::raycastHit
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 ___raycastHit_21;
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.FinalIK.InteractionSystem::fullBody
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___fullBody_22;
|
|
// RootMotion.FinalIK.InteractionLookAt RootMotion.FinalIK.InteractionSystem::lookAt
|
|
InteractionLookAt_tB2271E7EF716542B2DF191680FE0217699696D61* ___lookAt_23;
|
|
// RootMotion.FinalIK.InteractionEffector[] RootMotion.FinalIK.InteractionSystem::interactionEffectors
|
|
InteractionEffectorU5BU5D_tBFC70F59C0807D35D10E89C3377E3972E28D18A4* ___interactionEffectors_24;
|
|
// System.Boolean RootMotion.FinalIK.InteractionSystem::<initiated>k__BackingField
|
|
bool ___U3CinitiatedU3Ek__BackingField_25;
|
|
// UnityEngine.Collider RootMotion.FinalIK.InteractionSystem::lastCollider
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___lastCollider_26;
|
|
// UnityEngine.Collider RootMotion.FinalIK.InteractionSystem::c
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___c_27;
|
|
// System.Single RootMotion.FinalIK.InteractionSystem::lastTime
|
|
float ___lastTime_28;
|
|
};
|
|
|
|
// RootMotion.Demos.InteractionSystemTestGUI
|
|
struct InteractionSystemTestGUI_t69783522BBD59178B399ABC830EED56B358FAEDD : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.InteractionObject RootMotion.Demos.InteractionSystemTestGUI::interactionObject
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___interactionObject_4;
|
|
// RootMotion.FinalIK.FullBodyBipedEffector[] RootMotion.Demos.InteractionSystemTestGUI::effectors
|
|
FullBodyBipedEffectorU5BU5D_tD981A1794CC680A87699938F371D208E46245BA4* ___effectors_5;
|
|
// RootMotion.FinalIK.InteractionSystem RootMotion.Demos.InteractionSystemTestGUI::interactionSystem
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___interactionSystem_6;
|
|
};
|
|
|
|
// RootMotion.Demos.KissingRig
|
|
struct KissingRig_tFADAEF80BC8322C4AABBD5819D9E49384476A220 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.Demos.KissingRig/Partner RootMotion.Demos.KissingRig::partner1
|
|
Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* ___partner1_4;
|
|
// RootMotion.Demos.KissingRig/Partner RootMotion.Demos.KissingRig::partner2
|
|
Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* ___partner2_5;
|
|
// System.Single RootMotion.Demos.KissingRig::weight
|
|
float ___weight_6;
|
|
// System.Int32 RootMotion.Demos.KissingRig::iterations
|
|
int32_t ___iterations_7;
|
|
};
|
|
|
|
// RootMotion.Demos.MechSpider
|
|
struct MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.LayerMask RootMotion.Demos.MechSpider::raycastLayers
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___raycastLayers_4;
|
|
// System.Single RootMotion.Demos.MechSpider::scale
|
|
float ___scale_5;
|
|
// UnityEngine.Transform RootMotion.Demos.MechSpider::body
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___body_6;
|
|
// RootMotion.Demos.MechSpiderLeg[] RootMotion.Demos.MechSpider::legs
|
|
MechSpiderLegU5BU5D_t4E6805D9391202606A68614995F81B0243A80DD9* ___legs_7;
|
|
// System.Single RootMotion.Demos.MechSpider::legRotationWeight
|
|
float ___legRotationWeight_8;
|
|
// System.Single RootMotion.Demos.MechSpider::rootPositionSpeed
|
|
float ___rootPositionSpeed_9;
|
|
// System.Single RootMotion.Demos.MechSpider::rootRotationSpeed
|
|
float ___rootRotationSpeed_10;
|
|
// System.Single RootMotion.Demos.MechSpider::breatheSpeed
|
|
float ___breatheSpeed_11;
|
|
// System.Single RootMotion.Demos.MechSpider::breatheMagnitude
|
|
float ___breatheMagnitude_12;
|
|
// System.Single RootMotion.Demos.MechSpider::height
|
|
float ___height_13;
|
|
// System.Single RootMotion.Demos.MechSpider::minHeight
|
|
float ___minHeight_14;
|
|
// System.Single RootMotion.Demos.MechSpider::raycastHeight
|
|
float ___raycastHeight_15;
|
|
// System.Single RootMotion.Demos.MechSpider::raycastDistance
|
|
float ___raycastDistance_16;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpider::<velocity>k__BackingField
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CvelocityU3Ek__BackingField_17;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpider::lastPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastPosition_18;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpider::defaultBodyLocalPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultBodyLocalPosition_19;
|
|
// System.Single RootMotion.Demos.MechSpider::sine
|
|
float ___sine_20;
|
|
// UnityEngine.RaycastHit RootMotion.Demos.MechSpider::rootHit
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 ___rootHit_21;
|
|
};
|
|
|
|
// RootMotion.Demos.MechSpiderController
|
|
struct MechSpiderController_t5804A9789F4C8493AC593B390D111B5F2572A0DB : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.Demos.MechSpider RootMotion.Demos.MechSpiderController::mechSpider
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* ___mechSpider_4;
|
|
// UnityEngine.Transform RootMotion.Demos.MechSpiderController::cameraTransform
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___cameraTransform_5;
|
|
// System.Single RootMotion.Demos.MechSpiderController::speed
|
|
float ___speed_6;
|
|
// System.Single RootMotion.Demos.MechSpiderController::turnSpeed
|
|
float ___turnSpeed_7;
|
|
};
|
|
|
|
// RootMotion.Demos.MechSpiderLeg
|
|
struct MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.Demos.MechSpider RootMotion.Demos.MechSpiderLeg::mechSpider
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* ___mechSpider_4;
|
|
// RootMotion.Demos.MechSpiderLeg RootMotion.Demos.MechSpiderLeg::unSync
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* ___unSync_5;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderLeg::offset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___offset_6;
|
|
// System.Single RootMotion.Demos.MechSpiderLeg::minDelay
|
|
float ___minDelay_7;
|
|
// System.Single RootMotion.Demos.MechSpiderLeg::maxOffset
|
|
float ___maxOffset_8;
|
|
// System.Single RootMotion.Demos.MechSpiderLeg::stepSpeed
|
|
float ___stepSpeed_9;
|
|
// System.Single RootMotion.Demos.MechSpiderLeg::footHeight
|
|
float ___footHeight_10;
|
|
// System.Single RootMotion.Demos.MechSpiderLeg::velocityPrediction
|
|
float ___velocityPrediction_11;
|
|
// System.Single RootMotion.Demos.MechSpiderLeg::raycastFocus
|
|
float ___raycastFocus_12;
|
|
// UnityEngine.AnimationCurve RootMotion.Demos.MechSpiderLeg::yOffset
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___yOffset_13;
|
|
// UnityEngine.Transform RootMotion.Demos.MechSpiderLeg::foot
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___foot_14;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderLeg::footUpAxis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___footUpAxis_15;
|
|
// System.Single RootMotion.Demos.MechSpiderLeg::footRotationSpeed
|
|
float ___footRotationSpeed_16;
|
|
// UnityEngine.ParticleSystem RootMotion.Demos.MechSpiderLeg::sand
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* ___sand_17;
|
|
// RootMotion.FinalIK.IK RootMotion.Demos.MechSpiderLeg::ik
|
|
IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1* ___ik_18;
|
|
// System.Single RootMotion.Demos.MechSpiderLeg::stepProgress
|
|
float ___stepProgress_19;
|
|
// System.Single RootMotion.Demos.MechSpiderLeg::lastStepTime
|
|
float ___lastStepTime_20;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderLeg::defaultPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultPosition_21;
|
|
// UnityEngine.RaycastHit RootMotion.Demos.MechSpiderLeg::hit
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 ___hit_22;
|
|
// UnityEngine.Quaternion RootMotion.Demos.MechSpiderLeg::lastFootLocalRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___lastFootLocalRotation_23;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderLeg::smoothHitNormal
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___smoothHitNormal_24;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderLeg::lastStepPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastStepPosition_25;
|
|
};
|
|
|
|
// RootMotion.Demos.MechSpiderParticles
|
|
struct MechSpiderParticles_t9F2822BCC6D66FBDA2D9C2A91AF226EA2DC71C29 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.Demos.MechSpiderController RootMotion.Demos.MechSpiderParticles::mechSpiderController
|
|
MechSpiderController_t5804A9789F4C8493AC593B390D111B5F2572A0DB* ___mechSpiderController_4;
|
|
// UnityEngine.ParticleSystem RootMotion.Demos.MechSpiderParticles::particles
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* ___particles_5;
|
|
};
|
|
|
|
// RootMotion.Demos.MotionAbsorbCharacter
|
|
struct MotionAbsorbCharacter_t079CD5DFEB1F5DC0129E622D992E47E893F2F101 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Animator RootMotion.Demos.MotionAbsorbCharacter::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_4;
|
|
// RootMotion.Demos.MotionAbsorb RootMotion.Demos.MotionAbsorbCharacter::motionAbsorb
|
|
MotionAbsorb_t5DBE549F1D756E0BE73E606693ED0B7C8D1622EC* ___motionAbsorb_5;
|
|
// UnityEngine.Transform RootMotion.Demos.MotionAbsorbCharacter::cube
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___cube_6;
|
|
// System.Single RootMotion.Demos.MotionAbsorbCharacter::cubeRandomPosition
|
|
float ___cubeRandomPosition_7;
|
|
// UnityEngine.AnimationCurve RootMotion.Demos.MotionAbsorbCharacter::motionAbsorbWeight
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___motionAbsorbWeight_8;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MotionAbsorbCharacter::cubeDefaultPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___cubeDefaultPosition_9;
|
|
// UnityEngine.AnimatorStateInfo RootMotion.Demos.MotionAbsorbCharacter::info
|
|
AnimatorStateInfo_t1F47379289C7CE7FD588FBC3BBD79A777243B6B2 ___info_10;
|
|
// UnityEngine.Rigidbody RootMotion.Demos.MotionAbsorbCharacter::cubeRigidbody
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* ___cubeRigidbody_11;
|
|
};
|
|
|
|
// RootMotion.FinalIK.OffsetModifier
|
|
struct OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.FinalIK.OffsetModifier::weight
|
|
float ___weight_4;
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.FinalIK.OffsetModifier::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_5;
|
|
// System.Single RootMotion.FinalIK.OffsetModifier::lastTime
|
|
float ___lastTime_6;
|
|
};
|
|
|
|
// RootMotion.FinalIK.OffsetModifierVRIK
|
|
struct OffsetModifierVRIK_t0F283D2248C69786D284BE909A8B85C0759FA231 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.FinalIK.OffsetModifierVRIK::weight
|
|
float ___weight_4;
|
|
// RootMotion.FinalIK.VRIK RootMotion.FinalIK.OffsetModifierVRIK::ik
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* ___ik_5;
|
|
// System.Single RootMotion.FinalIK.OffsetModifierVRIK::lastTime
|
|
float ___lastTime_6;
|
|
};
|
|
|
|
// RootMotion.Demos.PendulumExample
|
|
struct PendulumExample_t8EB41555C1BD4E5CF58203F94125972FC818050B : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.Demos.PendulumExample::weight
|
|
float ___weight_4;
|
|
// System.Single RootMotion.Demos.PendulumExample::hangingDistanceMlp
|
|
float ___hangingDistanceMlp_5;
|
|
// UnityEngine.Vector3 RootMotion.Demos.PendulumExample::rootTargetPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rootTargetPosition_6;
|
|
// UnityEngine.Quaternion RootMotion.Demos.PendulumExample::rootTargetRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rootTargetRotation_7;
|
|
// UnityEngine.Transform RootMotion.Demos.PendulumExample::target
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target_8;
|
|
// UnityEngine.Transform RootMotion.Demos.PendulumExample::leftHandTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftHandTarget_9;
|
|
// UnityEngine.Transform RootMotion.Demos.PendulumExample::rightHandTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightHandTarget_10;
|
|
// UnityEngine.Transform RootMotion.Demos.PendulumExample::leftFootTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftFootTarget_11;
|
|
// UnityEngine.Transform RootMotion.Demos.PendulumExample::rightFootTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightFootTarget_12;
|
|
// UnityEngine.Transform RootMotion.Demos.PendulumExample::pelvisTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pelvisTarget_13;
|
|
// UnityEngine.Transform RootMotion.Demos.PendulumExample::bodyTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bodyTarget_14;
|
|
// UnityEngine.Transform RootMotion.Demos.PendulumExample::headTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___headTarget_15;
|
|
// UnityEngine.Vector3 RootMotion.Demos.PendulumExample::pelvisDownAxis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pelvisDownAxis_16;
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.PendulumExample::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_17;
|
|
// UnityEngine.Quaternion RootMotion.Demos.PendulumExample::rootRelativeToPelvis
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rootRelativeToPelvis_18;
|
|
// UnityEngine.Vector3 RootMotion.Demos.PendulumExample::pelvisToRoot
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pelvisToRoot_19;
|
|
// System.Single RootMotion.Demos.PendulumExample::lastWeight
|
|
float ___lastWeight_20;
|
|
};
|
|
|
|
// RootMotion.Demos.PickUp2Handed
|
|
struct PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Int32 RootMotion.Demos.PickUp2Handed::GUIspace
|
|
int32_t ___GUIspace_4;
|
|
// RootMotion.FinalIK.InteractionSystem RootMotion.Demos.PickUp2Handed::interactionSystem
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___interactionSystem_5;
|
|
// RootMotion.FinalIK.InteractionObject RootMotion.Demos.PickUp2Handed::obj
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___obj_6;
|
|
// UnityEngine.Transform RootMotion.Demos.PickUp2Handed::pivot
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pivot_7;
|
|
// UnityEngine.Transform RootMotion.Demos.PickUp2Handed::holdPoint
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___holdPoint_8;
|
|
// System.Single RootMotion.Demos.PickUp2Handed::pickUpTime
|
|
float ___pickUpTime_9;
|
|
// System.Single RootMotion.Demos.PickUp2Handed::holdWeight
|
|
float ___holdWeight_10;
|
|
// System.Single RootMotion.Demos.PickUp2Handed::holdWeightVel
|
|
float ___holdWeightVel_11;
|
|
// UnityEngine.Vector3 RootMotion.Demos.PickUp2Handed::pickUpPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pickUpPosition_12;
|
|
// UnityEngine.Quaternion RootMotion.Demos.PickUp2Handed::pickUpRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___pickUpRotation_13;
|
|
};
|
|
|
|
// RootMotion.Demos.PlatformRotator
|
|
struct PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.Demos.PlatformRotator::maxAngle
|
|
float ___maxAngle_4;
|
|
// System.Single RootMotion.Demos.PlatformRotator::switchRotationTime
|
|
float ___switchRotationTime_5;
|
|
// System.Single RootMotion.Demos.PlatformRotator::random
|
|
float ___random_6;
|
|
// System.Single RootMotion.Demos.PlatformRotator::rotationSpeed
|
|
float ___rotationSpeed_7;
|
|
// UnityEngine.Vector3 RootMotion.Demos.PlatformRotator::movePosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___movePosition_8;
|
|
// System.Single RootMotion.Demos.PlatformRotator::moveSpeed
|
|
float ___moveSpeed_9;
|
|
// System.Int32 RootMotion.Demos.PlatformRotator::characterLayer
|
|
int32_t ___characterLayer_10;
|
|
// UnityEngine.Quaternion RootMotion.Demos.PlatformRotator::defaultRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___defaultRotation_11;
|
|
// UnityEngine.Quaternion RootMotion.Demos.PlatformRotator::targetRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___targetRotation_12;
|
|
// UnityEngine.Vector3 RootMotion.Demos.PlatformRotator::targetPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___targetPosition_13;
|
|
// UnityEngine.Vector3 RootMotion.Demos.PlatformRotator::velocity
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___velocity_14;
|
|
// UnityEngine.Rigidbody RootMotion.Demos.PlatformRotator::r
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* ___r_15;
|
|
};
|
|
|
|
// RootMotion.FinalIK.RagdollUtility
|
|
struct RagdollUtility_t8C17408AF12ADC7F3A7332141C92F3F2B88D994A : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.IK RootMotion.FinalIK.RagdollUtility::ik
|
|
IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1* ___ik_4;
|
|
// System.Single RootMotion.FinalIK.RagdollUtility::ragdollToAnimationTime
|
|
float ___ragdollToAnimationTime_5;
|
|
// System.Boolean RootMotion.FinalIK.RagdollUtility::applyIkOnRagdoll
|
|
bool ___applyIkOnRagdoll_6;
|
|
// System.Single RootMotion.FinalIK.RagdollUtility::applyVelocity
|
|
float ___applyVelocity_7;
|
|
// System.Single RootMotion.FinalIK.RagdollUtility::applyAngularVelocity
|
|
float ___applyAngularVelocity_8;
|
|
// UnityEngine.Animator RootMotion.FinalIK.RagdollUtility::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_9;
|
|
// RootMotion.FinalIK.RagdollUtility/Rigidbone[] RootMotion.FinalIK.RagdollUtility::rigidbones
|
|
RigidboneU5BU5D_t3C923416EA5EEB7DB15B043CE1B3FCD1CCA37450* ___rigidbones_10;
|
|
// RootMotion.FinalIK.RagdollUtility/Child[] RootMotion.FinalIK.RagdollUtility::children
|
|
ChildU5BU5D_tFB8EFC0760A976FC510E0D62E55CCAF2BB820484* ___children_11;
|
|
// System.Boolean RootMotion.FinalIK.RagdollUtility::enableRagdollFlag
|
|
bool ___enableRagdollFlag_12;
|
|
// UnityEngine.AnimatorUpdateMode RootMotion.FinalIK.RagdollUtility::animatorUpdateMode
|
|
int32_t ___animatorUpdateMode_13;
|
|
// RootMotion.FinalIK.IK[] RootMotion.FinalIK.RagdollUtility::allIKComponents
|
|
IKU5BU5D_t52C8B194DE4035080CBCB79524344B69E763E1EE* ___allIKComponents_14;
|
|
// System.Boolean[] RootMotion.FinalIK.RagdollUtility::fixTransforms
|
|
BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* ___fixTransforms_15;
|
|
// System.Single RootMotion.FinalIK.RagdollUtility::ragdollWeight
|
|
float ___ragdollWeight_16;
|
|
// System.Single RootMotion.FinalIK.RagdollUtility::ragdollWeightV
|
|
float ___ragdollWeightV_17;
|
|
// System.Boolean RootMotion.FinalIK.RagdollUtility::fixedFrame
|
|
bool ___fixedFrame_18;
|
|
// System.Boolean[] RootMotion.FinalIK.RagdollUtility::disabledIKComponents
|
|
BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* ___disabledIKComponents_19;
|
|
};
|
|
|
|
// RootMotion.Demos.RagdollUtilityDemo
|
|
struct RagdollUtilityDemo_t817A76B0E6C564ECCAD44A7802E65E773430A56D : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.RagdollUtility RootMotion.Demos.RagdollUtilityDemo::ragdollUtility
|
|
RagdollUtility_t8C17408AF12ADC7F3A7332141C92F3F2B88D994A* ___ragdollUtility_4;
|
|
// UnityEngine.Transform RootMotion.Demos.RagdollUtilityDemo::root
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___root_5;
|
|
// UnityEngine.Rigidbody RootMotion.Demos.RagdollUtilityDemo::pelvis
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* ___pelvis_6;
|
|
};
|
|
|
|
// RootMotion.Demos.RecoilTest
|
|
struct RecoilTest_t839FBDF4069A23F482DCFC45105A2DCE4B6EA10F : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.Demos.RecoilTest::magnitude
|
|
float ___magnitude_4;
|
|
// RootMotion.FinalIK.Recoil RootMotion.Demos.RecoilTest::recoil
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* ___recoil_5;
|
|
};
|
|
|
|
// RootMotion.Demos.ResetInteractionObject
|
|
struct ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.Demos.ResetInteractionObject::resetDelay
|
|
float ___resetDelay_4;
|
|
// UnityEngine.Vector3 RootMotion.Demos.ResetInteractionObject::defaultPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultPosition_5;
|
|
// UnityEngine.Quaternion RootMotion.Demos.ResetInteractionObject::defaultRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___defaultRotation_6;
|
|
// UnityEngine.Transform RootMotion.Demos.ResetInteractionObject::defaultParent
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___defaultParent_7;
|
|
// UnityEngine.Rigidbody RootMotion.Demos.ResetInteractionObject::r
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* ___r_8;
|
|
};
|
|
|
|
// RootMotion.FinalIK.RotationLimit
|
|
struct RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.RotationLimit::axis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___axis_4;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.RotationLimit::defaultLocalRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___defaultLocalRotation_5;
|
|
// System.Boolean RootMotion.FinalIK.RotationLimit::<defaultLocalRotationOverride>k__BackingField
|
|
bool ___U3CdefaultLocalRotationOverrideU3Ek__BackingField_6;
|
|
// System.Boolean RootMotion.FinalIK.RotationLimit::initiated
|
|
bool ___initiated_7;
|
|
// System.Boolean RootMotion.FinalIK.RotationLimit::applicationQuit
|
|
bool ___applicationQuit_8;
|
|
// System.Boolean RootMotion.FinalIK.RotationLimit::defaultLocalRotationSet
|
|
bool ___defaultLocalRotationSet_9;
|
|
};
|
|
|
|
// RootMotion.Demos.SecondHandOnGun
|
|
struct SecondHandOnGun_t286E6948D860E30439D4A38FC44860EBC0CE0AFD : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.AimIK RootMotion.Demos.SecondHandOnGun::aim
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* ___aim_4;
|
|
// RootMotion.FinalIK.LimbIK RootMotion.Demos.SecondHandOnGun::leftArmIK
|
|
LimbIK_tB704FB4BE269E2A84D213D61DE6B1C31696C6E72* ___leftArmIK_5;
|
|
// UnityEngine.Transform RootMotion.Demos.SecondHandOnGun::leftHand
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftHand_6;
|
|
// UnityEngine.Transform RootMotion.Demos.SecondHandOnGun::rightHand
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightHand_7;
|
|
// RootMotion.FinalIK.GrounderFBBIK RootMotion.Demos.SecondHandOnGun::grounder
|
|
GrounderFBBIK_t3C9918D942F45020DC3E12E784C14A00B6AAA8CF* ___grounder_8;
|
|
// UnityEngine.Vector3 RootMotion.Demos.SecondHandOnGun::leftHandPositionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftHandPositionOffset_9;
|
|
// UnityEngine.Vector3 RootMotion.Demos.SecondHandOnGun::leftHandRotationOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftHandRotationOffset_10;
|
|
// UnityEngine.Vector3 RootMotion.Demos.SecondHandOnGun::leftHandPosRelToRight
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftHandPosRelToRight_11;
|
|
// UnityEngine.Quaternion RootMotion.Demos.SecondHandOnGun::leftHandRotRelToRight
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___leftHandRotRelToRight_12;
|
|
};
|
|
|
|
// RootMotion.Demos.SimpleAimingSystem
|
|
struct SimpleAimingSystem_t8DA0E8B184CECA460DFDA891E380644E9C72DFAB : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.AimPoser RootMotion.Demos.SimpleAimingSystem::aimPoser
|
|
AimPoser_t052FE2795021E7CACE993D73C39C4C1F1ACFAB57* ___aimPoser_4;
|
|
// RootMotion.FinalIK.AimIK RootMotion.Demos.SimpleAimingSystem::aim
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* ___aim_5;
|
|
// RootMotion.FinalIK.LookAtIK RootMotion.Demos.SimpleAimingSystem::lookAt
|
|
LookAtIK_tC7A806EF11D715ACD21D26EF301180A331A93F3A* ___lookAt_6;
|
|
// UnityEngine.Animator RootMotion.Demos.SimpleAimingSystem::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_7;
|
|
// System.Single RootMotion.Demos.SimpleAimingSystem::crossfadeTime
|
|
float ___crossfadeTime_8;
|
|
// System.Single RootMotion.Demos.SimpleAimingSystem::minAimDistance
|
|
float ___minAimDistance_9;
|
|
// RootMotion.FinalIK.AimPoser/Pose RootMotion.Demos.SimpleAimingSystem::aimPose
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* ___aimPose_10;
|
|
// RootMotion.FinalIK.AimPoser/Pose RootMotion.Demos.SimpleAimingSystem::lastPose
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* ___lastPose_11;
|
|
};
|
|
|
|
// RootMotion.Demos.SimpleLocomotion
|
|
struct SimpleLocomotion_t5C40DF535664F3EF4CC54452166672EA480285BE : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.CameraController RootMotion.Demos.SimpleLocomotion::cameraController
|
|
CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412* ___cameraController_4;
|
|
// System.Single RootMotion.Demos.SimpleLocomotion::accelerationTime
|
|
float ___accelerationTime_5;
|
|
// System.Single RootMotion.Demos.SimpleLocomotion::turnTime
|
|
float ___turnTime_6;
|
|
// System.Boolean RootMotion.Demos.SimpleLocomotion::walkByDefault
|
|
bool ___walkByDefault_7;
|
|
// RootMotion.Demos.SimpleLocomotion/RotationMode RootMotion.Demos.SimpleLocomotion::rotationMode
|
|
int32_t ___rotationMode_8;
|
|
// System.Single RootMotion.Demos.SimpleLocomotion::moveSpeed
|
|
float ___moveSpeed_9;
|
|
// System.Boolean RootMotion.Demos.SimpleLocomotion::<isGrounded>k__BackingField
|
|
bool ___U3CisGroundedU3Ek__BackingField_10;
|
|
// UnityEngine.Animator RootMotion.Demos.SimpleLocomotion::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_11;
|
|
// System.Single RootMotion.Demos.SimpleLocomotion::speed
|
|
float ___speed_12;
|
|
// System.Single RootMotion.Demos.SimpleLocomotion::angleVel
|
|
float ___angleVel_13;
|
|
// System.Single RootMotion.Demos.SimpleLocomotion::speedVel
|
|
float ___speedVel_14;
|
|
// UnityEngine.Vector3 RootMotion.Demos.SimpleLocomotion::linearTargetDirection
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___linearTargetDirection_15;
|
|
// UnityEngine.CharacterController RootMotion.Demos.SimpleLocomotion::characterController
|
|
CharacterController_t847C1A2719F60547D7D6077B648D6CE2D1EF3A6A* ___characterController_16;
|
|
};
|
|
|
|
// RootMotion.Demos.SoccerDemo
|
|
struct SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Animator RootMotion.Demos.SoccerDemo::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_4;
|
|
// UnityEngine.Vector3 RootMotion.Demos.SoccerDemo::defaultPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___defaultPosition_5;
|
|
// UnityEngine.Quaternion RootMotion.Demos.SoccerDemo::defaultRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___defaultRotation_6;
|
|
};
|
|
|
|
// RootMotion.SolverManager
|
|
struct SolverManager_t622D4F561ECBEF2A4ACBA9452CB50B381C8ECAFD : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Boolean RootMotion.SolverManager::fixTransforms
|
|
bool ___fixTransforms_4;
|
|
// UnityEngine.Animator RootMotion.SolverManager::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_5;
|
|
// UnityEngine.Animation RootMotion.SolverManager::legacy
|
|
Animation_t6593B06C39E3B139808B19F2C719C860F3F61040* ___legacy_6;
|
|
// System.Boolean RootMotion.SolverManager::updateFrame
|
|
bool ___updateFrame_7;
|
|
// System.Boolean RootMotion.SolverManager::componentInitiated
|
|
bool ___componentInitiated_8;
|
|
// System.Boolean RootMotion.SolverManager::skipSolverUpdate
|
|
bool ___skipSolverUpdate_9;
|
|
};
|
|
|
|
// RootMotion.Demos.TerrainOffset
|
|
struct TerrainOffset_t0CACCD4B4EFD56F6DFD242301A038A5B3E283EF4 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.AimIK RootMotion.Demos.TerrainOffset::aimIK
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* ___aimIK_4;
|
|
// UnityEngine.Vector3 RootMotion.Demos.TerrainOffset::raycastOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___raycastOffset_5;
|
|
// UnityEngine.LayerMask RootMotion.Demos.TerrainOffset::raycastLayers
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___raycastLayers_6;
|
|
// System.Single RootMotion.Demos.TerrainOffset::min
|
|
float ___min_7;
|
|
// System.Single RootMotion.Demos.TerrainOffset::max
|
|
float ___max_8;
|
|
// System.Single RootMotion.Demos.TerrainOffset::lerpSpeed
|
|
float ___lerpSpeed_9;
|
|
// UnityEngine.RaycastHit RootMotion.Demos.TerrainOffset::hit
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 ___hit_10;
|
|
// UnityEngine.Vector3 RootMotion.Demos.TerrainOffset::offset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___offset_11;
|
|
};
|
|
|
|
// RootMotion.Demos.TouchWalls
|
|
struct TouchWalls_t5AE19654EB9298BC7C4D58EB5761356F2BA30C43 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.InteractionSystem RootMotion.Demos.TouchWalls::interactionSystem
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___interactionSystem_4;
|
|
// RootMotion.Demos.TouchWalls/EffectorLink[] RootMotion.Demos.TouchWalls::effectorLinks
|
|
EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3* ___effectorLinks_5;
|
|
};
|
|
|
|
// RootMotion.Demos.TransferMotion
|
|
struct TransferMotion_t8806D02A8CAB6EBBD9330B7FF9493A0DF49B6B60 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Transform RootMotion.Demos.TransferMotion::to
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___to_4;
|
|
// System.Single RootMotion.Demos.TransferMotion::transferMotion
|
|
float ___transferMotion_5;
|
|
// UnityEngine.Vector3 RootMotion.Demos.TransferMotion::lastPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastPosition_6;
|
|
};
|
|
|
|
// RootMotion.Demos.Turret
|
|
struct Turret_t6C460B711013A02063AD52E428C27497D45517D7 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Transform RootMotion.Demos.Turret::target
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target_4;
|
|
// RootMotion.Demos.Turret/Part[] RootMotion.Demos.Turret::parts
|
|
PartU5BU5D_t4733C63BF751A72B9C4FEFD10B0E0D58AF024492* ___parts_5;
|
|
};
|
|
|
|
// RootMotion.Demos.TwoHandedProp
|
|
struct TwoHandedProp_t1A1BE0574040B70570E43DC8AD7CFCD7F193DAD2 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Single RootMotion.Demos.TwoHandedProp::weight
|
|
float ___weight_4;
|
|
// UnityEngine.Transform RootMotion.Demos.TwoHandedProp::leftHandTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftHandTarget_5;
|
|
// RootMotion.FinalIK.Poser RootMotion.Demos.TwoHandedProp::leftHandPoser
|
|
Poser_tDF8B767BC6593233BEED1C025429B0FD41B97B50* ___leftHandPoser_6;
|
|
// System.Single RootMotion.Demos.TwoHandedProp::leftHandWeight
|
|
float ___leftHandWeight_7;
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.TwoHandedProp::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_8;
|
|
// UnityEngine.Vector3 RootMotion.Demos.TwoHandedProp::targetPosRelativeToRight
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___targetPosRelativeToRight_9;
|
|
// UnityEngine.Quaternion RootMotion.Demos.TwoHandedProp::targetRotRelativeToRight
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___targetRotRelativeToRight_10;
|
|
};
|
|
|
|
// RootMotion.Demos.UserControlThirdPerson
|
|
struct UserControlThirdPerson_t84D27C4D05AE0B01CDABC9C382DEDD23F3943690 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Boolean RootMotion.Demos.UserControlThirdPerson::walkByDefault
|
|
bool ___walkByDefault_4;
|
|
// System.Boolean RootMotion.Demos.UserControlThirdPerson::canCrouch
|
|
bool ___canCrouch_5;
|
|
// System.Boolean RootMotion.Demos.UserControlThirdPerson::canJump
|
|
bool ___canJump_6;
|
|
// RootMotion.Demos.UserControlThirdPerson/State RootMotion.Demos.UserControlThirdPerson::state
|
|
State_t1C2106417C1C59FC418E1C9F846E928466513D3C ___state_7;
|
|
// UnityEngine.Transform RootMotion.Demos.UserControlThirdPerson::cam
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___cam_8;
|
|
};
|
|
|
|
// RootMotion.Demos.VRController
|
|
struct VRController_tEFE53020BB532DAE5FFB43A229B556D2081446A2 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.Demos.VRController/InputMode RootMotion.Demos.VRController::inputMode
|
|
int32_t ___inputMode_4;
|
|
// RootMotion.FinalIK.VRIK RootMotion.Demos.VRController::ik
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* ___ik_5;
|
|
// UnityEngine.Transform RootMotion.Demos.VRController::centerEyeAnchor
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___centerEyeAnchor_6;
|
|
// System.Single RootMotion.Demos.VRController::walkSpeed
|
|
float ___walkSpeed_7;
|
|
// System.Single RootMotion.Demos.VRController::runSpeed
|
|
float ___runSpeed_8;
|
|
// System.Single RootMotion.Demos.VRController::walkForwardSpeedMlp
|
|
float ___walkForwardSpeedMlp_9;
|
|
// System.Single RootMotion.Demos.VRController::runForwardSpeedMlp
|
|
float ___runForwardSpeedMlp_10;
|
|
// UnityEngine.Vector3 RootMotion.Demos.VRController::smoothInput
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___smoothInput_11;
|
|
// UnityEngine.Vector3 RootMotion.Demos.VRController::smoothInputV
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___smoothInputV_12;
|
|
};
|
|
|
|
// RootMotion.Demos.VRIKCalibrationBasic
|
|
struct VRIKCalibrationBasic_tFB2EE185670DDB7DAFBAD4D909780F221584DA43 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.VRIK RootMotion.Demos.VRIKCalibrationBasic::ik
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* ___ik_4;
|
|
// UnityEngine.Transform RootMotion.Demos.VRIKCalibrationBasic::centerEyeAnchor
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___centerEyeAnchor_5;
|
|
// UnityEngine.Vector3 RootMotion.Demos.VRIKCalibrationBasic::headAnchorPositionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headAnchorPositionOffset_6;
|
|
// UnityEngine.Vector3 RootMotion.Demos.VRIKCalibrationBasic::headAnchorRotationOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headAnchorRotationOffset_7;
|
|
// UnityEngine.Transform RootMotion.Demos.VRIKCalibrationBasic::leftHandAnchor
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftHandAnchor_8;
|
|
// UnityEngine.Transform RootMotion.Demos.VRIKCalibrationBasic::rightHandAnchor
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightHandAnchor_9;
|
|
// UnityEngine.Vector3 RootMotion.Demos.VRIKCalibrationBasic::handAnchorPositionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___handAnchorPositionOffset_10;
|
|
// UnityEngine.Vector3 RootMotion.Demos.VRIKCalibrationBasic::handAnchorRotationOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___handAnchorRotationOffset_11;
|
|
// System.Single RootMotion.Demos.VRIKCalibrationBasic::scaleMlp
|
|
float ___scaleMlp_12;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData RootMotion.Demos.VRIKCalibrationBasic::data
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* ___data_13;
|
|
};
|
|
|
|
// RootMotion.Demos.VRIKCalibrationController
|
|
struct VRIKCalibrationController_t3EC7F7D2C774EB170E9F20C23D73524FEFF44F2D : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RootMotion.FinalIK.VRIK RootMotion.Demos.VRIKCalibrationController::ik
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* ___ik_4;
|
|
// RootMotion.FinalIK.VRIKCalibrator/Settings RootMotion.Demos.VRIKCalibrationController::settings
|
|
Settings_t8E009A6EE69717B08B142E1F3BE3DB8879C5515C* ___settings_5;
|
|
// UnityEngine.Transform RootMotion.Demos.VRIKCalibrationController::headTracker
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___headTracker_6;
|
|
// UnityEngine.Transform RootMotion.Demos.VRIKCalibrationController::bodyTracker
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___bodyTracker_7;
|
|
// UnityEngine.Transform RootMotion.Demos.VRIKCalibrationController::leftHandTracker
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftHandTracker_8;
|
|
// UnityEngine.Transform RootMotion.Demos.VRIKCalibrationController::rightHandTracker
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightHandTracker_9;
|
|
// UnityEngine.Transform RootMotion.Demos.VRIKCalibrationController::leftFootTracker
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftFootTracker_10;
|
|
// UnityEngine.Transform RootMotion.Demos.VRIKCalibrationController::rightFootTracker
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightFootTracker_11;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData RootMotion.Demos.VRIKCalibrationController::data
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* ___data_12;
|
|
};
|
|
|
|
// RootMotion.FinalIK.VRIKLODController
|
|
struct VRIKLODController_tDB5C075D26CF4CD41C5343F34E6DCD72440395FC : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Renderer RootMotion.FinalIK.VRIKLODController::LODRenderer
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* ___LODRenderer_4;
|
|
// System.Single RootMotion.FinalIK.VRIKLODController::LODDistance
|
|
float ___LODDistance_5;
|
|
// System.Boolean RootMotion.FinalIK.VRIKLODController::allowCulled
|
|
bool ___allowCulled_6;
|
|
// RootMotion.FinalIK.VRIK RootMotion.FinalIK.VRIKLODController::ik
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* ___ik_7;
|
|
};
|
|
|
|
// RootMotion.FinalIK.VRIKRootController
|
|
struct VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKRootController::<pelvisTargetRight>k__BackingField
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CpelvisTargetRightU3Ek__BackingField_4;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIKRootController::pelvisTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___pelvisTarget_5;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIKRootController::leftFootTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___leftFootTarget_6;
|
|
// UnityEngine.Transform RootMotion.FinalIK.VRIKRootController::rightFootTarget
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___rightFootTarget_7;
|
|
// RootMotion.FinalIK.VRIK RootMotion.FinalIK.VRIKRootController::ik
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* ___ik_8;
|
|
};
|
|
|
|
// RootMotion.Demos.AnimationWarping
|
|
struct AnimationWarping_t78DF249134B5B398D0587EEACBBC21312B42FF45 : public OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8
|
|
{
|
|
// UnityEngine.Animator RootMotion.Demos.AnimationWarping::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_7;
|
|
// RootMotion.Demos.AnimationWarping/EffectorMode RootMotion.Demos.AnimationWarping::effectorMode
|
|
int32_t ___effectorMode_8;
|
|
// RootMotion.Demos.AnimationWarping/Warp[] RootMotion.Demos.AnimationWarping::warps
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* ___warps_9;
|
|
// RootMotion.Demos.AnimationWarping/EffectorMode RootMotion.Demos.AnimationWarping::lastMode
|
|
int32_t ___lastMode_10;
|
|
};
|
|
|
|
// RootMotion.Demos.AnimatorController3rdPersonIK
|
|
struct AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A : public AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1
|
|
{
|
|
// System.Single RootMotion.Demos.AnimatorController3rdPersonIK::headLookWeight
|
|
float ___headLookWeight_13;
|
|
// UnityEngine.Vector3 RootMotion.Demos.AnimatorController3rdPersonIK::gunHoldOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___gunHoldOffset_14;
|
|
// UnityEngine.Vector3 RootMotion.Demos.AnimatorController3rdPersonIK::leftHandOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftHandOffset_15;
|
|
// RootMotion.FinalIK.Recoil RootMotion.Demos.AnimatorController3rdPersonIK::recoil
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* ___recoil_16;
|
|
// RootMotion.FinalIK.AimIK RootMotion.Demos.AnimatorController3rdPersonIK::aim
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* ___aim_17;
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.AnimatorController3rdPersonIK::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_18;
|
|
// UnityEngine.Vector3 RootMotion.Demos.AnimatorController3rdPersonIK::headLookAxis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___headLookAxis_19;
|
|
// UnityEngine.Vector3 RootMotion.Demos.AnimatorController3rdPersonIK::leftHandPosRelToRightHand
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftHandPosRelToRightHand_20;
|
|
// UnityEngine.Quaternion RootMotion.Demos.AnimatorController3rdPersonIK::leftHandRotRelToRightHand
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___leftHandRotRelToRightHand_21;
|
|
// UnityEngine.Vector3 RootMotion.Demos.AnimatorController3rdPersonIK::aimTarget
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___aimTarget_22;
|
|
// UnityEngine.Quaternion RootMotion.Demos.AnimatorController3rdPersonIK::rightHandRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rightHandRotation_23;
|
|
};
|
|
|
|
// RootMotion.FinalIK.BipedIK
|
|
struct BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430 : public SolverManager_t622D4F561ECBEF2A4ACBA9452CB50B381C8ECAFD
|
|
{
|
|
// RootMotion.BipedReferences RootMotion.FinalIK.BipedIK::references
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* ___references_10;
|
|
// RootMotion.FinalIK.BipedIKSolvers RootMotion.FinalIK.BipedIK::solvers
|
|
BipedIKSolvers_tDD4F4E5D7B21508674A95E29D74B2EB4E9641907* ___solvers_11;
|
|
};
|
|
|
|
// RootMotion.Demos.CharacterAnimationThirdPerson
|
|
struct CharacterAnimationThirdPerson_t9965E1812210AC6B234D6A8BDB9986834DDA3F41 : public CharacterAnimationBase_tF16F89D851897751BC15325508623E7909E14842
|
|
{
|
|
// RootMotion.Demos.CharacterThirdPerson RootMotion.Demos.CharacterAnimationThirdPerson::characterController
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* ___characterController_11;
|
|
// System.Single RootMotion.Demos.CharacterAnimationThirdPerson::turnSensitivity
|
|
float ___turnSensitivity_12;
|
|
// System.Single RootMotion.Demos.CharacterAnimationThirdPerson::turnSpeed
|
|
float ___turnSpeed_13;
|
|
// System.Single RootMotion.Demos.CharacterAnimationThirdPerson::runCycleLegOffset
|
|
float ___runCycleLegOffset_14;
|
|
// System.Single RootMotion.Demos.CharacterAnimationThirdPerson::animSpeedMultiplier
|
|
float ___animSpeedMultiplier_15;
|
|
// UnityEngine.Animator RootMotion.Demos.CharacterAnimationThirdPerson::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_16;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterAnimationThirdPerson::lastForward
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastForward_17;
|
|
// System.Single RootMotion.Demos.CharacterAnimationThirdPerson::deltaAngle
|
|
float ___deltaAngle_20;
|
|
// System.Single RootMotion.Demos.CharacterAnimationThirdPerson::jumpLeg
|
|
float ___jumpLeg_21;
|
|
// System.Boolean RootMotion.Demos.CharacterAnimationThirdPerson::lastJump
|
|
bool ___lastJump_22;
|
|
};
|
|
|
|
// RootMotion.Demos.CharacterThirdPerson
|
|
struct CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9 : public CharacterBase_t1CFFD41AEAD8C28D01AD4FFC61BCDAA2C5AB4053
|
|
{
|
|
// RootMotion.Demos.CharacterAnimationBase RootMotion.Demos.CharacterThirdPerson::characterAnimation
|
|
CharacterAnimationBase_tF16F89D851897751BC15325508623E7909E14842* ___characterAnimation_18;
|
|
// RootMotion.Demos.UserControlThirdPerson RootMotion.Demos.CharacterThirdPerson::userControl
|
|
UserControlThirdPerson_t84D27C4D05AE0B01CDABC9C382DEDD23F3943690* ___userControl_19;
|
|
// RootMotion.CameraController RootMotion.Demos.CharacterThirdPerson::cam
|
|
CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412* ___cam_20;
|
|
// RootMotion.Demos.CharacterThirdPerson/MoveMode RootMotion.Demos.CharacterThirdPerson::moveMode
|
|
int32_t ___moveMode_21;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson::smoothPhysics
|
|
bool ___smoothPhysics_22;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::smoothAccelerationTime
|
|
float ___smoothAccelerationTime_23;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::linearAccelerationSpeed
|
|
float ___linearAccelerationSpeed_24;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::platformFriction
|
|
float ___platformFriction_25;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::groundStickyEffect
|
|
float ___groundStickyEffect_26;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::maxVerticalVelocityOnGround
|
|
float ___maxVerticalVelocityOnGround_27;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::velocityToGroundTangentWeight
|
|
float ___velocityToGroundTangentWeight_28;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson::lookInCameraDirection
|
|
bool ___lookInCameraDirection_29;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::turnSpeed
|
|
float ___turnSpeed_30;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::stationaryTurnSpeedMlp
|
|
float ___stationaryTurnSpeedMlp_31;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson::smoothJump
|
|
bool ___smoothJump_32;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::airSpeed
|
|
float ___airSpeed_33;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::airControl
|
|
float ___airControl_34;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::jumpPower
|
|
float ___jumpPower_35;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::jumpRepeatDelayTime
|
|
float ___jumpRepeatDelayTime_36;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson::doubleJumpEnabled
|
|
bool ___doubleJumpEnabled_37;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::doubleJumpPowerMlp
|
|
float ___doubleJumpPowerMlp_38;
|
|
// UnityEngine.LayerMask RootMotion.Demos.CharacterThirdPerson::wallRunLayers
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___wallRunLayers_39;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::wallRunMaxLength
|
|
float ___wallRunMaxLength_40;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::wallRunMinMoveMag
|
|
float ___wallRunMinMoveMag_41;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::wallRunMinVelocityY
|
|
float ___wallRunMinVelocityY_42;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::wallRunRotationSpeed
|
|
float ___wallRunRotationSpeed_43;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::wallRunMaxRotationAngle
|
|
float ___wallRunMaxRotationAngle_44;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::wallRunWeightSpeed
|
|
float ___wallRunWeightSpeed_45;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::crouchCapsuleScaleMlp
|
|
float ___crouchCapsuleScaleMlp_46;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson::<fullRootMotion>k__BackingField
|
|
bool ___U3CfullRootMotionU3Ek__BackingField_47;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson::<onGround>k__BackingField
|
|
bool ___U3ConGroundU3Ek__BackingField_48;
|
|
// RootMotion.Demos.CharacterThirdPerson/AnimState RootMotion.Demos.CharacterThirdPerson::animState
|
|
AnimState_t217CB34525B21DC85A816E042E22EA0CD4D6F91D ___animState_49;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterThirdPerson::moveDirection
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___moveDirection_50;
|
|
// UnityEngine.Animator RootMotion.Demos.CharacterThirdPerson::animator
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___animator_51;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterThirdPerson::normal
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___normal_52;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterThirdPerson::platformVelocity
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___platformVelocity_53;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterThirdPerson::platformAngularVelocity
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___platformAngularVelocity_54;
|
|
// UnityEngine.RaycastHit RootMotion.Demos.CharacterThirdPerson::hit
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 ___hit_55;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::jumpLeg
|
|
float ___jumpLeg_56;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::jumpEndTime
|
|
float ___jumpEndTime_57;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::forwardMlp
|
|
float ___forwardMlp_58;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::groundDistance
|
|
float ___groundDistance_59;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::lastAirTime
|
|
float ___lastAirTime_60;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::stickyForce
|
|
float ___stickyForce_61;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterThirdPerson::wallNormal
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___wallNormal_62;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterThirdPerson::moveDirectionVelocity
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___moveDirectionVelocity_63;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::wallRunWeight
|
|
float ___wallRunWeight_64;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::lastWallRunWeight
|
|
float ___lastWallRunWeight_65;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::fixedDeltaTime
|
|
float ___fixedDeltaTime_66;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterThirdPerson::fixedDeltaPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___fixedDeltaPosition_67;
|
|
// UnityEngine.Quaternion RootMotion.Demos.CharacterThirdPerson::fixedDeltaRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___fixedDeltaRotation_68;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson::fixedFrame
|
|
bool ___fixedFrame_69;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::wallRunEndTime
|
|
float ___wallRunEndTime_70;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterThirdPerson::gravity
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___gravity_71;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterThirdPerson::verticalVelocity
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___verticalVelocity_72;
|
|
// System.Single RootMotion.Demos.CharacterThirdPerson::velocityY
|
|
float ___velocityY_73;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson::doubleJumped
|
|
bool ___doubleJumped_74;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson::jumpReleased
|
|
bool ___jumpReleased_75;
|
|
};
|
|
|
|
// RootMotion.Demos.EffectorOffset
|
|
struct EffectorOffset_t323B1D57C2EACF070264DC3168B318F857A47E69 : public OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8
|
|
{
|
|
// System.Single RootMotion.Demos.EffectorOffset::handsMaintainRelativePositionWeight
|
|
float ___handsMaintainRelativePositionWeight_7;
|
|
// UnityEngine.Vector3 RootMotion.Demos.EffectorOffset::bodyOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bodyOffset_8;
|
|
// UnityEngine.Vector3 RootMotion.Demos.EffectorOffset::leftShoulderOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftShoulderOffset_9;
|
|
// UnityEngine.Vector3 RootMotion.Demos.EffectorOffset::rightShoulderOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightShoulderOffset_10;
|
|
// UnityEngine.Vector3 RootMotion.Demos.EffectorOffset::leftThighOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftThighOffset_11;
|
|
// UnityEngine.Vector3 RootMotion.Demos.EffectorOffset::rightThighOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightThighOffset_12;
|
|
// UnityEngine.Vector3 RootMotion.Demos.EffectorOffset::leftHandOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftHandOffset_13;
|
|
// UnityEngine.Vector3 RootMotion.Demos.EffectorOffset::rightHandOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightHandOffset_14;
|
|
// UnityEngine.Vector3 RootMotion.Demos.EffectorOffset::leftFootOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftFootOffset_15;
|
|
// UnityEngine.Vector3 RootMotion.Demos.EffectorOffset::rightFootOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightFootOffset_16;
|
|
};
|
|
|
|
// RootMotion.FinalIK.GrounderFBBIK
|
|
struct GrounderFBBIK_t3C9918D942F45020DC3E12E784C14A00B6AAA8CF : public Grounder_t41EF6C040D7A6C4FC6E74902750EAD0F90368EAE
|
|
{
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.FinalIK.GrounderFBBIK::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_10;
|
|
// System.Single RootMotion.FinalIK.GrounderFBBIK::spineBend
|
|
float ___spineBend_11;
|
|
// System.Single RootMotion.FinalIK.GrounderFBBIK::spineSpeed
|
|
float ___spineSpeed_12;
|
|
// RootMotion.FinalIK.GrounderFBBIK/SpineEffector[] RootMotion.FinalIK.GrounderFBBIK::spine
|
|
SpineEffectorU5BU5D_t7F1749DC25B7C184B0684DD2732A7E788CA47DC9* ___spine_13;
|
|
// UnityEngine.Transform[] RootMotion.FinalIK.GrounderFBBIK::feet
|
|
TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* ___feet_14;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.GrounderFBBIK::spineOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___spineOffset_15;
|
|
// System.Boolean RootMotion.FinalIK.GrounderFBBIK::firstSolve
|
|
bool ___firstSolve_16;
|
|
};
|
|
|
|
// RootMotion.FinalIK.HitReaction
|
|
struct HitReaction_tDD0B4FEAA374B21E4C529B96DEE282F633CC21E1 : public OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8
|
|
{
|
|
// RootMotion.FinalIK.HitReaction/HitPointEffector[] RootMotion.FinalIK.HitReaction::effectorHitPoints
|
|
HitPointEffectorU5BU5D_t48D4EC3B49825E16CC018F7166654A372CB2152A* ___effectorHitPoints_7;
|
|
// RootMotion.FinalIK.HitReaction/HitPointBone[] RootMotion.FinalIK.HitReaction::boneHitPoints
|
|
HitPointBoneU5BU5D_t105F50599018958020E0007CFF7058F6EBF1517A* ___boneHitPoints_8;
|
|
};
|
|
|
|
// RootMotion.FinalIK.HitReactionVRIK
|
|
struct HitReactionVRIK_t78F94F27FA72855C6F113EFE34D4B0F67590346C : public OffsetModifierVRIK_t0F283D2248C69786D284BE909A8B85C0759FA231
|
|
{
|
|
// UnityEngine.AnimationCurve[] RootMotion.FinalIK.HitReactionVRIK::offsetCurves
|
|
AnimationCurveU5BU5D_t2C4A38D7EFA8095F32316A4D9CE4CBB6840FB7EC* ___offsetCurves_7;
|
|
// RootMotion.FinalIK.HitReactionVRIK/PositionOffset[] RootMotion.FinalIK.HitReactionVRIK::positionOffsets
|
|
PositionOffsetU5BU5D_t06B4D147240DB4A1DC4887B566E948004FE5CEDA* ___positionOffsets_8;
|
|
// RootMotion.FinalIK.HitReactionVRIK/RotationOffset[] RootMotion.FinalIK.HitReactionVRIK::rotationOffsets
|
|
RotationOffsetU5BU5D_tB62485CB92BF2DFF54570CF11C61055581B10227* ___rotationOffsets_9;
|
|
};
|
|
|
|
// RootMotion.FinalIK.IK
|
|
struct IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1 : public SolverManager_t622D4F561ECBEF2A4ACBA9452CB50B381C8ECAFD
|
|
{
|
|
};
|
|
|
|
// RootMotion.Demos.MotionAbsorb
|
|
struct MotionAbsorb_t5DBE549F1D756E0BE73E606693ED0B7C8D1622EC : public OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8
|
|
{
|
|
// RootMotion.Demos.MotionAbsorb/Mode RootMotion.Demos.MotionAbsorb::mode
|
|
int32_t ___mode_7;
|
|
// RootMotion.Demos.MotionAbsorb/Absorber[] RootMotion.Demos.MotionAbsorb::absorbers
|
|
AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E* ___absorbers_8;
|
|
// UnityEngine.AnimationCurve RootMotion.Demos.MotionAbsorb::falloff
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___falloff_9;
|
|
// System.Single RootMotion.Demos.MotionAbsorb::falloffSpeed
|
|
float ___falloffSpeed_10;
|
|
// System.Single RootMotion.Demos.MotionAbsorb::timer
|
|
float ___timer_11;
|
|
// System.Single RootMotion.Demos.MotionAbsorb::w
|
|
float ___w_12;
|
|
// RootMotion.Demos.MotionAbsorb/Mode RootMotion.Demos.MotionAbsorb::initialMode
|
|
int32_t ___initialMode_13;
|
|
};
|
|
|
|
// RootMotion.Demos.OffsetEffector
|
|
struct OffsetEffector_t85C22B70BC2CE1EFCE561609C8D4AD6438315F0E : public OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8
|
|
{
|
|
// UnityEngine.Transform RootMotion.Demos.OffsetEffector::anchor
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___anchor_7;
|
|
// RootMotion.Demos.OffsetEffector/EffectorLink[] RootMotion.Demos.OffsetEffector::effectorLinks
|
|
EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF* ___effectorLinks_8;
|
|
// UnityEngine.Vector3 RootMotion.Demos.OffsetEffector::posRelToAnchor
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___posRelToAnchor_9;
|
|
// UnityEngine.Quaternion RootMotion.Demos.OffsetEffector::rotRelToAnchor
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotRelToAnchor_10;
|
|
};
|
|
|
|
// RootMotion.Demos.PickUpBox
|
|
struct PickUpBox_t1F95B66E0F383CDA69FB5956DD869CE3A17F2BBD : public PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C
|
|
{
|
|
};
|
|
|
|
// RootMotion.Demos.PickUpSphere
|
|
struct PickUpSphere_t1156B1E114160E0BE24296FCAC02DD10D834103A : public PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C
|
|
{
|
|
};
|
|
|
|
// RootMotion.FinalIK.Poser
|
|
struct Poser_tDF8B767BC6593233BEED1C025429B0FD41B97B50 : public SolverManager_t622D4F561ECBEF2A4ACBA9452CB50B381C8ECAFD
|
|
{
|
|
// UnityEngine.Transform RootMotion.FinalIK.Poser::poseRoot
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___poseRoot_10;
|
|
// System.Single RootMotion.FinalIK.Poser::weight
|
|
float ___weight_11;
|
|
// System.Single RootMotion.FinalIK.Poser::localRotationWeight
|
|
float ___localRotationWeight_12;
|
|
// System.Single RootMotion.FinalIK.Poser::localPositionWeight
|
|
float ___localPositionWeight_13;
|
|
// System.Boolean RootMotion.FinalIK.Poser::initiated
|
|
bool ___initiated_14;
|
|
};
|
|
|
|
// RootMotion.FinalIK.Recoil
|
|
struct Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE : public OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8
|
|
{
|
|
// RootMotion.FinalIK.AimIK RootMotion.FinalIK.Recoil::aimIK
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* ___aimIK_7;
|
|
// RootMotion.FinalIK.AimIK RootMotion.FinalIK.Recoil::headIK
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* ___headIK_8;
|
|
// System.Boolean RootMotion.FinalIK.Recoil::aimIKSolvedLast
|
|
bool ___aimIKSolvedLast_9;
|
|
// RootMotion.FinalIK.Recoil/Handedness RootMotion.FinalIK.Recoil::handedness
|
|
int32_t ___handedness_10;
|
|
// System.Boolean RootMotion.FinalIK.Recoil::twoHanded
|
|
bool ___twoHanded_11;
|
|
// UnityEngine.AnimationCurve RootMotion.FinalIK.Recoil::recoilWeight
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* ___recoilWeight_12;
|
|
// System.Single RootMotion.FinalIK.Recoil::magnitudeRandom
|
|
float ___magnitudeRandom_13;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.Recoil::rotationRandom
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rotationRandom_14;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.Recoil::handRotationOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___handRotationOffset_15;
|
|
// System.Single RootMotion.FinalIK.Recoil::blendTime
|
|
float ___blendTime_16;
|
|
// RootMotion.FinalIK.Recoil/RecoilOffset[] RootMotion.FinalIK.Recoil::offsets
|
|
RecoilOffsetU5BU5D_t57D95C4F019D09A233E04686E74FC4BFD716E830* ___offsets_17;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.Recoil::rotationOffset
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotationOffset_18;
|
|
// System.Single RootMotion.FinalIK.Recoil::magnitudeMlp
|
|
float ___magnitudeMlp_19;
|
|
// System.Single RootMotion.FinalIK.Recoil::endTime
|
|
float ___endTime_20;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.Recoil::handRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___handRotation_21;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.Recoil::secondaryHandRelativeRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___secondaryHandRelativeRotation_22;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.Recoil::randomRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___randomRotation_23;
|
|
// System.Single RootMotion.FinalIK.Recoil::length
|
|
float ___length_24;
|
|
// System.Boolean RootMotion.FinalIK.Recoil::initiated
|
|
bool ___initiated_25;
|
|
// System.Single RootMotion.FinalIK.Recoil::blendWeight
|
|
float ___blendWeight_26;
|
|
// System.Single RootMotion.FinalIK.Recoil::w
|
|
float ___w_27;
|
|
// UnityEngine.Quaternion RootMotion.FinalIK.Recoil::primaryHandRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___primaryHandRotation_28;
|
|
// System.Boolean RootMotion.FinalIK.Recoil::handRotationsSet
|
|
bool ___handRotationsSet_29;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.Recoil::aimIKAxis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___aimIKAxis_30;
|
|
};
|
|
|
|
// RootMotion.Demos.UserControlInteractions
|
|
struct UserControlInteractions_tEDE54993F6141ED00CB31046FA52C72097A799D5 : public UserControlThirdPerson_t84D27C4D05AE0B01CDABC9C382DEDD23F3943690
|
|
{
|
|
// RootMotion.Demos.CharacterThirdPerson RootMotion.Demos.UserControlInteractions::character
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* ___character_9;
|
|
// RootMotion.FinalIK.InteractionSystem RootMotion.Demos.UserControlInteractions::interactionSystem
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___interactionSystem_10;
|
|
// System.Boolean RootMotion.Demos.UserControlInteractions::disableInputInInteraction
|
|
bool ___disableInputInInteraction_11;
|
|
// System.Single RootMotion.Demos.UserControlInteractions::enableInputAtProgress
|
|
float ___enableInputAtProgress_12;
|
|
};
|
|
|
|
// RootMotion.FinalIK.AimIK
|
|
struct AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264 : public IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1
|
|
{
|
|
// RootMotion.FinalIK.IKSolverAim RootMotion.FinalIK.AimIK::solver
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* ___solver_10;
|
|
};
|
|
|
|
// RootMotion.Demos.CharacterAnimationThirdPersonIK
|
|
struct CharacterAnimationThirdPersonIK_t35FCCC7F985A5CCBA842286427067C0D8757FCAF : public CharacterAnimationThirdPerson_t9965E1812210AC6B234D6A8BDB9986834DDA3F41
|
|
{
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.Demos.CharacterAnimationThirdPersonIK::ik
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* ___ik_23;
|
|
};
|
|
|
|
// RootMotion.FinalIK.FullBodyBipedIK
|
|
struct FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31 : public IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1
|
|
{
|
|
// RootMotion.BipedReferences RootMotion.FinalIK.FullBodyBipedIK::references
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* ___references_10;
|
|
// RootMotion.FinalIK.IKSolverFullBodyBiped RootMotion.FinalIK.FullBodyBipedIK::solver
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* ___solver_11;
|
|
};
|
|
|
|
// RootMotion.FinalIK.LimbIK
|
|
struct LimbIK_tB704FB4BE269E2A84D213D61DE6B1C31696C6E72 : public IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1
|
|
{
|
|
// RootMotion.FinalIK.IKSolverLimb RootMotion.FinalIK.LimbIK::solver
|
|
IKSolverLimb_t4BAB5C0E008B3E8E2B673F54E7AAF1F3012887F1* ___solver_10;
|
|
};
|
|
|
|
// RootMotion.FinalIK.LookAtIK
|
|
struct LookAtIK_tC7A806EF11D715ACD21D26EF301180A331A93F3A : public IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1
|
|
{
|
|
// RootMotion.FinalIK.IKSolverLookAt RootMotion.FinalIK.LookAtIK::solver
|
|
IKSolverLookAt_t2376880DDCB58C33F0ED60FC941E8CD1E1381DEB* ___solver_10;
|
|
};
|
|
|
|
// RootMotion.FinalIK.VRIK
|
|
struct VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3 : public IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1
|
|
{
|
|
// RootMotion.FinalIK.VRIK/References RootMotion.FinalIK.VRIK::references
|
|
References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024* ___references_10;
|
|
// RootMotion.FinalIK.IKSolverVR RootMotion.FinalIK.VRIK::solver
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* ___solver_11;
|
|
};
|
|
|
|
// System.EmptyArray`1<System.Object>
|
|
struct EmptyArray_1_tDF0DD7256B115243AA6BD5558417387A734240EE_StaticFields
|
|
{
|
|
// T[] System.EmptyArray`1::Value
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___Value_0;
|
|
};
|
|
|
|
// System.EmptyArray`1<System.Object>
|
|
|
|
// RootMotion.BipedReferences
|
|
|
|
// RootMotion.BipedReferences
|
|
|
|
// RootMotion.FinalIK.FBIKChain
|
|
|
|
// RootMotion.FinalIK.FBIKChain
|
|
|
|
// UnityEngine.GUILayoutOption
|
|
|
|
// UnityEngine.GUILayoutOption
|
|
|
|
// RootMotion.FinalIK.IKMapping
|
|
|
|
// RootMotion.FinalIK.IKMapping
|
|
|
|
// System.Reflection.MemberInfo
|
|
|
|
// System.Reflection.MemberInfo
|
|
|
|
// System.String
|
|
struct String_t_StaticFields
|
|
{
|
|
// System.String System.String::Empty
|
|
String_t* ___Empty_6;
|
|
};
|
|
|
|
// System.String
|
|
|
|
// System.ValueType
|
|
|
|
// System.ValueType
|
|
|
|
// UnityEngine.YieldInstruction
|
|
|
|
// UnityEngine.YieldInstruction
|
|
|
|
// RootMotion.Demos.FBBIKSettings/Limb
|
|
|
|
// RootMotion.Demos.FBBIKSettings/Limb
|
|
|
|
// RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14
|
|
|
|
// RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14
|
|
|
|
// RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7
|
|
|
|
// RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7
|
|
|
|
// RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4
|
|
|
|
// RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4
|
|
|
|
// RootMotion.Demos.Turret/Part
|
|
|
|
// RootMotion.Demos.Turret/Part
|
|
|
|
// RootMotion.FinalIK.VRIK/References
|
|
|
|
// RootMotion.FinalIK.VRIK/References
|
|
|
|
// UnityEngine.AnimatorStateInfo
|
|
|
|
// UnityEngine.AnimatorStateInfo
|
|
|
|
// System.Boolean
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
|
|
{
|
|
// System.String System.Boolean::TrueString
|
|
String_t* ___TrueString_5;
|
|
// System.String System.Boolean::FalseString
|
|
String_t* ___FalseString_6;
|
|
};
|
|
|
|
// System.Boolean
|
|
|
|
// UnityEngine.Color
|
|
|
|
// UnityEngine.Color
|
|
|
|
// System.Double
|
|
|
|
// System.Double
|
|
|
|
// System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_StaticFields
|
|
{
|
|
// System.Char[] System.Enum::enumSeperatorCharArray
|
|
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___enumSeperatorCharArray_0;
|
|
};
|
|
|
|
// System.Enum
|
|
|
|
// RootMotion.FinalIK.IKMappingBone
|
|
|
|
// RootMotion.FinalIK.IKMappingBone
|
|
|
|
// RootMotion.FinalIK.IKMappingLimb
|
|
|
|
// RootMotion.FinalIK.IKMappingLimb
|
|
|
|
// RootMotion.FinalIK.IKMappingSpine
|
|
|
|
// RootMotion.FinalIK.IKMappingSpine
|
|
|
|
// System.Int32
|
|
|
|
// System.Int32
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t_StaticFields
|
|
{
|
|
// System.IntPtr System.IntPtr::Zero
|
|
intptr_t ___Zero_1;
|
|
};
|
|
|
|
// System.IntPtr
|
|
|
|
// UnityEngine.LayerMask
|
|
|
|
// UnityEngine.LayerMask
|
|
|
|
// UnityEngine.Mathf
|
|
struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields
|
|
{
|
|
// System.Single UnityEngine.Mathf::Epsilon
|
|
float ___Epsilon_0;
|
|
};
|
|
|
|
// UnityEngine.Mathf
|
|
|
|
// UnityEngine.Quaternion
|
|
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields
|
|
{
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::identityQuaternion
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___identityQuaternion_4;
|
|
};
|
|
|
|
// UnityEngine.Quaternion
|
|
|
|
// UnityEngine.Rect
|
|
|
|
// UnityEngine.Rect
|
|
|
|
// System.Single
|
|
|
|
// System.Single
|
|
|
|
// UnityEngine.Vector2
|
|
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields
|
|
{
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::zeroVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___zeroVector_2;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::oneVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___oneVector_3;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::upVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___upVector_4;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::downVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___downVector_5;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::leftVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___leftVector_6;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::rightVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rightVector_7;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___positiveInfinityVector_8;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___negativeInfinityVector_9;
|
|
};
|
|
|
|
// UnityEngine.Vector2
|
|
|
|
// UnityEngine.Vector3
|
|
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector_5;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector_6;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector_7;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector_8;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector_9;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector_10;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector_11;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector_12;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector_13;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector_14;
|
|
};
|
|
|
|
// UnityEngine.Vector3
|
|
|
|
// System.Void
|
|
|
|
// System.Void
|
|
|
|
// UnityEngine.WaitForSeconds
|
|
|
|
// UnityEngine.WaitForSeconds
|
|
|
|
// UnityEngine.ParticleSystem/EmissionModule
|
|
|
|
// UnityEngine.ParticleSystem/EmissionModule
|
|
|
|
// UnityEngine.ParticleSystem/MainModule
|
|
|
|
// UnityEngine.ParticleSystem/MainModule
|
|
|
|
// UnityEngine.ParticleSystem/MinMaxCurve
|
|
|
|
// UnityEngine.ParticleSystem/MinMaxCurve
|
|
|
|
// UnityEngine.AnimationCurve
|
|
|
|
// UnityEngine.AnimationCurve
|
|
|
|
// UnityEngine.Collision
|
|
|
|
// UnityEngine.Collision
|
|
|
|
// UnityEngine.Coroutine
|
|
|
|
// UnityEngine.Coroutine
|
|
|
|
// System.Delegate
|
|
|
|
// System.Delegate
|
|
|
|
// System.Exception
|
|
struct Exception_t_StaticFields
|
|
{
|
|
// System.Object System.Exception::s_EDILock
|
|
RuntimeObject* ___s_EDILock_0;
|
|
};
|
|
|
|
// System.Exception
|
|
|
|
// RootMotion.FinalIK.FullBodyBipedEffector
|
|
|
|
// RootMotion.FinalIK.FullBodyBipedEffector
|
|
|
|
// RootMotion.FinalIK.IKConstraintBend
|
|
|
|
// RootMotion.FinalIK.IKConstraintBend
|
|
|
|
// RootMotion.FinalIK.IKEffector
|
|
|
|
// RootMotion.FinalIK.IKEffector
|
|
|
|
// RootMotion.FinalIK.IKSolver
|
|
|
|
// RootMotion.FinalIK.IKSolver
|
|
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
|
|
{
|
|
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
|
|
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
|
|
};
|
|
|
|
// UnityEngine.Object
|
|
|
|
// UnityEngine.Ray
|
|
|
|
// UnityEngine.Ray
|
|
|
|
// UnityEngine.RaycastHit
|
|
|
|
// UnityEngine.RaycastHit
|
|
|
|
// System.RuntimeTypeHandle
|
|
|
|
// System.RuntimeTypeHandle
|
|
|
|
// RootMotion.FinalIK.AimPoser/Pose
|
|
|
|
// RootMotion.FinalIK.AimPoser/Pose
|
|
|
|
// RootMotion.Demos.CharacterThirdPerson/AnimState
|
|
|
|
// RootMotion.Demos.CharacterThirdPerson/AnimState
|
|
|
|
// RootMotion.Demos.FKOffset/Offset
|
|
|
|
// RootMotion.Demos.FKOffset/Offset
|
|
|
|
// RootMotion.FinalIK.IKSolver/Point
|
|
|
|
// RootMotion.FinalIK.IKSolver/Point
|
|
|
|
// RootMotion.FinalIK.IKSolverVR/BodyPart
|
|
|
|
// RootMotion.FinalIK.IKSolverVR/BodyPart
|
|
|
|
// RootMotion.Demos.KissingRig/Partner
|
|
|
|
// RootMotion.Demos.KissingRig/Partner
|
|
|
|
// RootMotion.Demos.MechSpiderLeg/<Step>d__33
|
|
|
|
// RootMotion.Demos.MechSpiderLeg/<Step>d__33
|
|
|
|
// RootMotion.Demos.MotionAbsorb/Absorber
|
|
|
|
// RootMotion.Demos.MotionAbsorb/Absorber
|
|
|
|
// RootMotion.Demos.OffsetEffector/EffectorLink
|
|
|
|
// RootMotion.Demos.OffsetEffector/EffectorLink
|
|
|
|
// UnityEngine.ParticleSystem/MinMaxGradient
|
|
|
|
// UnityEngine.ParticleSystem/MinMaxGradient
|
|
|
|
// RootMotion.Demos.UserControlThirdPerson/State
|
|
|
|
// RootMotion.Demos.UserControlThirdPerson/State
|
|
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData
|
|
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData
|
|
|
|
// RootMotion.FinalIK.VRIKCalibrator/Settings
|
|
|
|
// RootMotion.FinalIK.VRIKCalibrator/Settings
|
|
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target
|
|
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target
|
|
|
|
// UnityEngine.Component
|
|
|
|
// UnityEngine.Component
|
|
|
|
// UnityEngine.GameObject
|
|
|
|
// UnityEngine.GameObject
|
|
|
|
// RootMotion.FinalIK.IKSolverFullBody
|
|
|
|
// RootMotion.FinalIK.IKSolverFullBody
|
|
|
|
// RootMotion.FinalIK.IKSolverHeuristic
|
|
|
|
// RootMotion.FinalIK.IKSolverHeuristic
|
|
|
|
// RootMotion.FinalIK.IKSolverLookAt
|
|
|
|
// RootMotion.FinalIK.IKSolverLookAt
|
|
|
|
// RootMotion.FinalIK.IKSolverTrigonometric
|
|
|
|
// RootMotion.FinalIK.IKSolverTrigonometric
|
|
|
|
// RootMotion.FinalIK.IKSolverVR
|
|
|
|
// RootMotion.FinalIK.IKSolverVR
|
|
|
|
// System.MulticastDelegate
|
|
|
|
// System.MulticastDelegate
|
|
|
|
// System.SystemException
|
|
|
|
// System.SystemException
|
|
|
|
// System.Type
|
|
struct Type_t_StaticFields
|
|
{
|
|
// System.Reflection.Binder modreq(System.Runtime.CompilerServices.IsVolatile) System.Type::s_defaultBinder
|
|
Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235* ___s_defaultBinder_0;
|
|
// System.Char System.Type::Delimiter
|
|
Il2CppChar ___Delimiter_1;
|
|
// System.Type[] System.Type::EmptyTypes
|
|
TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* ___EmptyTypes_2;
|
|
// System.Object System.Type::Missing
|
|
RuntimeObject* ___Missing_3;
|
|
// System.Reflection.MemberFilter System.Type::FilterAttribute
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterAttribute_4;
|
|
// System.Reflection.MemberFilter System.Type::FilterName
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterName_5;
|
|
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterNameIgnoreCase_6;
|
|
};
|
|
|
|
// System.Type
|
|
|
|
// RootMotion.Demos.AnimationWarping/Warp
|
|
|
|
// RootMotion.Demos.AnimationWarping/Warp
|
|
|
|
// RootMotion.FinalIK.IKSolver/Bone
|
|
|
|
// RootMotion.FinalIK.IKSolver/Bone
|
|
|
|
// RootMotion.FinalIK.IKSolverVR/Leg
|
|
|
|
// RootMotion.FinalIK.IKSolverVR/Leg
|
|
|
|
// RootMotion.FinalIK.IKSolverVR/Spine
|
|
|
|
// RootMotion.FinalIK.IKSolverVR/Spine
|
|
|
|
// RootMotion.Demos.TouchWalls/EffectorLink
|
|
|
|
// RootMotion.Demos.TouchWalls/EffectorLink
|
|
|
|
// UnityEngine.Behaviour
|
|
|
|
// UnityEngine.Behaviour
|
|
|
|
// UnityEngine.Collider
|
|
|
|
// UnityEngine.Collider
|
|
|
|
// RootMotion.FinalIK.IKSolverAim
|
|
|
|
// RootMotion.FinalIK.IKSolverAim
|
|
|
|
// RootMotion.FinalIK.IKSolverFullBodyBiped
|
|
|
|
// RootMotion.FinalIK.IKSolverFullBodyBiped
|
|
|
|
// RootMotion.FinalIK.IKSolverLimb
|
|
|
|
// RootMotion.FinalIK.IKSolverLimb
|
|
|
|
// UnityEngine.Joint
|
|
|
|
// UnityEngine.Joint
|
|
|
|
// System.NotSupportedException
|
|
|
|
// System.NotSupportedException
|
|
|
|
// UnityEngine.ParticleSystem
|
|
|
|
// UnityEngine.ParticleSystem
|
|
|
|
// UnityEngine.Renderer
|
|
|
|
// UnityEngine.Renderer
|
|
|
|
// UnityEngine.Rigidbody
|
|
|
|
// UnityEngine.Rigidbody
|
|
|
|
// UnityEngine.Transform
|
|
|
|
// UnityEngine.Transform
|
|
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate
|
|
|
|
// RootMotion.FinalIK.IKSolver/UpdateDelegate
|
|
|
|
// RootMotion.FinalIK.InteractionSystem/InteractionDelegate
|
|
|
|
// RootMotion.FinalIK.InteractionSystem/InteractionDelegate
|
|
|
|
// UnityEngine.Animator
|
|
|
|
// UnityEngine.Animator
|
|
|
|
// UnityEngine.Camera
|
|
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_StaticFields
|
|
{
|
|
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPreCull
|
|
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPreCull_4;
|
|
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPreRender
|
|
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPreRender_5;
|
|
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPostRender
|
|
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPostRender_6;
|
|
};
|
|
|
|
// UnityEngine.Camera
|
|
|
|
// UnityEngine.FixedJoint
|
|
|
|
// UnityEngine.FixedJoint
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
|
|
// RootMotion.Demos.AimBoxing
|
|
|
|
// RootMotion.Demos.AimBoxing
|
|
|
|
// RootMotion.FinalIK.AimPoser
|
|
|
|
// RootMotion.FinalIK.AimPoser
|
|
|
|
// RootMotion.Demos.AimSwing
|
|
|
|
// RootMotion.Demos.AimSwing
|
|
|
|
// RootMotion.Demos.AnimatorController3rdPerson
|
|
|
|
// RootMotion.Demos.AnimatorController3rdPerson
|
|
|
|
// RootMotion.Demos.BendGoal
|
|
|
|
// RootMotion.Demos.BendGoal
|
|
|
|
// RootMotion.Demos.BipedIKvsAnimatorIK
|
|
|
|
// RootMotion.Demos.BipedIKvsAnimatorIK
|
|
|
|
// RootMotion.CameraController
|
|
|
|
// RootMotion.CameraController
|
|
|
|
// RootMotion.CameraControllerFPS
|
|
|
|
// RootMotion.CameraControllerFPS
|
|
|
|
// RootMotion.Demos.CharacterAnimationBase
|
|
|
|
// RootMotion.Demos.CharacterAnimationBase
|
|
|
|
// RootMotion.Demos.CharacterBase
|
|
|
|
// RootMotion.Demos.CharacterBase
|
|
|
|
// RootMotion.Demos.CharacterController3rdPerson
|
|
|
|
// RootMotion.Demos.CharacterController3rdPerson
|
|
|
|
// RootMotion.Demos.ExplosionDemo
|
|
|
|
// RootMotion.Demos.ExplosionDemo
|
|
|
|
// RootMotion.Demos.FBBIKSettings
|
|
|
|
// RootMotion.Demos.FBBIKSettings
|
|
|
|
// RootMotion.Demos.FBIKBendGoal
|
|
|
|
// RootMotion.Demos.FBIKBendGoal
|
|
|
|
// RootMotion.Demos.FBIKBoxing
|
|
|
|
// RootMotion.Demos.FBIKBoxing
|
|
|
|
// RootMotion.Demos.FBIKHandsOnProp
|
|
|
|
// RootMotion.Demos.FBIKHandsOnProp
|
|
|
|
// RootMotion.Demos.FKOffset
|
|
|
|
// RootMotion.Demos.FKOffset
|
|
|
|
// RootMotion.Demos.FPSAiming
|
|
|
|
// RootMotion.Demos.FPSAiming
|
|
|
|
// RootMotion.Demos.FPSCharacter
|
|
|
|
// RootMotion.Demos.FPSCharacter
|
|
|
|
// RootMotion.FinalIK.Grounder
|
|
|
|
// RootMotion.FinalIK.Grounder
|
|
|
|
// RootMotion.Demos.GrounderDemo
|
|
|
|
// RootMotion.Demos.GrounderDemo
|
|
|
|
// RootMotion.Demos.HitReactionTrigger
|
|
|
|
// RootMotion.Demos.HitReactionTrigger
|
|
|
|
// RootMotion.Demos.HitReactionVRIKTrigger
|
|
|
|
// RootMotion.Demos.HitReactionVRIKTrigger
|
|
|
|
// RootMotion.Demos.HoldingHands
|
|
|
|
// RootMotion.Demos.HoldingHands
|
|
|
|
// RootMotion.Demos.InteractionC2CDemo
|
|
|
|
// RootMotion.Demos.InteractionC2CDemo
|
|
|
|
// RootMotion.Demos.InteractionDemo
|
|
|
|
// RootMotion.Demos.InteractionDemo
|
|
|
|
// RootMotion.FinalIK.InteractionObject
|
|
|
|
// RootMotion.FinalIK.InteractionObject
|
|
|
|
// RootMotion.FinalIK.InteractionSystem
|
|
|
|
// RootMotion.FinalIK.InteractionSystem
|
|
|
|
// RootMotion.Demos.InteractionSystemTestGUI
|
|
|
|
// RootMotion.Demos.InteractionSystemTestGUI
|
|
|
|
// RootMotion.Demos.KissingRig
|
|
|
|
// RootMotion.Demos.KissingRig
|
|
|
|
// RootMotion.Demos.MechSpider
|
|
|
|
// RootMotion.Demos.MechSpider
|
|
|
|
// RootMotion.Demos.MechSpiderController
|
|
|
|
// RootMotion.Demos.MechSpiderController
|
|
|
|
// RootMotion.Demos.MechSpiderLeg
|
|
|
|
// RootMotion.Demos.MechSpiderLeg
|
|
|
|
// RootMotion.Demos.MechSpiderParticles
|
|
|
|
// RootMotion.Demos.MechSpiderParticles
|
|
|
|
// RootMotion.Demos.MotionAbsorbCharacter
|
|
|
|
// RootMotion.Demos.MotionAbsorbCharacter
|
|
|
|
// RootMotion.FinalIK.OffsetModifier
|
|
|
|
// RootMotion.FinalIK.OffsetModifier
|
|
|
|
// RootMotion.FinalIK.OffsetModifierVRIK
|
|
|
|
// RootMotion.FinalIK.OffsetModifierVRIK
|
|
|
|
// RootMotion.Demos.PendulumExample
|
|
|
|
// RootMotion.Demos.PendulumExample
|
|
|
|
// RootMotion.Demos.PickUp2Handed
|
|
|
|
// RootMotion.Demos.PickUp2Handed
|
|
|
|
// RootMotion.Demos.PlatformRotator
|
|
|
|
// RootMotion.Demos.PlatformRotator
|
|
|
|
// RootMotion.FinalIK.RagdollUtility
|
|
|
|
// RootMotion.FinalIK.RagdollUtility
|
|
|
|
// RootMotion.Demos.RagdollUtilityDemo
|
|
|
|
// RootMotion.Demos.RagdollUtilityDemo
|
|
|
|
// RootMotion.Demos.RecoilTest
|
|
|
|
// RootMotion.Demos.RecoilTest
|
|
|
|
// RootMotion.Demos.ResetInteractionObject
|
|
|
|
// RootMotion.Demos.ResetInteractionObject
|
|
|
|
// RootMotion.FinalIK.RotationLimit
|
|
|
|
// RootMotion.FinalIK.RotationLimit
|
|
|
|
// RootMotion.Demos.SecondHandOnGun
|
|
|
|
// RootMotion.Demos.SecondHandOnGun
|
|
|
|
// RootMotion.Demos.SimpleAimingSystem
|
|
|
|
// RootMotion.Demos.SimpleAimingSystem
|
|
|
|
// RootMotion.Demos.SimpleLocomotion
|
|
|
|
// RootMotion.Demos.SimpleLocomotion
|
|
|
|
// RootMotion.Demos.SoccerDemo
|
|
|
|
// RootMotion.Demos.SoccerDemo
|
|
|
|
// RootMotion.SolverManager
|
|
|
|
// RootMotion.SolverManager
|
|
|
|
// RootMotion.Demos.TerrainOffset
|
|
|
|
// RootMotion.Demos.TerrainOffset
|
|
|
|
// RootMotion.Demos.TouchWalls
|
|
|
|
// RootMotion.Demos.TouchWalls
|
|
|
|
// RootMotion.Demos.TransferMotion
|
|
|
|
// RootMotion.Demos.TransferMotion
|
|
|
|
// RootMotion.Demos.Turret
|
|
|
|
// RootMotion.Demos.Turret
|
|
|
|
// RootMotion.Demos.TwoHandedProp
|
|
|
|
// RootMotion.Demos.TwoHandedProp
|
|
|
|
// RootMotion.Demos.UserControlThirdPerson
|
|
|
|
// RootMotion.Demos.UserControlThirdPerson
|
|
|
|
// RootMotion.Demos.VRController
|
|
|
|
// RootMotion.Demos.VRController
|
|
|
|
// RootMotion.Demos.VRIKCalibrationBasic
|
|
|
|
// RootMotion.Demos.VRIKCalibrationBasic
|
|
|
|
// RootMotion.Demos.VRIKCalibrationController
|
|
|
|
// RootMotion.Demos.VRIKCalibrationController
|
|
|
|
// RootMotion.FinalIK.VRIKLODController
|
|
|
|
// RootMotion.FinalIK.VRIKLODController
|
|
|
|
// RootMotion.FinalIK.VRIKRootController
|
|
|
|
// RootMotion.FinalIK.VRIKRootController
|
|
|
|
// RootMotion.Demos.AnimationWarping
|
|
|
|
// RootMotion.Demos.AnimationWarping
|
|
|
|
// RootMotion.Demos.AnimatorController3rdPersonIK
|
|
|
|
// RootMotion.Demos.AnimatorController3rdPersonIK
|
|
|
|
// RootMotion.FinalIK.BipedIK
|
|
|
|
// RootMotion.FinalIK.BipedIK
|
|
|
|
// RootMotion.Demos.CharacterAnimationThirdPerson
|
|
|
|
// RootMotion.Demos.CharacterAnimationThirdPerson
|
|
|
|
// RootMotion.Demos.CharacterThirdPerson
|
|
|
|
// RootMotion.Demos.CharacterThirdPerson
|
|
|
|
// RootMotion.Demos.EffectorOffset
|
|
|
|
// RootMotion.Demos.EffectorOffset
|
|
|
|
// RootMotion.FinalIK.GrounderFBBIK
|
|
|
|
// RootMotion.FinalIK.GrounderFBBIK
|
|
|
|
// RootMotion.FinalIK.HitReaction
|
|
|
|
// RootMotion.FinalIK.HitReaction
|
|
|
|
// RootMotion.FinalIK.HitReactionVRIK
|
|
|
|
// RootMotion.FinalIK.HitReactionVRIK
|
|
|
|
// RootMotion.FinalIK.IK
|
|
|
|
// RootMotion.FinalIK.IK
|
|
|
|
// RootMotion.Demos.MotionAbsorb
|
|
|
|
// RootMotion.Demos.MotionAbsorb
|
|
|
|
// RootMotion.Demos.OffsetEffector
|
|
|
|
// RootMotion.Demos.OffsetEffector
|
|
|
|
// RootMotion.Demos.PickUpBox
|
|
|
|
// RootMotion.Demos.PickUpBox
|
|
|
|
// RootMotion.Demos.PickUpSphere
|
|
|
|
// RootMotion.Demos.PickUpSphere
|
|
|
|
// RootMotion.FinalIK.Poser
|
|
|
|
// RootMotion.FinalIK.Poser
|
|
|
|
// RootMotion.FinalIK.Recoil
|
|
|
|
// RootMotion.FinalIK.Recoil
|
|
|
|
// RootMotion.Demos.UserControlInteractions
|
|
|
|
// RootMotion.Demos.UserControlInteractions
|
|
|
|
// RootMotion.FinalIK.AimIK
|
|
|
|
// RootMotion.FinalIK.AimIK
|
|
|
|
// RootMotion.Demos.CharacterAnimationThirdPersonIK
|
|
|
|
// RootMotion.Demos.CharacterAnimationThirdPersonIK
|
|
|
|
// RootMotion.FinalIK.FullBodyBipedIK
|
|
|
|
// RootMotion.FinalIK.FullBodyBipedIK
|
|
|
|
// RootMotion.FinalIK.LimbIK
|
|
|
|
// RootMotion.FinalIK.LimbIK
|
|
|
|
// RootMotion.FinalIK.LookAtIK
|
|
|
|
// RootMotion.FinalIK.LookAtIK
|
|
|
|
// RootMotion.FinalIK.VRIK
|
|
|
|
// RootMotion.FinalIK.VRIK
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
// RootMotion.Demos.FKOffset/Offset[]
|
|
struct OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02* m_Items[1];
|
|
|
|
inline Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// RootMotion.FinalIK.AimPoser/Pose[]
|
|
struct PoseU5BU5D_t55A98AA94F5DDD5041A5F305CDE897D7D55F8834 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* m_Items[1];
|
|
|
|
inline Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// RootMotion.FinalIK.IKSolver/Bone[]
|
|
struct BoneU5BU5D_t384A868FF22BA2A4344F14B899695540877FB593 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Bone_t08B8D90F9F7409FAD0F5DB325E88341691FF6BAF* m_Items[1];
|
|
|
|
inline Bone_t08B8D90F9F7409FAD0F5DB325E88341691FF6BAF* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Bone_t08B8D90F9F7409FAD0F5DB325E88341691FF6BAF** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Bone_t08B8D90F9F7409FAD0F5DB325E88341691FF6BAF* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Bone_t08B8D90F9F7409FAD0F5DB325E88341691FF6BAF* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Bone_t08B8D90F9F7409FAD0F5DB325E88341691FF6BAF** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Bone_t08B8D90F9F7409FAD0F5DB325E88341691FF6BAF* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// RootMotion.Demos.MechSpiderLeg[]
|
|
struct MechSpiderLegU5BU5D_t4E6805D9391202606A68614995F81B0243A80DD9 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* m_Items[1];
|
|
|
|
inline MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// RootMotion.FinalIK.IKSolver/Point[]
|
|
struct PointU5BU5D_tCD6673DF974ECCCD942E643E05EAD6C28FB4C7BB : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9* m_Items[1];
|
|
|
|
inline Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// RootMotion.Demos.AnimationWarping/Warp[]
|
|
struct WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098 m_Items[1];
|
|
|
|
inline Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___animationState_1), (void*)NULL);
|
|
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___weightCurve_2), (void*)NULL);
|
|
#endif
|
|
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___warpFrom_3), (void*)NULL);
|
|
#endif
|
|
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___warpTo_4), (void*)NULL);
|
|
#endif
|
|
}
|
|
inline Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098 value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___animationState_1), (void*)NULL);
|
|
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___weightCurve_2), (void*)NULL);
|
|
#endif
|
|
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___warpFrom_3), (void*)NULL);
|
|
#endif
|
|
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___warpTo_4), (void*)NULL);
|
|
#endif
|
|
}
|
|
};
|
|
// RootMotion.FinalIK.FBIKChain[]
|
|
struct FBIKChainU5BU5D_tFD8C1E683937E1B76330546A24DBDBFB765FFCD8 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4* m_Items[1];
|
|
|
|
inline FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// UnityEngine.GUILayoutOption[]
|
|
struct GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) GUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14* m_Items[1];
|
|
|
|
inline GUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline GUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, GUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline GUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline GUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, GUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// RootMotion.FinalIK.FullBodyBipedEffector[]
|
|
struct FullBodyBipedEffectorU5BU5D_tD981A1794CC680A87699938F371D208E46245BA4 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) int32_t m_Items[1];
|
|
|
|
inline int32_t GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, int32_t value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// UnityEngine.Transform[]
|
|
struct TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* m_Items[1];
|
|
|
|
inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// RootMotion.Demos.MotionAbsorb/Absorber[]
|
|
struct AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* m_Items[1];
|
|
|
|
inline Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// RootMotion.Demos.OffsetEffector/EffectorLink[]
|
|
struct EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* m_Items[1];
|
|
|
|
inline EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// RootMotion.Demos.TouchWalls/EffectorLink[]
|
|
struct EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* m_Items[1];
|
|
|
|
inline EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// UnityEngine.GameObject[]
|
|
struct GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* m_Items[1];
|
|
|
|
inline GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline GameObject_t76FEDD663AB33C991A9C9A23129337651094216F** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline GameObject_t76FEDD663AB33C991A9C9A23129337651094216F** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// RootMotion.Demos.Turret/Part[]
|
|
struct PartU5BU5D_t4733C63BF751A72B9C4FEFD10B0E0D58AF024492 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6* m_Items[1];
|
|
|
|
inline Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// System.Object[]
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
|
|
|
|
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
|
|
IL2CPP_EXTERN_C void AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshal_pinvoke(const AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354& unmarshaled, AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_pinvoke& marshaled);
|
|
IL2CPP_EXTERN_C void AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshal_pinvoke_back(const AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_pinvoke& marshaled, AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354& unmarshaled);
|
|
IL2CPP_EXTERN_C void AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshal_pinvoke_cleanup(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_pinvoke& marshaled);
|
|
IL2CPP_EXTERN_C void AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshal_com(const AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354& unmarshaled, AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_com& marshaled);
|
|
IL2CPP_EXTERN_C void AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshal_com_back(const AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_com& marshaled, AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354& unmarshaled);
|
|
IL2CPP_EXTERN_C void AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshal_com_cleanup(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_com& marshaled);
|
|
|
|
// T UnityEngine.Component::GetComponent<System.Object>()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
|
|
// T[] System.Array::Empty<System.Object>()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* Array_Empty_TisRuntimeObject_mFB8A63D602BB6974D31E20300D9EB89C6FE7C278_gshared_inline (const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::AddComponent<System.Object>()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::GetComponent<System.Object>()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
|
|
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_forward()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_up()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method) ;
|
|
// System.Void System.Object::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::get_localPosition()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_localPosition_mA9C86B990DF0685EA1061A120218993FDCC60A95 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Transform::get_localRotation()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Transform_get_localRotation_mD53D37611A5DAE93EC6C7BBCAC337408C5CACA77 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::set_localPosition(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localPosition_mDE1C997F7D79C0885210B7732B4BA50EE7D73134 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::set_localRotation(UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Component::GetComponent<RootMotion.FinalIK.VRIK>()
|
|
inline VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* Component_GetComponent_TisVRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3_m07599F820B1195DB985DC4C08F29977C4C0BA64D (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// System.Int32 RootMotion.FinalIK.VRIKLODController::GetLODLevel()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t VRIKLODController_GetLODLevel_m62CA8AA3091FB3464020A13500E5AB85DACD3A98 (VRIKLODController_tDB5C075D26CF4CD41C5343F34E6DCD72440395FC* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Renderer::get_isVisible()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Renderer_get_isVisible_mBCDDEB0EF27442FD1D910CD26754135B677B8251 (Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Transform UnityEngine.Component::get_transform()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::get_position()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Camera UnityEngine.Camera::get_main()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* Camera_get_main_m52C992F18E05355ABB9EEB64A4BF2215E12762DF (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Subtraction(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::get_sqrMagnitude()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.MonoBehaviour::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.IKSolver/UpdateDelegate::.ctor(System.Object,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971 (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
|
|
// System.Delegate System.Delegate::Combine(System.Delegate,System.Delegate)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00 (Delegate_t* ___0_a, Delegate_t* ___1_b, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.VRIKRootController::Calibrate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKRootController_Calibrate_m20BD11BE30F7BF2DEFA4DDAA9F68D91B3BA9998C (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogError(System.Object,UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_m94F967AB31244EACE68C3BE1DD85B69ED3334C0E (RuntimeObject* ___0_message, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_context, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Transform::get_rotation()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Inverse(UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::get_right()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_right_mC6DC057C23313802E2186A9E0DB760D795A758A4 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Quaternion::op_Multiply(UnityEngine.Quaternion,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_point, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.VRIKRootController::set_pelvisTargetRight(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void VRIKRootController_set_pelvisTargetRight_m02010BDF35160169420E9FFCBB2BDAB026FEB978_inline (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Behaviour::get_enabled()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Behaviour_get_enabled_mAAC9F15E9EBF552217A5AE2681589CC0BFA300C1 (Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::set_position(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKRootController::get_pelvisTargetRight()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VRIKRootController_get_pelvisTargetRight_mA9476180A56693DD58FDAF9EB92034EFD8F36D1F_inline (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::get_up()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::Cross(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::LookRotation(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_forward, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::set_rotation(UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::Lerp(UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Slerp(UnityEngine.Quaternion,UnityEngine.Quaternion,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// System.Delegate System.Delegate::Remove(System.Delegate,System.Delegate)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3 (Delegate_t* ___0_source, Delegate_t* ___1_value, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Component::GetComponent<UnityEngine.Animator>()
|
|
inline Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// System.Void RootMotion.Demos.FKOffset/Offset::Apply(UnityEngine.Animator)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Offset_Apply_m6DD9179DF90F179081F1742684E159817D659D35 (Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02* __this, Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___0_animator, const RuntimeMethod* method) ;
|
|
// System.String System.Enum::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Enum_ToString_m946B0B83C4470457D0FF555D862022C72BB55741 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Transform UnityEngine.Animator::GetBoneTransform(UnityEngine.HumanBodyBones)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Animator_GetBoneTransform_m02042CB47C468D576C6EE436F4AA71D8C47AAF56 (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, int32_t ___0_humanBoneId, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Euler(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::op_Multiply(UnityEngine.Quaternion,UnityEngine.Quaternion)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_lhs, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::LookAt(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_LookAt_mFEF7353E4CAEB85D5F7CEEF9276C3B8D6E314C6C (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_worldPosition, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::InverseTransformVector(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_InverseTransformVector_mBBA687CE32C0394FC9AB4F273D4E4A11F53FB044 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Behaviour::set_enabled(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A (Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::InverseTransformPoint(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.IKSolver::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25 (IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::TransformPoint(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.SimpleAimingSystem::Pose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleAimingSystem_Pose_mEE666B7033205FA6A53D14F6836586A8A36B9E7B (SimpleAimingSystem_t8DA0E8B184CECA460DFDA891E380644E9C72DFAB* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.SimpleAimingSystem::LimitAimTarget()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleAimingSystem_LimitAimTarget_mAA1933D07101D4800599A60403ABD1A9C348BE07 (SimpleAimingSystem_t8DA0E8B184CECA460DFDA891E380644E9C72DFAB* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::InverseTransformDirection(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_InverseTransformDirection_m69C077B881A98B08C7F231EFC49429C906FBC575 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.AimPoser/Pose RootMotion.FinalIK.AimPoser::GetPose(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* AimPoser_GetPose_mFEC5A176D69DFD6409FBD474811A5E0A5402403F (AimPoser_t052FE2795021E7CACE993D73C39C4C1F1ACFAB57* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_localDirection, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.AimPoser::SetPoseActive(RootMotion.FinalIK.AimPoser/Pose)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AimPoser_SetPoseActive_m1EDFF836F96B131099D568028AB15769931FEAB3 (AimPoser_t052FE2795021E7CACE993D73C39C4C1F1ACFAB57* __this, Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* ___0_pose, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.SimpleAimingSystem::DirectCrossFade(System.String,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleAimingSystem_DirectCrossFade_m24DC0E7E9B75FE790636642E3A8C8082FBF807FA (SimpleAimingSystem_t8DA0E8B184CECA460DFDA891E380644E9C72DFAB* __this, String_t* ___0_state, float ___1_target, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_normalized()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::get_magnitude()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Max(System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Animator::GetFloat(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Animator_GetFloat_m10B455A15EB343175518CCBEE2818C2497CC678A (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, String_t* ___0_name, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Time::get_deltaTime()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865 (const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::MoveTowards(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_MoveTowards_m69751B5EC50D8E7127D4BB2C8D908E38808AF45D_inline (float ___0_current, float ___1_target, float ___2_maxDelta, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Animator::SetFloat(System.String,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_SetFloat_m10C78733FAFC7AFEDBDACC48B7C66D3A35A0A7FE (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, String_t* ___0_name, float ___1_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.Demos.TerrainOffset::GetGroundHeightOffset(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 TerrainOffset_GetGroundHeightOffset_mF2FF765EEA96B51445A50EC22131745C2272536D (TerrainOffset_t0CACCD4B4EFD56F6DFD242301A038A5B3E283EF4* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_worldPosition, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_down()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_down_mF62B2AE7C5AC31EAC9CB62797C7190C90A7A8599_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Color UnityEngine.Color::get_green()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_green_mEB001F2CD8C68C6BBAEF9101990B779D3AA2A6EF_inline (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::DrawRay(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Color)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_DrawRay_mB172868181856F153732BB56C0BE1C58EE598F53 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_start, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_dir, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___2_color, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Physics::Raycast(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.RaycastHit&,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_Raycast_m011EA7022C33B2C499EF744E5AF3E01EEB8FBD33 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_origin, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_direction, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___2_hitInfo, float ___3_maxDistance, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.RaycastHit::get_point()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39 (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Clamp(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(System.Single,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline (float ___0_d, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_a, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.BipedIK::SetLookAtPosition(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BipedIK_SetLookAtPosition_mE51D81F2BF9CB6CBEE4E39C949EE7D770367103B (BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lookAtPosition, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.BipedIK::SetLookAtWeight(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BipedIK_SetLookAtWeight_m01722C3297AFA8B81C44582E72678FEB22B0E2A3 (BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* __this, float ___0_weight, float ___1_bodyWeight, float ___2_headWeight, float ___3_eyesWeight, float ___4_clampWeight, float ___5_clampWeightHead, float ___6_clampWeightEyes, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Animator::SetLookAtPosition(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_SetLookAtPosition_m39A2C326BDE156360972C5EEDA1F9ACEBE34A8A6 (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lookAtPosition, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Animator::SetLookAtWeight(System.Single,System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_SetLookAtWeight_m536B18C7EC83703CF0320924D9FE13CBD93CC752 (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, float ___0_weight, float ___1_bodyWeight, float ___2_headWeight, float ___3_eyesWeight, float ___4_clampWeight, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.BipedIK::SetIKPosition(UnityEngine.AvatarIKGoal,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BipedIK_SetIKPosition_mAC86D05921CF4A3AFC12CA9768875D4041539EF1 (BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* __this, int32_t ___0_goal, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_IKPosition, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.BipedIK::SetIKRotation(UnityEngine.AvatarIKGoal,UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BipedIK_SetIKRotation_mEE3D8C4089667B3EC8B6B7FC9F186F16A53E7963 (BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* __this, int32_t ___0_goal, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_IKRotation, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.BipedIK::SetIKPositionWeight(UnityEngine.AvatarIKGoal,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BipedIK_SetIKPositionWeight_m0E8A23E38A5D9D719F9D47F7257DFE5592DEB81E (BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* __this, int32_t ___0_goal, float ___1_weight, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.BipedIK::SetIKRotationWeight(UnityEngine.AvatarIKGoal,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BipedIK_SetIKRotationWeight_m6DF0A1BF99FF9FF900DD8B41D7ACEB0DA748F68F (BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* __this, int32_t ___0_goal, float ___1_weight, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Animator::SetIKPosition(UnityEngine.AvatarIKGoal,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_SetIKPosition_mB7BE88C93990186D94AF75439E2F216D6ECBCDEE (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, int32_t ___0_goal, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_goalPosition, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Animator::SetIKRotation(UnityEngine.AvatarIKGoal,UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_SetIKRotation_m328A64AD20922F0F2A1D0CD5DBB9F01FE7675DF6 (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, int32_t ___0_goal, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_goalRotation, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Animator::SetIKPositionWeight(UnityEngine.AvatarIKGoal,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_SetIKPositionWeight_m8C707F505FFE2A6F36BE81ED12786B941D3B990C (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, int32_t ___0_goal, float ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Animator::SetIKRotationWeight(UnityEngine.AvatarIKGoal,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_SetIKRotationWeight_m5F0F5BD5A9A85912EA1CDF32917FE483E849978D (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, int32_t ___0_goal, float ___1_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Division(UnityEngine.Vector3,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.MechSpider::set_velocity(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MechSpider_set_velocity_m4588D27FA66CDFA2599588661E31E58C3841D7F0_inline (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpider::GetLegsPlaneNormal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpider_GetLegsPlaneNormal_m3F2106ECC878335C0F71B4F8FAE3126360DD8788 (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::FromToRotation(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_fromDirection, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_toDirection, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpider::GetLegCentroid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpider_GetLegCentroid_m61BC2C1D121501EC4CBD3DD46751381ED9DB6762 (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::Project(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Project_m85DF3CB297EC5E1A17BD6266FF65E86AB7372C9B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_onNormal, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_UnaryNegation(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.LayerMask::op_Implicit(UnityEngine.LayerMask)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D (LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___0_mask, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Physics::Raycast(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.RaycastHit&,System.Single,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_Raycast_m56120FFEF0D4F0A44CCA505B5C946E6FB8742F12 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_origin, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_direction, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___2_hitInfo, float ___3_maxDistance, int32_t ___4_layerMask, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.RaycastHit::get_distance()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float RaycastHit_get_distance_m035194B0E9BB6229259CFC43B095A9C8E5011C78 (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RaycastHit::set_distance(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RaycastHit_set_distance_mD5C9C6A5F7EDFFAC302DA4981F3483AA9981A9DC (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, float ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderLeg::get_position()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Lerp(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline (float ___0_a, float ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector3::OrthoNormalize(UnityEngine.Vector3&,UnityEngine.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_OrthoNormalize_m4450C7BEB70DBFA60E3AAC08C98CDAE831A54158 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___0_normal, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___1_tangent, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::get_identity()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Lerp(UnityEngine.Quaternion,UnityEngine.Quaternion,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Input::GetAxis(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Input_GetAxis_m10372E6C5FF591668D2DC5F58C58D213CC598A62 (String_t* ___0_axisName, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::get_forward()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::LookRotation(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_forward, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_upwards, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderController::get_inputVector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpiderController_get_inputVector_m286176C5F883DB313B3750E8D66B412AB65EBC6D (MechSpiderController_t5804A9789F4C8493AC593B390D111B5F2572A0DB* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::Translate(UnityEngine.Vector3,UnityEngine.Space)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_Translate_m4A9E3D8836586E7562F6A18EBF5F5B6089D8B649 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_translation, int32_t ___1_relativeTo, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::RotateTowards(UnityEngine.Quaternion,UnityEngine.Quaternion,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_RotateTowards_m50EF9D609C80CD423CDA856EA3481DE2004633A3_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_from, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_to, float ___2_maxDegreesDelta, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.IKSolver::SetIKPosition(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void IKSolver_SetIKPosition_mAD50B3B8887E71DA6A96F329A0A92CB65F7D2A95_inline (IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Component::GetComponent<RootMotion.FinalIK.IK>()
|
|
inline IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1* Component_GetComponent_TisIK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1_mEC09F86A79F43E43C9714AE242406F68A5844E23 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// System.Boolean UnityEngine.Vector3::op_Equality(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.RaycastHit::get_normal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 RaycastHit_get_normal_mD8741B70D2039C5CAFC4368D4CE59D89562040B5 (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::Slerp(UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Slerp_m6CA14E5B6F6217802BAA0ADD2C9D086C741BA09C (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.MechSpiderLeg::set_position(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderLeg_set_position_m4D20A1F34BAD64CF2C1799E0B91A5611CFFE5ADF (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RaycastHit::set_point(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RaycastHit_set_point_m3B63BEB25A82BFCF9FBB300022D0362BC2CF9E11 (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Collections.IEnumerator RootMotion.Demos.MechSpiderLeg::Step(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* MechSpiderLeg_Step_mDB7F2D550BFC2DD6116A1E039590D6F0D30E39D6 (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_stepStartPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_targetPosition, const RuntimeMethod* method) ;
|
|
// UnityEngine.Coroutine UnityEngine.MonoBehaviour::StartCoroutine(System.Collections.IEnumerator)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B* MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812 (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, RuntimeObject* ___0_routine, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpider::get_velocity()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpider_get_velocity_m3437A8F7DB3B389FCCD0D7740D31916AC5D2CF15_inline (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::AngleAxis(System.Single,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80 (float ___0_angle, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_axis, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.MechSpiderLeg::UpdatePosition(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderLeg_UpdatePosition_mAF56F8DFCDBCA42853F950FEE27B70B780522047 (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, float ___0_distance, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.Demos.MechSpiderLeg::get_isStepping()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MechSpiderLeg_get_isStepping_m6B19795D4349CD74790A2365D85AFBFC671427CD (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Time::get_time()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_time_m3A271BB1B20041144AC5B7863B71AB1F0150374B (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderLeg::GetStepTarget(System.Boolean&,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpiderLeg_GetStepTarget_m6098AAC0FAFF0C937A572BF274EB7937724D9B26 (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, bool* ___0_stepFound, float ___1_focus, float ___2_distance, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::Distance(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Random::Range(System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Random_Range_m5236C99A7D8AE6AC9190592DC66016652A2D2494 (float ___0_minInclusive, float ___1_maxInclusive, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.MonoBehaviour::StopAllCoroutines()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour_StopAllCoroutines_m872033451D42013A99867D09337490017E9ED318 (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.MechSpiderLeg/<Step>d__33::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStepU3Ed__33__ctor_mD50DD054928A9B940940064EF08C08D84FCD00AB (U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.AnimationCurve::Evaluate(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* __this, float ___0_time, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.ParticleSystem::Emit(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ParticleSystem_Emit_m3E9E6359087607E84E0D4D35844D80D9452AD72D (ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* __this, int32_t ___0_count, const RuntimeMethod* method) ;
|
|
// System.Void System.NotSupportedException::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* __this, const RuntimeMethod* method) ;
|
|
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t* Type_GetTypeFromHandle_m6062B81682F79A4D6DF2640692EE6D9987858C57 (RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ___0_handle, const RuntimeMethod* method) ;
|
|
// UnityEngine.Component UnityEngine.Component::GetComponent(System.Type)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* Component_GetComponent_m4352437B839B9601EB007CAC1007C8E1FB8A427D (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, Type_t* ___0_type, const RuntimeMethod* method) ;
|
|
// UnityEngine.ParticleSystem/EmissionModule UnityEngine.ParticleSystem::get_emission()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR EmissionModule_t0F469FA4A08003F6D9C610D2F716A9DFDB9A3678 ParticleSystem_get_emission_mD9402CE632A3607DA0B0486F9F58F7FB2B44CF08 (ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.ParticleSystem/MinMaxCurve::.ctor(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MinMaxCurve__ctor_m1D3846251475D7BBC7B128CCD7DFF40B16AAEF9E (MinMaxCurve_t812D571297EED6498776CC58949A42B172E60E23* __this, float ___0_constant, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.ParticleSystem/EmissionModule::set_rateOverTime(UnityEngine.ParticleSystem/MinMaxCurve)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EmissionModule_set_rateOverTime_m71BF3C0A80EA572CD87EFF5944E8FA680F51DC20 (EmissionModule_t0F469FA4A08003F6D9C610D2F716A9DFDB9A3678* __this, MinMaxCurve_t812D571297EED6498776CC58949A42B172E60E23 ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.ParticleSystem/MainModule UnityEngine.ParticleSystem::get_main()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9 ParticleSystem_get_main_mD86DFCD96150E2CE760CD2F37052BB3BCA33C189 (ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.ParticleSystem/MinMaxGradient UnityEngine.ParticleSystem/MainModule::get_startColor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MinMaxGradient_tFF31B8EC2855D0074AB86E8B37BEA6609070AC69 MainModule_get_startColor_m24E66E583EB51341A885ABAE84114CBB37018781 (MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Color UnityEngine.ParticleSystem/MinMaxGradient::get_color()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F MinMaxGradient_get_color_m534E35D538D549F006E9F90E453D41B92FBAC3BF (MinMaxGradient_tFF31B8EC2855D0074AB86E8B37BEA6609070AC69* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Color::.ctor(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method) ;
|
|
// UnityEngine.ParticleSystem/MinMaxGradient UnityEngine.ParticleSystem/MinMaxGradient::op_Implicit(UnityEngine.Color)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MinMaxGradient_tFF31B8EC2855D0074AB86E8B37BEA6609070AC69 MinMaxGradient_op_Implicit_mAA6154D6644E72BBA49EB34DC957538EE929DE02 (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_color, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.ParticleSystem/MainModule::set_startColor(UnityEngine.ParticleSystem/MinMaxGradient)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MainModule_set_startColor_m504911284CAC53A7C1B97B5D01BBDD2FA67D0E7A (MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9* __this, MinMaxGradient_tFF31B8EC2855D0074AB86E8B37BEA6609070AC69 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.OffsetModifier::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffsetModifier_Start_m1FA29F992B9D4E6F639F42419CDF61727B2A3B51 (OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogError(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
|
|
// UnityEngine.AnimatorStateInfo UnityEngine.Animator::GetCurrentAnimatorStateInfo(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AnimatorStateInfo_t1F47379289C7CE7FD588FBC3BBD79A777243B6B2 Animator_GetCurrentAnimatorStateInfo_mD5B526FA605F6CFBC31B7DE36740F6AD1E534CAD (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, int32_t ___0_layerIndex, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.AnimatorStateInfo::IsName(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AnimatorStateInfo_IsName_mB936F493D6BDDB9372C8E9D813CE0416B002C4D0 (AnimatorStateInfo_t1F47379289C7CE7FD588FBC3BBD79A777243B6B2* __this, String_t* ___0_name, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.AnimatorStateInfo::get_normalizedTime()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AnimatorStateInfo_get_normalizedTime_m087C7E5A72122ADF18EBB4AC8391103B9119CCC6 (AnimatorStateInfo_t1F47379289C7CE7FD588FBC3BBD79A777243B6B2* __this, const RuntimeMethod* method) ;
|
|
// System.Single RootMotion.Demos.AnimationWarping::GetWarpWeight(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AnimationWarping_GetWarpWeight_m2D13B02392BD0546198D3240DD3009B33AE9B14F (AnimationWarping_t78DF249134B5B398D0587EEACBBC21312B42FF45* __this, int32_t ___0_warpIndex, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.FinalIK.IKSolverFullBodyBiped::GetEffector(RootMotion.FinalIK.FullBodyBipedEffector)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, int32_t ___0_effector, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.OffsetModifier::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffsetModifier__ctor_m35CC529F7B5A1450DB1AABC123CD8FEAFBC75E1A (OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::ClampMagnitude(UnityEngine.Vector3,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_ClampMagnitude_mF83675F19744F58E97CF24D8359A810634DC031F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, float ___1_maxLength, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Animator::get_deltaPosition()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Animator_get_deltaPosition_m1759DB2D343FDAFAA7FE85ED66451D5210B0A606 (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::Rotate(UnityEngine.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_Rotate_m35B44707FE16FF8015D519D8C162C0B4A85D6D1F (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_axis, float ___1_angle, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Animator::SetBool(System.String,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_SetBool_m6F8D4FAF0770CD4EC1F54406249785DE7391E42B (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, String_t* ___0_name, bool ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPerson::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPerson_Start_mC0A5E522B1242A027D671EED20F9932B3C888D5A (AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Component::GetComponent<RootMotion.FinalIK.AimIK>()
|
|
inline AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* Component_GetComponent_TisAimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264_mE5F2B774C79390FE892E69FBBEFFDDAD4B7C6047 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// T UnityEngine.Component::GetComponent<RootMotion.FinalIK.FullBodyBipedIK>()
|
|
inline FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.Animator::SetLayerWeight(System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_SetLayerWeight_m06ADC732F76F22B4B1424F25525E7CBB80E6230F (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, int32_t ___0_layerIndex, float ___1_weight, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPerson::Move(UnityEngine.Vector3,System.Boolean,UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPerson_Move_m2C6A367421AE05BDFB544E1D54BA419E06ECAC5C (AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_moveInput, bool ___1_isMoving, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_faceDirection, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_aimTarget, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::Read()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_Read_m8BEADDDE656EB28389EB81E3D0E1BB4F345FF264 (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::AimIK()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_AimIK_mD2340ABBFF737E2A02B773D671E251AE687C658E (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::FBBIK()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_FBBIK_m3E99181700FA7092FF0F318DE6F46D4FD4434E2F (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::HeadLookAt(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_HeadLookAt_m3B9B1B34217ACC77E9B1A4811428552ACBBC4A10 (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lookAtTarget, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.FinalIK.IKSolverFullBodyBiped::get_rightHandEffector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.Recoil::SetHandRotations(UnityEngine.Quaternion,UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Recoil_SetHandRotations_mDA0557F2907A024D254C941A8D5345C19709D132 (Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_leftHandRotation, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rightHandRotation, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.FinalIK.IKSolverFullBodyBiped::get_leftHandEffector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPerson::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPerson__ctor_m2CC9F610174DA05C7204B8F3630749EDDBF23BDA (AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.CharacterAnimationThirdPerson::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterAnimationThirdPerson_Start_m9FF0C92801B8BE5F669EA6108BEF6CFB65DA1E6F (CharacterAnimationThirdPerson_t9965E1812210AC6B234D6A8BDB9986834DDA3F41* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.CharacterAnimationBase::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterAnimationBase_LateUpdate_m69E5D3B250CC723B5C8C74CE2C88E809C0CA8D61 (CharacterAnimationBase_tF16F89D851897751BC15325508623E7909E14842* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::Angle(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_from, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_to, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.FinalIK.IKSolverFullBodyBiped::get_bodyEffector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.CharacterAnimationThirdPersonIK::RotateEffector(RootMotion.FinalIK.IKEffector,UnityEngine.Quaternion,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterAnimationThirdPersonIK_RotateEffector_m83E74502501BEBDAFE2E16E7E88AA7EE6B097C28 (CharacterAnimationThirdPersonIK_t35FCCC7F985A5CCBA842286427067C0D8757FCAF* __this, IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* ___0_effector, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, float ___2_mlp, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.FinalIK.IKSolverFullBodyBiped::get_leftShoulderEffector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* IKSolverFullBodyBiped_get_leftShoulderEffector_m5B500D488CCB816846DEF6F9920E55849E1FF17D (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.FinalIK.IKSolverFullBodyBiped::get_rightShoulderEffector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* IKSolverFullBodyBiped_get_rightShoulderEffector_m857EA0866A539F70708E4062B1053F3B0352AE4F (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.CharacterAnimationThirdPerson::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterAnimationThirdPerson__ctor_mD7F032D785DC3DB6266F38A4F379E49331E576FE (CharacterAnimationThirdPerson_t9965E1812210AC6B234D6A8BDB9986834DDA3F41* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Component::GetComponent<RootMotion.Demos.AnimatorController3rdPerson>()
|
|
inline AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* Component_GetComponent_TisAnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1_mDA852EDB03BB0D0BF4351FBFDEDF2E5AF527A514 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// System.Void RootMotion.CameraController::UpdateInput()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraController_UpdateInput_mE8E2FC62E97B7F145D8300C07F6F5F423F3ED4B1 (CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.CameraController::UpdateTransform()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraController_UpdateTransform_m972020875FA1569AF137980F8DEB70A183D1B9CB (CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterController3rdPerson::get_inputVector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 CharacterController3rdPerson_get_inputVector_m89F5437C359ED2FEAB372E1D20CCBC6E1E3477FE (const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Vector3::op_Inequality(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterController3rdPerson::get_inputVectorRaw()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 CharacterController3rdPerson_get_inputVectorRaw_m045175564B2F9A6E94FE21F9892AB246DF4C020F (const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Input::GetAxisRaw(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Input_GetAxisRaw_m47C0CF8E090561A2F407A4E11D5F2A45044EB8E4 (String_t* ___0_axisName, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.FinalIK.IKSolverFullBodyBiped::get_leftThighEffector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* IKSolverFullBodyBiped_get_leftThighEffector_m16A228821AC6868B43FBACDBAF64E5FC7E805B10 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.FinalIK.IKSolverFullBodyBiped::get_rightThighEffector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* IKSolverFullBodyBiped_get_rightThighEffector_m8B07B53D3B8A827814412F74F22C411DA3434FF8 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.FinalIK.IKSolverFullBodyBiped::get_leftFootEffector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* IKSolverFullBodyBiped_get_leftFootEffector_m9D0EC40FA4CE7BED8F1F353533A776969C855AD9 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.FinalIK.IKSolverFullBodyBiped::get_rightFootEffector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* IKSolverFullBodyBiped_get_rightFootEffector_m069583A6E6BA97506EF16406C7477EB2011FE33A (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::get_localScale()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Component::GetComponent<UnityEngine.Rigidbody>()
|
|
inline Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// System.Boolean UnityEngine.Input::GetKeyDown(UnityEngine.KeyCode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2 (int32_t ___0_key, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.Demos.SimpleLocomotion::get_isGrounded()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool SimpleLocomotion_get_isGrounded_mBB52FDDFD43FFBE316BCA4EB0202E1EFEAFA61BF_inline (SimpleLocomotion_t5C40DF535664F3EF4CC54452166672EA480285BE* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Rigidbody::get_position()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Rigidbody_get_position_m4ECB79BDBBF8FD1EA572EDB792D3330DDED24691 (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rigidbody::set_velocity(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_set_velocity_mE4031DF1C2C1CCE889F2AC9D8871D83795BB0D62 (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.ExplosionDemo::SetEffectorWeights(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ExplosionDemo_SetEffectorWeights_mC3C832E7DA9270605719A7267ECF5C5AD947D95A (ExplosionDemo_tE47276289E5920417A42F4932B43819B7B1F13DA* __this, float ___0_w, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::set_localScale(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localScale_mBA79E811BAF6C47B80FF76414C12B47B3CD03633 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_one()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline (const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.FBBIKSettings/Limb::Apply(RootMotion.FinalIK.FullBodyBipedChain,RootMotion.FinalIK.IKSolverFullBodyBiped)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Limb_Apply_m0C54AD8705D6BD18B1FF6343EA11DDB1C1765061 (Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01* __this, int32_t ___0_chain, IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* ___1_solver, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::Log(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.FBBIKSettings::UpdateSettings()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBBIKSettings_UpdateSettings_m1E2402497B7E25CFBADDAC24384A7817B5BAF323 (FBBIKSettings_tA6F1B11770302C7C26704888C923FF026C85D94D* __this, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.FBIKChain RootMotion.FinalIK.IKSolverFullBodyBiped::GetChain(RootMotion.FinalIK.FullBodyBipedChain)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4* IKSolverFullBodyBiped_GetChain_mD72F5FF776725E0C38DA6C2F5A6F3444A860CFB5 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, int32_t ___0_c, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKEffector RootMotion.FinalIK.IKSolverFullBodyBiped::GetEndEffector(RootMotion.FinalIK.FullBodyBipedChain)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* IKSolverFullBodyBiped_GetEndEffector_m82CB19FB617283EADCEBCC9FB35CA9B1F03B46C8 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, int32_t ___0_c, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKMappingLimb RootMotion.FinalIK.IKSolverFullBodyBiped::GetLimbMapping(RootMotion.FinalIK.FullBodyBipedChain)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingLimb_t4C98F986BCB13706B8F65F99AC139FA8E377338D* IKSolverFullBodyBiped_GetLimbMapping_m60E39565F0F9588B5933381F7B90169B1D3852AA (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, int32_t ___0_chain, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKConstraintBend RootMotion.FinalIK.IKSolverFullBodyBiped::GetBendConstraint(RootMotion.FinalIK.FullBodyBipedChain)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKConstraintBend_t6B9D65F2A498CF5004558E3D1AE8E157DA1F5E2B* IKSolverFullBodyBiped_GetBendConstraint_mB5D7E8FA5A9AD42962B94345B7427E4AF50ED8D1 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, int32_t ___0_limb, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.FBIKHandsOnProp::HandsOnProp(RootMotion.FinalIK.IKEffector,RootMotion.FinalIK.IKEffector)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKHandsOnProp_HandsOnProp_m5237794F707E2E42AAAFE2FC6E70968BAB729829 (FBIKHandsOnProp_tBCEE0F504A54C23E6C15FD8F6826AAA2C7900035* __this, IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* ___0_mainHand, IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* ___1_otherHand, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKMappingLimb RootMotion.FinalIK.IKSolverFullBodyBiped::get_leftArmMapping()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingLimb_t4C98F986BCB13706B8F65F99AC139FA8E377338D* IKSolverFullBodyBiped_get_leftArmMapping_m115D0464620CC3D9B21FD33E925689F00D3776D9 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKMappingLimb RootMotion.FinalIK.IKSolverFullBodyBiped::get_rightArmMapping()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingLimb_t4C98F986BCB13706B8F65F99AC139FA8E377338D* IKSolverFullBodyBiped_get_rightArmMapping_m84B513C8BF6416AC353C9B23A5438F355EFE7CC2 (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::get_localEulerAngles()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_localEulerAngles_m358AA9AE8FA24FD1BB7842D231C8644D1C2910C6 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogWarning(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.CameraControllerFPS::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraControllerFPS_LateUpdate_mA1B9A1D25E05891C8C361012C1E59FA1CBE7EAE7 (CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.FPSAiming::RotateCharacter()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSAiming_RotateCharacter_m4789BA5EB22E832B3977CF4480DEFFC85A8AD9CA (FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.FPSAiming::Aiming()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSAiming_Aiming_mE692DECEB10E0054B32466432D45902E41B4603A (FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.FPSAiming::LookDownTheSight()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSAiming_LookDownTheSight_mBA42F41A2B62001D1AEDB23FFB4391444949D004 (FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Transform UnityEngine.Transform::get_parent()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.IKMappingBone RootMotion.FinalIK.IKSolverFullBodyBiped::get_headMapping()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IKMappingBone_t50EC6BC298D1E4F5FD42EBA559FC3DCB762084C3* IKSolverFullBodyBiped_get_headMapping_m58D18DDA28952AD5D0792C8A8AD2E8BF63F35E6C (IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Component::GetComponent<RootMotion.Demos.FPSAiming>()
|
|
inline FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* Component_GetComponent_TisFPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784_m14019706B4729CBBE808C1AC63FFA13B34A432DB (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// System.Boolean UnityEngine.Input::GetMouseButton(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Input_GetMouseButton_m4995DD4A2D4F916565C1B1B5AAF7DF17C126B3EA (int32_t ___0_button, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::SmoothDamp(System.Single,System.Single,System.Single&,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_SmoothDamp_m3A255A356924421B4042AAD1623EF46F92A08C91_inline (float ___0_current, float ___1_target, float* ___2_currentVelocity, float ___3_smoothTime, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Screen::get_width()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Screen_get_width_mF608FF3252213E7EFA1F0D2F744C28110E9E5AC9 (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rect::.ctor(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_x, float ___1_y, float ___2_width, float ___3_height, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GUI::Label(UnityEngine.Rect,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_Label_m4A951E57C7DCCF95A0306240144CA2713F546526 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_position, String_t* ___1_text, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Input::GetMouseButtonDown(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Input_GetMouseButtonDown_m8DFC792D15FFF15D311614D5CC6C5D055E5A1DE3 (int32_t ___0_button, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Input::get_mousePosition()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Input_get_mousePosition_mFF21FBD2647DAE2A23BD4C45571CA95D05A0A42C (const RuntimeMethod* method) ;
|
|
// UnityEngine.Ray UnityEngine.Camera::ScreenPointToRay(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 Camera_ScreenPointToRay_m2887B9A49880B7AB670C57D66B67D6A6689FE315 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Physics::Raycast(UnityEngine.Ray,UnityEngine.RaycastHit&,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_Raycast_m839BA104A76B928A03F075C622923C6FCD2F8685 (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 ___0_ray, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___1_hitInfo, float ___2_maxDistance, const RuntimeMethod* method) ;
|
|
// UnityEngine.Collider UnityEngine.RaycastHit::get_collider()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* RaycastHit_get_collider_m84B160439BBEAB6D9E94B799F720E25C9E2D444D (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Ray::get_direction()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Ray_get_direction_m21C2D22D3BD4A683BD4DC191AB22DD05F5EC2086 (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.HitReaction::Hit(UnityEngine.Collider,UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HitReaction_Hit_m4A6E9EEBE5276054D4528399C54FDA9D876BB3EA (HitReaction_tDD0B4FEAA374B21E4C529B96DEE282F633CC21E1* __this, Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___0_collider, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_force, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_point, const RuntimeMethod* method) ;
|
|
// System.String UnityEngine.Object::get_name()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, const RuntimeMethod* method) ;
|
|
// T[] System.Array::Empty<UnityEngine.GUILayoutOption>()
|
|
inline GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline (const RuntimeMethod* method)
|
|
{
|
|
return (( GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* (*) (const RuntimeMethod*))Array_Empty_TisRuntimeObject_mFB8A63D602BB6974D31E20300D9EB89C6FE7C278_gshared_inline)(method);
|
|
}
|
|
// System.Void UnityEngine.GUILayout::Label(System.String,UnityEngine.GUILayoutOption[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_Label_m1709C16A433383CCFC1FEA0E585E14CBD78CD94B (String_t* ___0_text, GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* ___1_options, const RuntimeMethod* method) ;
|
|
// System.Boolean System.String::op_Inequality(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6 (String_t* ___0_a, String_t* ___1_b, const RuntimeMethod* method) ;
|
|
// System.String System.String::Concat(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9E3155FB84015C823606188F53B47CB44C444991 (String_t* ___0_str0, String_t* ___1_str1, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.GUILayout::Button(System.String,UnityEngine.GUILayoutOption[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E (String_t* ___0_text, GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* ___1_options, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.FinalIK.InteractionSystem::StartInteraction(RootMotion.FinalIK.FullBodyBipedEffector,RootMotion.FinalIK.InteractionObject,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091 (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, int32_t ___0_effectorType, InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___1_interactionObject, bool ___2_interrupt, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.FullBodyBipedIK RootMotion.FinalIK.InteractionSystem::get_ik()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* InteractionSystem_get_ik_m82A1FABCA49ED47E63901B9258EBAB49BE95EFD8_inline (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.GUILayout::Toggle(System.Boolean,System.String,UnityEngine.GUILayoutOption[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUILayout_Toggle_m59FC4209A021B0E6FBB880941B791487D359DBF7 (bool ___0_value, String_t* ___1_text, GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* ___2_options, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.FinalIK.InteractionSystem::get_inInteraction()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionSystem_get_inInteraction_m63211EF55C4A833B16ECF8818B1C0FE8B457D571 (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.InteractionSystem::ResumeAll()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionSystem_ResumeAll_m826BDB423151107A8CBD20960CBA64045FCDAC8D (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Component::GetComponent<RootMotion.FinalIK.InteractionSystem>()
|
|
inline InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* Component_GetComponent_TisInteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595_m2C929736175975A7364A00BC4EB93536B5B64E60 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// System.Boolean RootMotion.FinalIK.InteractionSystem::IsPaused(RootMotion.FinalIK.FullBodyBipedEffector)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionSystem_IsPaused_mEDE73455724EB8888893ABB3BCF80CE91A8371B5 (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, int32_t ___0_effectorType, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.KissingRig/Partner::Initiate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Partner_Initiate_m2A4824C9AE36CC48226A3A3A2FAADD2161EB4781 (Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.KissingRig/Partner::Update(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Partner_Update_mCDD24FF45791CD5F4663190191A6AA27EA81071B (Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* __this, float ___0_weight, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.KissingRig/Partner::InverseTransformEffector(RootMotion.FinalIK.FullBodyBipedEffector,UnityEngine.Transform,UnityEngine.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Partner_InverseTransformEffector_m1CC09A2B279795001788C61FAF5DD54EF7AED663 (Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* __this, int32_t ___0_effector, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_target, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_targetPosition, float ___3_weight, const RuntimeMethod* method) ;
|
|
// UnityEngine.Transform RootMotion.Demos.KissingRig/Partner::get_neck()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Partner_get_neck_m6CE9404E47489AAF69BF6ABD30641C32DA678122 (Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.MotionAbsorb/Absorber::SetToBone(RootMotion.FinalIK.IKSolverFullBodyBiped,RootMotion.Demos.MotionAbsorb/Mode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Absorber_SetToBone_m5A4E7322A4DB2546C60DBBE9BACF6FA28CE2F808 (Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* __this, IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* ___0_solver, int32_t ___1_mode, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.MotionAbsorb/Absorber::UpdateEffectorWeights(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Absorber_UpdateEffectorWeights_m61595620888C8A6652385CC944FC0202B2186796 (Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* __this, float ___0_w, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.MotionAbsorb/Absorber::SetPosition(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Absorber_SetPosition_mB803F249E4A243579A9BA802EAB5A964904DD554 (Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* __this, float ___0_w, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.MotionAbsorb/Absorber::SetRotation(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Absorber_SetRotation_m1F0CB0467234AC393AED3CA521A80C2DDCD8033A (Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* __this, float ___0_w, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.OffsetModifier::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffsetModifier_OnDestroy_m92E05F8F451ED61F2B6B7753F4B464BA217DCF30 (OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Random::get_insideUnitSphere()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Random_get_insideUnitSphere_mA488D6859560B73565B8D890ED6B39DB4091C54F (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rigidbody::MovePosition(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_MovePosition_mB2CD29ABC8F59AC338C0A3A5A6B75C38FDA92CA9 (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rigidbody::MoveRotation(UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_MoveRotation_m85825C7206E770E39DED9EE6D792702F577A891D (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rot, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rigidbody::set_angularVelocity(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_set_angularVelocity_m23266B4E52BF0D2E65CC984AC73CC40B8D4A27E0 (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.GameObject UnityEngine.Component::get_gameObject()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::AddComponent<UnityEngine.FixedJoint>()
|
|
inline FixedJoint_tA10A077292A86BA2A2AB3542E3441610055F806E* GameObject_AddComponent_TisFixedJoint_tA10A077292A86BA2A2AB3542E3441610055F806E_m55087CF9E0B9B9026B0844811592B36880109159 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( FixedJoint_tA10A077292A86BA2A2AB3542E3441610055F806E* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.Joint::set_connectedBody(UnityEngine.Rigidbody)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Joint_set_connectedBody_mE9E631476E9D4264E8DC0D6307146F5EB64D3ED4 (Joint_tB2C5499F976EBB1EA1C11A80E1BD9F5E2EE4D682* __this, Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_right()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GUILayout::BeginHorizontal(UnityEngine.GUILayoutOption[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_BeginHorizontal_m1BBD7EE29640BF48BED72DE582702809E6B22219 (GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* ___0_options, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GUILayout::Space(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_Space_m9254FBF173F9260DDB6C83C0066447FC9D9CA597 (float ___0_pixels, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.Demos.PickUp2Handed::get_holding()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PickUp2Handed_get_holding_m94A8E1CAB0B4FA81774944F890B1CD0837265486 (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GUILayout::BeginVertical(UnityEngine.GUILayoutOption[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_BeginVertical_m1B2B474EF5A3CD257EC0474D17F78A149DC14D88 (GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* ___0_options, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.Demos.PickUp2Handed::get_holdingRight()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PickUp2Handed_get_holdingRight_m793660C5BE036DB142A225D7E4A0181EC8AF984F (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.FinalIK.InteractionSystem::ResumeInteraction(RootMotion.FinalIK.FullBodyBipedEffector)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionSystem_ResumeInteraction_m1F41C3CBAE23F126894BE8EF7CF7CB2B395297CC (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, int32_t ___0_effectorType, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.Demos.PickUp2Handed::get_holdingLeft()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PickUp2Handed_get_holdingLeft_mB46B2F7633843CC9F9F0DB7D50C96B4D9657CFDE (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GUILayout::EndVertical()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_EndVertical_m2D981AC3EA3F7273CBFEE6C30C14DC90044AE87C (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GUILayout::EndHorizontal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_EndHorizontal_m694C622FEE40FFF0DD77EFFD026F899C193507C0 (const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.InteractionSystem/InteractionDelegate::.ctor(System.Object,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3 (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::set_parent(UnityEngine.Transform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_parent_m9BD5E563B539DD5BEC342736B03F97B38A243234 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rigidbody::set_isKinematic(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_set_isKinematic_m6C3FD3EA358DADA3B191F2449CF1C4F8B22695ED (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.InteractionObject RootMotion.FinalIK.InteractionSystem::GetInteractionObject(RootMotion.FinalIK.FullBodyBipedEffector)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* InteractionSystem_GetInteractionObject_m6F2C18E761E07EB41775B88EA3030EB5EB461267 (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, int32_t ___0_effectorType, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.QuaTools::GetAxis(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 QuaTools_GetAxis_m0ADF359B16933E2943269A5BED42F6D5699587C2 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_v, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.PickUp2Handed::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUp2Handed__ctor_mFF65BE79D975FF8B6C0F7CF13E048609B6267697 (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.RagdollUtility::EnableRagdoll()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RagdollUtility_EnableRagdoll_m98D4B0D069391E6E531960897462EDCFB71FC721 (RagdollUtility_t8C17408AF12ADC7F3A7332141C92F3F2B88D994A* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.RagdollUtility::DisableRagdoll()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RagdollUtility_DisableRagdoll_mF117AEE39A0860BB61552DD90AFAA746D6E487FB (RagdollUtility_t8C17408AF12ADC7F3A7332141C92F3F2B88D994A* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Component::GetComponent<RootMotion.FinalIK.Recoil>()
|
|
inline Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* Component_GetComponent_TisRecoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE_m07F19F290BD00442E59F6BBA365D1E99EA2915C1 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// System.Void RootMotion.FinalIK.Recoil::Fire(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Recoil_Fire_m588D5E3702D883B463E8129DB2E2085AACAA901D (Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* __this, float ___0_magnitude, const RuntimeMethod* method) ;
|
|
// System.Collections.IEnumerator RootMotion.Demos.ResetInteractionObject::ResetObject(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ResetInteractionObject_ResetObject_mE3EAF4DFED1976BB1D3D5F37DDE3F0C539823EFF (ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* __this, float ___0_resetTime, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CResetObjectU3Ed__7__ctor_m0AE05A35287FBD8E277DC1C0EE4423F167BFC505 (U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Component::GetComponent<RootMotion.FinalIK.Poser>()
|
|
inline Poser_tDF8B767BC6593233BEED1C025429B0FD41B97B50* Component_GetComponent_TisPoser_tDF8B767BC6593233BEED1C025429B0FD41B97B50_m1EB031B4E9450742E7A35BC9E04E59E38A08234E (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Poser_tDF8B767BC6593233BEED1C025429B0FD41B97B50* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// System.Collections.IEnumerator RootMotion.Demos.SoccerDemo::ResetDelayed()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* SoccerDemo_ResetDelayed_m6C3DCEB9196B0F20C971841481D2015B7AE7E748 (SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CResetDelayedU3Ed__4__ctor_mA29A27DB32A8987E33A8ECB54C49B7F9296A50B5 (U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.WaitForSeconds::.ctor(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3* __this, float ___0_seconds, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Animator::CrossFade(System.String,System.Single,System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Animator_CrossFade_m2D91D6C458B15B186365EED0C13A178342789084 (Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* __this, String_t* ___0_stateName, float ___1_normalizedTransitionDuration, int32_t ___2_layer, float ___3_normalizedTimeOffset, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::Initiate(RootMotion.FinalIK.InteractionSystem)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink_Initiate_m208D5B226820EBE51F47F2C4A432FE85DE11078A (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___0_interactionSystem, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::Update(RootMotion.FinalIK.InteractionSystem)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink_Update_m12A037359FF09F731B891DE403E654A1D41ABC1B (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___0_interactionSystem, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::Destroy(RootMotion.FinalIK.InteractionSystem)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink_Destroy_m5F347F3E2D426FAB06966F87B58989E6FFCACA38 (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___0_interactionSystem, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RaycastHit::set_normal(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RaycastHit_set_normal_m97DDF1CBE8ADF1F72AA30BC83870615ABB38C88B (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Physics::SphereCast(UnityEngine.Vector3,System.Single,UnityEngine.Vector3,UnityEngine.RaycastHit&,System.Single,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_SphereCast_m2A41FD7023EC5B89B69E0A8948325BEF46D9597C (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_origin, float ___1_radius, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_direction, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___3_hitInfo, float ___4_maxDistance, int32_t ___5_layerMask, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::TransformDirection(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_TransformDirection_m9BE1261DF2D48B7A4A27D31EE24D2D97F89E7757 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.Demos.TouchWalls/EffectorLink::FindWalls(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool EffectorLink_FindWalls_m79C1120C39879C941947C07FB48948C53BDBA240 (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::StopTouch(RootMotion.FinalIK.InteractionSystem)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink_StopTouch_m2AAEA7F014698740158486E147B52C23E257E1B5 (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___0_interactionSystem, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.FinalIK.InteractionSystem::IsPaused()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionSystem_IsPaused_m5DC6AA4B89D7A78184447B1AEFE4A4B324258A6D (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, const RuntimeMethod* method) ;
|
|
// System.Single RootMotion.FinalIK.InteractionSystem::GetMinActiveProgress()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float InteractionSystem_GetMinActiveProgress_m2DB7C64E5FBE707249A8F8D97F9287EC9406432D (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.UserControlThirdPerson::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UserControlThirdPerson_Update_m4297BF3D4600D6C2FF294CCBE622D3E678C1E392 (UserControlThirdPerson_t84D27C4D05AE0B01CDABC9C382DEDD23F3943690* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.Demos.CharacterThirdPerson::get_onGround()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool CharacterThirdPerson_get_onGround_m9C9555A5C749F8F337E48584713AC44497253957_inline (CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.FinalIK.InteractionSystem::IsInSync()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionSystem_IsInSync_m7A2F0543B5E0298C902E8AD8A20BDAC34173F0DC (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Input::GetKey(UnityEngine.KeyCode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Input_GetKey_mE5681EF775F3CEBA7EAD7C63984F7B34C8E8D434 (int32_t ___0_key, const RuntimeMethod* method) ;
|
|
// System.Int32 RootMotion.FinalIK.InteractionSystem::GetClosestTriggerIndex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t InteractionSystem_GetClosestTriggerIndex_m5B2CA32A172FE3141F50D3F6FA5958299518E8AD (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.FinalIK.InteractionSystem::TriggerEffectorsReady(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionSystem_TriggerEffectorsReady_m4E177F76EBA1300FB9F6FC75D736E23948BE2AF5 (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.FinalIK.InteractionSystem::TriggerInteraction(System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool InteractionSystem_TriggerInteraction_m12E6E7A5A5A16A69B66924C8EA2BB0185282275A (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, int32_t ___0_index, bool ___1_interrupt, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.UserControlThirdPerson::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UserControlThirdPerson__ctor_m9973C7901A57073F95C64855C9696D4A32DEB2BA (UserControlThirdPerson_t84D27C4D05AE0B01CDABC9C382DEDD23F3943690* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.GrounderDemo::Activate(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GrounderDemo_Activate_m84BF357AA3B19CC2AA60EA825686ABE5491BB334 (GrounderDemo_tE145931AE47CCED1A32E9365C00C8199E47A4BA8* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GameObject::SetActive(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject_SetActive_m638E92E1E75E519E5B24CF150B08CA8E0CDFAB92 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// System.Collections.IEnumerator RootMotion.Demos.PlatformRotator::SwitchRotation()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* PlatformRotator_SwitchRotation_mF3D86C604490CC65772EB185CDE2D57C98FAB92B (PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::SmoothDamp(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3&,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_SmoothDamp_mDA140F463AE64757F8DEBBE9806F50031732046A_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_current, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_target, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___2_currentVelocity, float ___3_smoothTime, float ___4_maxSpeed, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Rigidbody::get_rotation()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Rigidbody_get_rotation_m07882A7024FB3F96BA13EC577A96163BBB621AA1 (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CSwitchRotationU3Ed__14__ctor_mDC8588A596ED7F2F82B85D88C2FFA03F567CC38F (U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// UnityEngine.GameObject UnityEngine.Collision::get_gameObject()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* Collision_get_gameObject_m846FADBCA43E1849D3FE4D5EA44C02D055A70B3E (Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.GameObject::get_layer()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GameObject_get_layer_m108902B9C89E9F837CE06B9942AA42307450FEAF (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::GetComponent<RootMotion.Demos.CharacterThirdPerson>()
|
|
inline CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* GameObject_GetComponent_TisCharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9_mF2E48D817CBB9C107F6773007251A42191FE9BDE (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared)(__this, method);
|
|
}
|
|
// UnityEngine.Vector3 UnityEngine.Random::get_onUnitSphere()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Random_get_onUnitSphere_mA7FD531C3043945E5EA290F670E79A78EFAC0D92 (const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Random::get_value()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Random_get_value_m2CEA87FADF5222EF9E13D32695F15E2BA282E24B (const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.IKSolverTrigonometric::SetBendGoalPosition(UnityEngine.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IKSolverTrigonometric_SetBendGoalPosition_m2CD4C2FC70824E44C00BB38E33D89DE0554031B2 (IKSolverTrigonometric_t55424AF77D1DAF8373F11CC9339F455C2FB5F62C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_goalPosition, float ___1_weight, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.Demos.Turret/Part::AimAt(UnityEngine.Transform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Part_AimAt_m362C7E1FE1F8395F31E6A120BCC5FD09AD5FBCD7 (Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_target, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::LookAt(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_LookAt_mBD38EDB5E915C5DA6C5A79D191DEE2C826A9FC2C (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_worldPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_worldUp, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Component::GetComponent<RootMotion.FinalIK.RotationLimit>()
|
|
inline RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9* Component_GetComponent_TisRotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9_m6797F304F01D51B971E73EEC59632AC0ED0E8443 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
// System.Void RootMotion.FinalIK.RotationLimit::Disable()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RotationLimit_Disable_mB342EF44F0CCCF281F77169A33721A856E893B4E (RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean RootMotion.FinalIK.RotationLimit::Apply()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RotationLimit_Apply_m9159A9138AAED151CE1ECCBD4AEF1EA019E7F617 (RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9* __this, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.HitReactionVRIK::Hit(UnityEngine.Collider,UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HitReactionVRIK_Hit_mA67C3559C3839C78BD8C7967C1534053A323A02F (HitReactionVRIK_t78F94F27FA72855C6F113EFE34D4B0F67590346C* __this, Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* ___0_collider, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_force, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_point, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 RootMotion.Demos.VRController::GetInput()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VRController_GetInput_mB2AE6488CB042CE30C01FD8A63E2A09FB0804D13 (VRController_tEFE53020BB532DAE5FFB43A229B556D2081446A2* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::Dot(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::SmoothDamp(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3&,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_SmoothDamp_mF673AC30464B7DF671A0556140EB6E9DD75827ED_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_current, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_target, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___2_currentVelocity, float ___3_smoothTime, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_back()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_left()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_left_m8C1116485A9E689760AEE1142F5977852278B7E1_inline (const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData RootMotion.FinalIK.VRIKCalibrator::Calibrate(RootMotion.FinalIK.VRIK,UnityEngine.Transform,UnityEngine.Transform,UnityEngine.Transform,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* VRIKCalibrator_Calibrate_m5E1146745E780C21D0A5903223446E1C94878BF3 (VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* ___0_ik, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_centerEyeAnchor, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___2_leftHandAnchor, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___3_rightHandAnchor, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___4_centerEyePositionOffset, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___5_centerEyeRotationOffset, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___6_handPositionOffset, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___7_handRotationOffset, float ___8_scaleMlp, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.VRIKCalibrator::Calibrate(RootMotion.FinalIK.VRIK,RootMotion.FinalIK.VRIKCalibrator/CalibrationData,UnityEngine.Transform,UnityEngine.Transform,UnityEngine.Transform,UnityEngine.Transform,UnityEngine.Transform,UnityEngine.Transform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKCalibrator_Calibrate_mC3D3EFE4784C5BC0809E7E543230FE76E5A689D7 (VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* ___0_ik, CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* ___1_data, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___2_headTracker, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___3_bodyTracker, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___4_leftHandTracker, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___5_rightHandTracker, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___6_leftFootTracker, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___7_rightFootTracker, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.VRIKCalibrator::RecalibrateScale(RootMotion.FinalIK.VRIK,RootMotion.FinalIK.VRIKCalibrator/CalibrationData,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKCalibrator_RecalibrateScale_mBBA5F505FF6C53354FDE65801F937292FC35EC22 (VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* ___0_ik, CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* ___1_data, float ___2_scaleMlp, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.VRIKCalibrator/CalibrationData::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CalibrationData__ctor_m073DEA5E11EBA03BF82D2FB3AA406370F250E698 (CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* __this, const RuntimeMethod* method) ;
|
|
// RootMotion.FinalIK.VRIKCalibrator/CalibrationData RootMotion.FinalIK.VRIKCalibrator::Calibrate(RootMotion.FinalIK.VRIK,RootMotion.FinalIK.VRIKCalibrator/Settings,UnityEngine.Transform,UnityEngine.Transform,UnityEngine.Transform,UnityEngine.Transform,UnityEngine.Transform,UnityEngine.Transform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* VRIKCalibrator_Calibrate_m5D4A30CAAF1156F3CC20481BC27AC1074DC45E32 (VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* ___0_ik, Settings_t8E009A6EE69717B08B142E1F3BE3DB8879C5515C* ___1_settings, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___2_headTracker, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___3_bodyTracker, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___4_leftHandTracker, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___5_rightHandTracker, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___6_leftFootTracker, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___7_rightFootTracker, const RuntimeMethod* method) ;
|
|
// System.Void RootMotion.FinalIK.VRIKCalibrator::RecalibrateScale(RootMotion.FinalIK.VRIK,RootMotion.FinalIK.VRIKCalibrator/CalibrationData,RootMotion.FinalIK.VRIKCalibrator/Settings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKCalibrator_RecalibrateScale_mF85241A03F08D29ECC79C0EBBE2F86436A33837D (VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* ___0_ik, CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* ___1_data, Settings_t8E009A6EE69717B08B142E1F3BE3DB8879C5515C* ___2_settings, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Clamp01(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Internal_FromEulerRad(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Quaternion::.ctor(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Quaternion__ctor_m868FD60AA65DD5A8AC0C5DEB0608381A8D85FCD8_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* __this, float ___0_x, float ___1_y, float ___2_z, float ___3_w, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::Normalize(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Sign(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Sign_m42EE1F0BC041AF14F89DED7F762BE996E2C50D8A_inline (float ___0_f, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Quaternion::Angle(UnityEngine.Quaternion,UnityEngine.Quaternion)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Min(System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::SlerpUnclamped(UnityEngine.Quaternion,UnityEngine.Quaternion,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_SlerpUnclamped_mAE7F4DF2F239831CCAA1DFB52F313E5AED52D32D (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::SmoothDamp(System.Single,System.Single,System.Single&,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Mathf_SmoothDamp_mBE7ABB6B59D198BE8ABE42942452CC7B813A5248 (float ___0_current, float ___1_target, float* ___2_currentVelocity, float ___3_smoothTime, float ___4_maxSpeed, float ___5_deltaTime, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::SmoothDamp(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3&,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_SmoothDamp_mAF61EA22D4906BF87DD00A91FB4F6AC0C54C495A (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_current, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_target, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___2_currentVelocity, float ___3_smoothTime, float ___4_maxSpeed, float ___5_deltaTime, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::Magnitude(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Quaternion::Dot(UnityEngine.Quaternion,UnityEngine.Quaternion)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Quaternion_Dot_mF9D3BE33940A47979DADA7E81650AEB356D5D12B_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Quaternion::IsEqualUsingDot(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Quaternion_IsEqualUsingDot_m9C672201C918C2D1E739F559DBE4406F95997CBD_inline (float ___0_dot, const RuntimeMethod* method) ;
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.FinalIK.VRIKCalibrator/Settings::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Settings__ctor_m42206BF97AB7FABCA5250729968A39F3A97F651E (Settings_t8E009A6EE69717B08B142E1F3BE3DB8879C5515C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float scaleMlp = 1f;
|
|
__this->___scaleMlp_0 = (1.0f);
|
|
// public Vector3 headTrackerForward = Vector3.forward;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
__this->___headTrackerForward_1 = L_0;
|
|
// public Vector3 headTrackerUp = Vector3.up;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
__this->___headTrackerUp_2 = L_1;
|
|
// public Vector3 handTrackerForward = Vector3.forward;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
__this->___handTrackerForward_3 = L_2;
|
|
// public Vector3 handTrackerUp = Vector3.up;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
__this->___handTrackerUp_4 = L_3;
|
|
// public Vector3 footTrackerForward = Vector3.forward;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
__this->___footTrackerForward_5 = L_4;
|
|
// public Vector3 footTrackerUp = Vector3.up;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
__this->___footTrackerUp_6 = L_5;
|
|
// [Range(0f, 1f)] public float pelvisPositionWeight = 1f;
|
|
__this->___pelvisPositionWeight_12 = (1.0f);
|
|
// [Range(0f, 1f)] public float pelvisRotationWeight = 1f;
|
|
__this->___pelvisRotationWeight_13 = (1.0f);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.FinalIK.VRIKCalibrator/CalibrationData::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CalibrationData__ctor_m073DEA5E11EBA03BF82D2FB3AA406370F250E698 (CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target::.ctor(UnityEngine.Transform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Target__ctor_m6E0626C582F24D7648213B8EE0F724E5CBEF387C (Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_t, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Target(Transform t)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.used = t != null;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ___0_t;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
__this->___used_0 = L_1;
|
|
// if (!this.used) return;
|
|
bool L_2 = __this->___used_0;
|
|
if (L_2)
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
// if (!this.used) return;
|
|
return;
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// this.localPosition = t.localPosition;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ___0_t;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Transform_get_localPosition_mA9C86B990DF0685EA1061A120218993FDCC60A95(L_3, NULL);
|
|
__this->___localPosition_1 = L_4;
|
|
// this.localRotation = t.localRotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ___0_t;
|
|
NullCheck(L_5);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
|
|
L_6 = Transform_get_localRotation_mD53D37611A5DAE93EC6C7BBCAC337408C5CACA77(L_5, NULL);
|
|
__this->___localRotation_2 = L_6;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.FinalIK.VRIKCalibrator/CalibrationData/Target::SetTo(UnityEngine.Transform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Target_SetTo_mED3759AAF5AC1B0285111A8ED26B4735577DF613 (Target_tB3ED9FDFBD48F3D9C29DE0639D58C732EEA05D12* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_t, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (!used) return;
|
|
bool L_0 = __this->___used_0;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (!used) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// t.localPosition = localPosition;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ___0_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___localPosition_1;
|
|
NullCheck(L_1);
|
|
Transform_set_localPosition_mDE1C997F7D79C0885210B7732B4BA50EE7D73134(L_1, L_2, NULL);
|
|
// t.localRotation = localRotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = ___0_t;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = __this->___localRotation_2;
|
|
NullCheck(L_3);
|
|
Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA(L_3, L_4, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.FinalIK.VRIKLODController::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKLODController_Start_mD2A084C6680CF79DD39E8245B9B4A574A6940966 (VRIKLODController_tDB5C075D26CF4CD41C5343F34E6DCD72440395FC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisVRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3_m07599F820B1195DB985DC4C08F29977C4C0BA64D_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// ik = GetComponent<VRIK>();
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_0;
|
|
L_0 = Component_GetComponent_TisVRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3_m07599F820B1195DB985DC4C08F29977C4C0BA64D(__this, Component_GetComponent_TisVRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3_m07599F820B1195DB985DC4C08F29977C4C0BA64D_RuntimeMethod_var);
|
|
__this->___ik_7 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___ik_7), (void*)L_0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.FinalIK.VRIKLODController::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKLODController_Update_m8BB3F9C4E97137A75DC1B40CB57E4DA8F9F0ECFF (VRIKLODController_tDB5C075D26CF4CD41C5343F34E6DCD72440395FC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ik.solver.LOD = GetLODLevel();
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_0 = __this->___ik_7;
|
|
NullCheck(L_0);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_1 = L_0->___solver_11;
|
|
int32_t L_2;
|
|
L_2 = VRIKLODController_GetLODLevel_m62CA8AA3091FB3464020A13500E5AB85DACD3A98(__this, NULL);
|
|
NullCheck(L_1);
|
|
L_1->___LOD_30 = L_2;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 RootMotion.FinalIK.VRIKLODController::GetLODLevel()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t VRIKLODController_GetLODLevel_m62CA8AA3091FB3464020A13500E5AB85DACD3A98 (VRIKLODController_tDB5C075D26CF4CD41C5343F34E6DCD72440395FC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// if (allowCulled)
|
|
bool L_0 = __this->___allowCulled_6;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0027;
|
|
}
|
|
}
|
|
{
|
|
// if (LODRenderer == null) return 0;
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_1 = __this->___LODRenderer_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// if (LODRenderer == null) return 0;
|
|
return 0;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// if (!LODRenderer.isVisible) return 2;
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_3 = __this->___LODRenderer_4;
|
|
NullCheck(L_3);
|
|
bool L_4;
|
|
L_4 = Renderer_get_isVisible_mBCDDEB0EF27442FD1D910CD26754135B677B8251(L_3, NULL);
|
|
if (L_4)
|
|
{
|
|
goto IL_0027;
|
|
}
|
|
}
|
|
{
|
|
// if (!LODRenderer.isVisible) return 2;
|
|
return 2;
|
|
}
|
|
|
|
IL_0027:
|
|
{
|
|
// float sqrMag = (ik.transform.position - Camera.main.transform.position).sqrMagnitude;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_5 = __this->___ik_7;
|
|
NullCheck(L_5);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
|
|
L_6 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_5, NULL);
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_8;
|
|
L_8 = Camera_get_main_m52C992F18E05355ABB9EEB64A4BF2215E12762DF(NULL);
|
|
NullCheck(L_8);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9;
|
|
L_9 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_8, NULL);
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_7, L_10, NULL);
|
|
V_0 = L_11;
|
|
float L_12;
|
|
L_12 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_0), NULL);
|
|
// if (sqrMag > LODDistance * LODDistance) return 1;
|
|
float L_13 = __this->___LODDistance_5;
|
|
float L_14 = __this->___LODDistance_5;
|
|
if ((!(((float)L_12) > ((float)((float)il2cpp_codegen_multiply(L_13, L_14))))))
|
|
{
|
|
goto IL_0064;
|
|
}
|
|
}
|
|
{
|
|
// if (sqrMag > LODDistance * LODDistance) return 1;
|
|
return 1;
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
// System.Void RootMotion.FinalIK.VRIKLODController::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKLODController__ctor_m275B3DF34F789865FB0C540BC30309837D191DEC (VRIKLODController_tDB5C075D26CF4CD41C5343F34E6DCD72440395FC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float LODDistance = 15f;
|
|
__this->___LODDistance_5 = (15.0f);
|
|
// public bool allowCulled = true;
|
|
__this->___allowCulled_6 = (bool)1;
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// UnityEngine.Vector3 RootMotion.FinalIK.VRIKRootController::get_pelvisTargetRight()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VRIKRootController_get_pelvisTargetRight_mA9476180A56693DD58FDAF9EB92034EFD8F36D1F (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 pelvisTargetRight { get; private set; }
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CpelvisTargetRightU3Ek__BackingField_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RootMotion.FinalIK.VRIKRootController::set_pelvisTargetRight(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKRootController_set_pelvisTargetRight_m02010BDF35160169420E9FFCBB2BDAB026FEB978 (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 pelvisTargetRight { get; private set; }
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
|
|
__this->___U3CpelvisTargetRightU3Ek__BackingField_4 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.FinalIK.VRIKRootController::Awake()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKRootController_Awake_m797E340BE35444297BE1BEAAF4C7C36A62DEE261 (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisVRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3_m07599F820B1195DB985DC4C08F29977C4C0BA64D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VRIKRootController_OnPreUpdate_m4CA8411457CE702DA7FFAFECA286FA9277823121_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// ik = GetComponent<VRIK>();
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_0;
|
|
L_0 = Component_GetComponent_TisVRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3_m07599F820B1195DB985DC4C08F29977C4C0BA64D(__this, Component_GetComponent_TisVRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3_m07599F820B1195DB985DC4C08F29977C4C0BA64D_RuntimeMethod_var);
|
|
__this->___ik_8 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___ik_8), (void*)L_0);
|
|
// ik.solver.OnPreUpdate += OnPreUpdate;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_1 = __this->___ik_8;
|
|
NullCheck(L_1);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_2 = L_1->___solver_11;
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_3 = L_2;
|
|
NullCheck(L_3);
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_4 = ((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_3)->___OnPreUpdate_6;
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_5 = (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)il2cpp_codegen_object_new(UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971(L_5, __this, (intptr_t)((void*)VRIKRootController_OnPreUpdate_m4CA8411457CE702DA7FFAFECA286FA9277823121_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_6;
|
|
L_6 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_4, L_5, NULL);
|
|
NullCheck(L_3);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_3)->___OnPreUpdate_6 = ((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_6, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_3)->___OnPreUpdate_6), (void*)((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_6, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var)));
|
|
// Calibrate();
|
|
VRIKRootController_Calibrate_m20BD11BE30F7BF2DEFA4DDAA9F68D91B3BA9998C(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.FinalIK.VRIKRootController::Calibrate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKRootController_Calibrate_m20BD11BE30F7BF2DEFA4DDAA9F68D91B3BA9998C (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDE3D2EAF234D00C3EABC8328A55907FE4BE13A97);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (ik == null)
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_0 = __this->___ik_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("No VRIK found on VRIKRootController's GameObject.", transform);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2;
|
|
L_2 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_m94F967AB31244EACE68C3BE1DD85B69ED3334C0E(_stringLiteralDE3D2EAF234D00C3EABC8328A55907FE4BE13A97, L_2, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// pelvisTarget = ik.solver.spine.pelvisTarget;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_3 = __this->___ik_8;
|
|
NullCheck(L_3);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_4 = L_3->___solver_11;
|
|
NullCheck(L_4);
|
|
Spine_t4F5CCC4887D9107BD9BA474D5874B00345A0BF53* L_5 = L_4->___spine_34;
|
|
NullCheck(L_5);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = L_5->___pelvisTarget_16;
|
|
__this->___pelvisTarget_5 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pelvisTarget_5), (void*)L_6);
|
|
// leftFootTarget = ik.solver.leftLeg.target;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_7 = __this->___ik_8;
|
|
NullCheck(L_7);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_8 = L_7->___solver_11;
|
|
NullCheck(L_8);
|
|
Leg_t4E62EE18462FB53D1C02C4F047CB3EC911835FB4* L_9 = L_8->___leftLeg_37;
|
|
NullCheck(L_9);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = L_9->___target_8;
|
|
__this->___leftFootTarget_6 = L_10;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___leftFootTarget_6), (void*)L_10);
|
|
// rightFootTarget = ik.solver.rightLeg.target;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_11 = __this->___ik_8;
|
|
NullCheck(L_11);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_12 = L_11->___solver_11;
|
|
NullCheck(L_12);
|
|
Leg_t4E62EE18462FB53D1C02C4F047CB3EC911835FB4* L_13 = L_12->___rightLeg_38;
|
|
NullCheck(L_13);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = L_13->___target_8;
|
|
__this->___rightFootTarget_7 = L_14;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___rightFootTarget_7), (void*)L_14);
|
|
// if (pelvisTarget != null) pelvisTargetRight = Quaternion.Inverse(pelvisTarget.rotation) * ik.references.root.right;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = __this->___pelvisTarget_5;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_16;
|
|
L_16 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_15, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_16)
|
|
{
|
|
goto IL_00ae;
|
|
}
|
|
}
|
|
{
|
|
// if (pelvisTarget != null) pelvisTargetRight = Quaternion.Inverse(pelvisTarget.rotation) * ik.references.root.right;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = __this->___pelvisTarget_5;
|
|
NullCheck(L_17);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
|
|
L_18 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_17, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19;
|
|
L_19 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_18, NULL);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_20 = __this->___ik_8;
|
|
NullCheck(L_20);
|
|
References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024* L_21 = L_20->___references_10;
|
|
NullCheck(L_21);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = L_21->___root_0;
|
|
NullCheck(L_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Transform_get_right_mC6DC057C23313802E2186A9E0DB760D795A758A4(L_22, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
L_24 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_19, L_23, NULL);
|
|
VRIKRootController_set_pelvisTargetRight_m02010BDF35160169420E9FFCBB2BDAB026FEB978_inline(__this, L_24, NULL);
|
|
}
|
|
|
|
IL_00ae:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.FinalIK.VRIKRootController::Calibrate(RootMotion.FinalIK.VRIKCalibrator/CalibrationData)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKRootController_Calibrate_m8A653F9A626A53981DD4A8B80FC39EB35CD94943 (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* ___0_data, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDE3D2EAF234D00C3EABC8328A55907FE4BE13A97);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (ik == null)
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_0 = __this->___ik_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("No VRIK found on VRIKRootController's GameObject.", transform);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2;
|
|
L_2 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_m94F967AB31244EACE68C3BE1DD85B69ED3334C0E(_stringLiteralDE3D2EAF234D00C3EABC8328A55907FE4BE13A97, L_2, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// pelvisTarget = ik.solver.spine.pelvisTarget;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_3 = __this->___ik_8;
|
|
NullCheck(L_3);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_4 = L_3->___solver_11;
|
|
NullCheck(L_4);
|
|
Spine_t4F5CCC4887D9107BD9BA474D5874B00345A0BF53* L_5 = L_4->___spine_34;
|
|
NullCheck(L_5);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = L_5->___pelvisTarget_16;
|
|
__this->___pelvisTarget_5 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pelvisTarget_5), (void*)L_6);
|
|
// leftFootTarget = ik.solver.leftLeg.target;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_7 = __this->___ik_8;
|
|
NullCheck(L_7);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_8 = L_7->___solver_11;
|
|
NullCheck(L_8);
|
|
Leg_t4E62EE18462FB53D1C02C4F047CB3EC911835FB4* L_9 = L_8->___leftLeg_37;
|
|
NullCheck(L_9);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = L_9->___target_8;
|
|
__this->___leftFootTarget_6 = L_10;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___leftFootTarget_6), (void*)L_10);
|
|
// rightFootTarget = ik.solver.rightLeg.target;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_11 = __this->___ik_8;
|
|
NullCheck(L_11);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_12 = L_11->___solver_11;
|
|
NullCheck(L_12);
|
|
Leg_t4E62EE18462FB53D1C02C4F047CB3EC911835FB4* L_13 = L_12->___rightLeg_38;
|
|
NullCheck(L_13);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = L_13->___target_8;
|
|
__this->___rightFootTarget_7 = L_14;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___rightFootTarget_7), (void*)L_14);
|
|
// if (pelvisTarget != null)
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = __this->___pelvisTarget_5;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_16;
|
|
L_16 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_15, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_16)
|
|
{
|
|
goto IL_008a;
|
|
}
|
|
}
|
|
{
|
|
// pelvisTargetRight = data.pelvisTargetRight;
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_17 = ___0_data;
|
|
NullCheck(L_17);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = L_17->___pelvisTargetRight_9;
|
|
VRIKRootController_set_pelvisTargetRight_m02010BDF35160169420E9FFCBB2BDAB026FEB978_inline(__this, L_18, NULL);
|
|
}
|
|
|
|
IL_008a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.FinalIK.VRIKRootController::OnPreUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKRootController_OnPreUpdate_m4CA8411457CE702DA7FFAFECA286FA9277823121 (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// if (!enabled) return;
|
|
bool L_0;
|
|
L_0 = Behaviour_get_enabled_mAAC9F15E9EBF552217A5AE2681589CC0BFA300C1(__this, NULL);
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (!enabled) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (pelvisTarget != null)
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = __this->___pelvisTarget_5;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0165;
|
|
}
|
|
}
|
|
{
|
|
// ik.references.root.position = new Vector3(pelvisTarget.position.x, ik.references.root.position.y, pelvisTarget.position.z);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_3 = __this->___ik_8;
|
|
NullCheck(L_3);
|
|
References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024* L_4 = L_3->___references_10;
|
|
NullCheck(L_4);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = L_4->___root_0;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = __this->___pelvisTarget_5;
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
|
|
float L_8 = L_7.___x_2;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_9 = __this->___ik_8;
|
|
NullCheck(L_9);
|
|
References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024* L_10 = L_9->___references_10;
|
|
NullCheck(L_10);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = L_10->___root_0;
|
|
NullCheck(L_11);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_11, NULL);
|
|
float L_13 = L_12.___y_3;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = __this->___pelvisTarget_5;
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_14, NULL);
|
|
float L_16 = L_15.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
memset((&L_17), 0, sizeof(L_17));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_17), L_8, L_13, L_16, /*hidden argument*/NULL);
|
|
NullCheck(L_5);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_5, L_17, NULL);
|
|
// Vector3 f = Vector3.Cross(pelvisTarget.rotation * pelvisTargetRight, ik.references.root.up);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = __this->___pelvisTarget_5;
|
|
NullCheck(L_18);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19;
|
|
L_19 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_18, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
L_20 = VRIKRootController_get_pelvisTargetRight_mA9476180A56693DD58FDAF9EB92034EFD8F36D1F_inline(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
L_21 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_19, L_20, NULL);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_22 = __this->___ik_8;
|
|
NullCheck(L_22);
|
|
References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024* L_23 = L_22->___references_10;
|
|
NullCheck(L_23);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24 = L_23->___root_0;
|
|
NullCheck(L_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_24, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_21, L_25, NULL);
|
|
V_0 = L_26;
|
|
// f.y = 0f;
|
|
(&V_0)->___y_3 = (0.0f);
|
|
// ik.references.root.rotation = Quaternion.LookRotation(f);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_27 = __this->___ik_8;
|
|
NullCheck(L_27);
|
|
References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024* L_28 = L_27->___references_10;
|
|
NullCheck(L_28);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = L_28->___root_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = V_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31;
|
|
L_31 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_30, NULL);
|
|
NullCheck(L_29);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_29, L_31, NULL);
|
|
// ik.references.pelvis.position = Vector3.Lerp(ik.references.pelvis.position, pelvisTarget.position, ik.solver.spine.pelvisPositionWeight);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_32 = __this->___ik_8;
|
|
NullCheck(L_32);
|
|
References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024* L_33 = L_32->___references_10;
|
|
NullCheck(L_33);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_34 = L_33->___pelvis_1;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_35 = __this->___ik_8;
|
|
NullCheck(L_35);
|
|
References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024* L_36 = L_35->___references_10;
|
|
NullCheck(L_36);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37 = L_36->___pelvis_1;
|
|
NullCheck(L_37);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
|
|
L_38 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_37, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_39 = __this->___pelvisTarget_5;
|
|
NullCheck(L_39);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
|
|
L_40 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_39, NULL);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_41 = __this->___ik_8;
|
|
NullCheck(L_41);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_42 = L_41->___solver_11;
|
|
NullCheck(L_42);
|
|
Spine_t4F5CCC4887D9107BD9BA474D5874B00345A0BF53* L_43 = L_42->___spine_34;
|
|
NullCheck(L_43);
|
|
float L_44 = L_43->___pelvisPositionWeight_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
L_45 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_38, L_40, L_44, NULL);
|
|
NullCheck(L_34);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_34, L_45, NULL);
|
|
// ik.references.pelvis.rotation = Quaternion.Slerp(ik.references.pelvis.rotation, pelvisTarget.rotation, ik.solver.spine.pelvisRotationWeight);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_46 = __this->___ik_8;
|
|
NullCheck(L_46);
|
|
References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024* L_47 = L_46->___references_10;
|
|
NullCheck(L_47);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_48 = L_47->___pelvis_1;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_49 = __this->___ik_8;
|
|
NullCheck(L_49);
|
|
References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024* L_50 = L_49->___references_10;
|
|
NullCheck(L_50);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_51 = L_50->___pelvis_1;
|
|
NullCheck(L_51);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52;
|
|
L_52 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_51, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_53 = __this->___pelvisTarget_5;
|
|
NullCheck(L_53);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_54;
|
|
L_54 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_53, NULL);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_55 = __this->___ik_8;
|
|
NullCheck(L_55);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_56 = L_55->___solver_11;
|
|
NullCheck(L_56);
|
|
Spine_t4F5CCC4887D9107BD9BA474D5874B00345A0BF53* L_57 = L_56->___spine_34;
|
|
NullCheck(L_57);
|
|
float L_58 = L_57->___pelvisRotationWeight_18;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_59;
|
|
L_59 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_52, L_54, L_58, NULL);
|
|
NullCheck(L_48);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_48, L_59, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0165:
|
|
{
|
|
// else if (leftFootTarget != null && rightFootTarget != null)
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_60 = __this->___leftFootTarget_6;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_61;
|
|
L_61 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_60, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_61)
|
|
{
|
|
goto IL_01b6;
|
|
}
|
|
}
|
|
{
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_62 = __this->___rightFootTarget_7;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_63;
|
|
L_63 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_62, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_63)
|
|
{
|
|
goto IL_01b6;
|
|
}
|
|
}
|
|
{
|
|
// ik.references.root.position = Vector3.Lerp(leftFootTarget.position, rightFootTarget.position, 0.5f);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_64 = __this->___ik_8;
|
|
NullCheck(L_64);
|
|
References_t2A4C7FEEFBC153C7E0BD6EDDB0FC99A2196C9024* L_65 = L_64->___references_10;
|
|
NullCheck(L_65);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_66 = L_65->___root_0;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_67 = __this->___leftFootTarget_6;
|
|
NullCheck(L_67);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
|
|
L_68 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_67, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_69 = __this->___rightFootTarget_7;
|
|
NullCheck(L_69);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70;
|
|
L_70 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_69, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71;
|
|
L_71 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_68, L_70, (0.5f), NULL);
|
|
NullCheck(L_66);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_66, L_71, NULL);
|
|
}
|
|
|
|
IL_01b6:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.FinalIK.VRIKRootController::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKRootController_OnDestroy_mF2755099A2849FF0BB4E9D931289F8452412F4FE (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VRIKRootController_OnPreUpdate_m4CA8411457CE702DA7FFAFECA286FA9277823121_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (ik != null) ik.solver.OnPreUpdate -= OnPreUpdate;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_0 = __this->___ik_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
// if (ik != null) ik.solver.OnPreUpdate -= OnPreUpdate;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_2 = __this->___ik_8;
|
|
NullCheck(L_2);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_3 = L_2->___solver_11;
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_4 = L_3;
|
|
NullCheck(L_4);
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_5 = ((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_4)->___OnPreUpdate_6;
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_6 = (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)il2cpp_codegen_object_new(UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971(L_6, __this, (intptr_t)((void*)VRIKRootController_OnPreUpdate_m4CA8411457CE702DA7FFAFECA286FA9277823121_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_7;
|
|
L_7 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_5, L_6, NULL);
|
|
NullCheck(L_4);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_4)->___OnPreUpdate_6 = ((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_4)->___OnPreUpdate_6), (void*)((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var)));
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.FinalIK.VRIKRootController::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKRootController__ctor_mB34357F3E4C4C59B5EB7B269DC08CE3F8E82FEF3 (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.FKOffset::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FKOffset_Start_m064070FAA5EF8A3DCA822937408F0FA2AEA68457 (FKOffset_tA5F8807E2B20894CFB3478B98B9F8BD06E089DE8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// animator = GetComponent<Animator>();
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_0;
|
|
L_0 = Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE(__this, Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE_RuntimeMethod_var);
|
|
__this->___animator_5 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___animator_5), (void*)L_0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FKOffset::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FKOffset_LateUpdate_m0EF9A1E09AC39AA8CE6FBEA7D639A4869E9ABDFE (FKOffset_tA5F8807E2B20894CFB3478B98B9F8BD06E089DE8* __this, const RuntimeMethod* method)
|
|
{
|
|
OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// foreach (Offset offset in offsets)
|
|
OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA* L_0 = __this->___offsets_4;
|
|
V_0 = L_0;
|
|
V_1 = 0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// foreach (Offset offset in offsets)
|
|
OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA* L_1 = V_0;
|
|
int32_t L_2 = V_1;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
// offset.Apply(animator);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_5 = __this->___animator_5;
|
|
NullCheck(L_4);
|
|
Offset_Apply_m6DD9179DF90F179081F1742684E159817D659D35(L_4, L_5, NULL);
|
|
int32_t L_6 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// foreach (Offset offset in offsets)
|
|
int32_t L_7 = V_1;
|
|
OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA* L_8 = V_0;
|
|
NullCheck(L_8);
|
|
if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FKOffset::OnDrawGizmosSelected()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FKOffset_OnDrawGizmosSelected_m7B59C0B60F9F5ADAAE8D5314DD29641A30241170 (FKOffset_tA5F8807E2B20894CFB3478B98B9F8BD06E089DE8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HumanBodyBones_tA2A904890A05ABCFFAB7E119244E97C5EA9807E6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// foreach (Offset offset in offsets)
|
|
OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA* L_0 = __this->___offsets_4;
|
|
V_0 = L_0;
|
|
V_1 = 0;
|
|
goto IL_0028;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// foreach (Offset offset in offsets)
|
|
OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA* L_1 = V_0;
|
|
int32_t L_2 = V_1;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
// offset.name = offset.bone.ToString();
|
|
Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02* L_5 = L_4;
|
|
NullCheck(L_5);
|
|
int32_t* L_6 = (&L_5->___bone_1);
|
|
Il2CppFakeBox<int32_t> L_7(HumanBodyBones_tA2A904890A05ABCFFAB7E119244E97C5EA9807E6_il2cpp_TypeInfo_var, L_6);
|
|
String_t* L_8;
|
|
L_8 = Enum_ToString_m946B0B83C4470457D0FF555D862022C72BB55741((Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2*)(&L_7), NULL);
|
|
NullCheck(L_5);
|
|
L_5->___name_0 = L_8;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_5->___name_0), (void*)L_8);
|
|
int32_t L_9 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_9, 1));
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// foreach (Offset offset in offsets)
|
|
int32_t L_10 = V_1;
|
|
OffsetU5BU5D_t19E8301758318542B083E1A503F3A7E1936F7DEA* L_11 = V_0;
|
|
NullCheck(L_11);
|
|
if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FKOffset::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FKOffset__ctor_m5957788A2063D29642ED641BB257AC8386F1CF01 (FKOffset_tA5F8807E2B20894CFB3478B98B9F8BD06E089DE8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.FKOffset/Offset::Apply(UnityEngine.Animator)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Offset_Apply_m6DD9179DF90F179081F1742684E159817D659D35 (Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02* __this, Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* ___0_animator, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (t == null) t = animator.GetBoneTransform(bone);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___t_3;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
// if (t == null) t = animator.GetBoneTransform(bone);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_2 = ___0_animator;
|
|
int32_t L_3 = __this->___bone_1;
|
|
NullCheck(L_2);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4;
|
|
L_4 = Animator_GetBoneTransform_m02042CB47C468D576C6EE436F4AA71D8C47AAF56(L_2, L_3, NULL);
|
|
__this->___t_3 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___t_3), (void*)L_4);
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// if (t == null) return;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = __this->___t_3;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_6;
|
|
L_6 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_5, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_6)
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
// if (t == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// t.localRotation *= Quaternion.Euler(rotationOffset);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = __this->___t_3;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = L_7;
|
|
NullCheck(L_8);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
|
|
L_9 = Transform_get_localRotation_mD53D37611A5DAE93EC6C7BBCAC337408C5CACA77(L_8, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = __this->___rotationOffset_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
|
|
L_11 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_10, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
|
|
L_12 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_9, L_11, NULL);
|
|
NullCheck(L_8);
|
|
Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA(L_8, L_12, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FKOffset/Offset::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Offset__ctor_m20DDB616FAE5D78F023618E7979CAC6DC45A3D76 (Offset_t480CD19A3FC065E60DB731C245CA8888229EAB02* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.AimBoxing::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AimBoxing_LateUpdate_m89AEDBF771207136A058E434B6CBA1BEA0628A26 (AimBoxing_tE7AB7FFDC71D5917F98E6DA4273FB4C466F79F67* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// aimIK.solver.transform.LookAt(pin.position);
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_0 = __this->___aimIK_4;
|
|
NullCheck(L_0);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_1 = L_0->___solver_10;
|
|
NullCheck(L_1);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = L_1->___transform_18;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = __this->___pin_5;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_3, NULL);
|
|
NullCheck(L_2);
|
|
Transform_LookAt_mFEF7353E4CAEB85D5F7CEEF9276C3B8D6E314C6C(L_2, L_4, NULL);
|
|
// aimIK.solver.IKPosition = transform.position;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_5 = __this->___aimIK_4;
|
|
NullCheck(L_5);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_6 = L_5->___solver_10;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7;
|
|
L_7 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_7);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_7, NULL);
|
|
NullCheck(L_6);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_6)->___IKPosition_1 = L_8;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AimBoxing::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AimBoxing__ctor_m3DFF23D56A2C8DCC9651F090D9FC6A28ABF92020 (AimBoxing_tE7AB7FFDC71D5917F98E6DA4273FB4C466F79F67* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.AimSwing::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AimSwing_LateUpdate_m356C08866EE906536F124D80D49C965ADAAFC43D (AimSwing_t0A50CD868B376479512ED762B864A2F624D8E9D4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ik.solver.axis = ik.solver.transform.InverseTransformVector(ik.transform.rotation * animatedAimDirection);
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_0 = __this->___ik_4;
|
|
NullCheck(L_0);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_1 = L_0->___solver_10;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_2 = __this->___ik_4;
|
|
NullCheck(L_2);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_3 = L_2->___solver_10;
|
|
NullCheck(L_3);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = L_3->___transform_18;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_5 = __this->___ik_4;
|
|
NullCheck(L_5);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
|
|
L_6 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_5, NULL);
|
|
NullCheck(L_6);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_6, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = __this->___animatedAimDirection_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_7, L_8, NULL);
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Transform_InverseTransformVector_mBBA687CE32C0394FC9AB4F273D4E4A11F53FB044(L_4, L_9, NULL);
|
|
NullCheck(L_1);
|
|
L_1->___axis_19 = L_10;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AimSwing::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AimSwing__ctor_mE0FB1418D39EDB5608EC8BB89151672D3A50DC1B (AimSwing_t0A50CD868B376479512ED762B864A2F624D8E9D4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// [Tooltip("The direction in which the weapon is aimed in animation (in character space). Tweak this value to adjust the aiming.")] public Vector3 animatedAimDirection = Vector3.forward;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
__this->___animatedAimDirection_5 = L_0;
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.SecondHandOnGun::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SecondHandOnGun_Start_m79193E75A6B2EF1BA8B1FCD7DA24A7E2361A1578 (SecondHandOnGun_t286E6948D860E30439D4A38FC44860EBC0CE0AFD* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// aim.enabled = false;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_0 = __this->___aim_4;
|
|
NullCheck(L_0);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_0, (bool)0, NULL);
|
|
// leftArmIK.enabled = false;
|
|
LimbIK_tB704FB4BE269E2A84D213D61DE6B1C31696C6E72* L_1 = __this->___leftArmIK_5;
|
|
NullCheck(L_1);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_1, (bool)0, NULL);
|
|
// if (grounder != null) grounder.ik.enabled = false;
|
|
GrounderFBBIK_t3C9918D942F45020DC3E12E784C14A00B6AAA8CF* L_2 = __this->___grounder_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_2, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
{
|
|
// if (grounder != null) grounder.ik.enabled = false;
|
|
GrounderFBBIK_t3C9918D942F45020DC3E12E784C14A00B6AAA8CF* L_4 = __this->___grounder_8;
|
|
NullCheck(L_4);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_5 = L_4->___ik_10;
|
|
NullCheck(L_5);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_5, (bool)0, NULL);
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.SecondHandOnGun::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SecondHandOnGun_LateUpdate_m8C303F447C7E40DBD5DF2F88FC7ED5FAC076390E (SecondHandOnGun_t286E6948D860E30439D4A38FC44860EBC0CE0AFD* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// leftHandPosRelToRight = rightHand.InverseTransformPoint(leftHand.position);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___rightHand_7;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = __this->___leftHand_6;
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_1, NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_0, L_2, NULL);
|
|
__this->___leftHandPosRelToRight_11 = L_3;
|
|
// leftHandRotRelToRight = Quaternion.Inverse(rightHand.rotation) * leftHand.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___rightHand_7;
|
|
NullCheck(L_4);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
|
|
L_5 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_4, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
|
|
L_6 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_5, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = __this->___leftHand_6;
|
|
NullCheck(L_7);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
|
|
L_8 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_7, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
|
|
L_9 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_6, L_8, NULL);
|
|
__this->___leftHandRotRelToRight_12 = L_9;
|
|
// if (grounder != null) grounder.ik.solver.Update();
|
|
GrounderFBBIK_t3C9918D942F45020DC3E12E784C14A00B6AAA8CF* L_10 = __this->___grounder_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_11;
|
|
L_11 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
{
|
|
// if (grounder != null) grounder.ik.solver.Update();
|
|
GrounderFBBIK_t3C9918D942F45020DC3E12E784C14A00B6AAA8CF* L_12 = __this->___grounder_8;
|
|
NullCheck(L_12);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_13 = L_12->___ik_10;
|
|
NullCheck(L_13);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_14 = L_13->___solver_11;
|
|
NullCheck(L_14);
|
|
IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25(L_14, NULL);
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// aim.solver.Update();
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_15 = __this->___aim_4;
|
|
NullCheck(L_15);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_16 = L_15->___solver_10;
|
|
NullCheck(L_16);
|
|
IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25(L_16, NULL);
|
|
// leftArmIK.solver.IKPosition = rightHand.TransformPoint(leftHandPosRelToRight + leftHandPositionOffset);
|
|
LimbIK_tB704FB4BE269E2A84D213D61DE6B1C31696C6E72* L_17 = __this->___leftArmIK_5;
|
|
NullCheck(L_17);
|
|
IKSolverLimb_t4BAB5C0E008B3E8E2B673F54E7AAF1F3012887F1* L_18 = L_17->___solver_10;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = __this->___rightHand_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = __this->___leftHandPosRelToRight_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = __this->___leftHandPositionOffset_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_20, L_21, NULL);
|
|
NullCheck(L_19);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_19, L_22, NULL);
|
|
NullCheck(L_18);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_18)->___IKPosition_1 = L_23;
|
|
// leftArmIK.solver.IKRotation = rightHand.rotation * Quaternion.Euler(leftHandRotationOffset) * leftHandRotRelToRight;
|
|
LimbIK_tB704FB4BE269E2A84D213D61DE6B1C31696C6E72* L_24 = __this->___leftArmIK_5;
|
|
NullCheck(L_24);
|
|
IKSolverLimb_t4BAB5C0E008B3E8E2B673F54E7AAF1F3012887F1* L_25 = L_24->___solver_10;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_26 = __this->___rightHand_7;
|
|
NullCheck(L_26);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27;
|
|
L_27 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_26, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = __this->___leftHandRotationOffset_10;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_29;
|
|
L_29 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_28, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30;
|
|
L_30 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_27, L_29, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31 = __this->___leftHandRotRelToRight_12;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32;
|
|
L_32 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_30, L_31, NULL);
|
|
NullCheck(L_25);
|
|
((IKSolverTrigonometric_t55424AF77D1DAF8373F11CC9339F455C2FB5F62C*)L_25)->___IKRotation_12 = L_32;
|
|
// leftArmIK.solver.Update();
|
|
LimbIK_tB704FB4BE269E2A84D213D61DE6B1C31696C6E72* L_33 = __this->___leftArmIK_5;
|
|
NullCheck(L_33);
|
|
IKSolverLimb_t4BAB5C0E008B3E8E2B673F54E7AAF1F3012887F1* L_34 = L_33->___solver_10;
|
|
NullCheck(L_34);
|
|
IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25(L_34, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.SecondHandOnGun::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SecondHandOnGun__ctor_m557351035D8F2E0E53585D5D61376AFA4BBA93E9 (SecondHandOnGun_t286E6948D860E30439D4A38FC44860EBC0CE0AFD* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.SimpleAimingSystem::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleAimingSystem_Start_m582CCE40F19AC13D7C31AFFCBD6118374C1B2CB4 (SimpleAimingSystem_t8DA0E8B184CECA460DFDA891E380644E9C72DFAB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// aim.enabled = false;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_0 = __this->___aim_5;
|
|
NullCheck(L_0);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_0, (bool)0, NULL);
|
|
// lookAt.enabled = false;
|
|
LookAtIK_tC7A806EF11D715ACD21D26EF301180A331A93F3A* L_1 = __this->___lookAt_6;
|
|
NullCheck(L_1);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_1, (bool)0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.SimpleAimingSystem::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleAimingSystem_LateUpdate_m2F864C365E1DF0FFBB89047EA685080F1EAC902E (SimpleAimingSystem_t8DA0E8B184CECA460DFDA891E380644E9C72DFAB* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Pose();
|
|
SimpleAimingSystem_Pose_mEE666B7033205FA6A53D14F6836586A8A36B9E7B(__this, NULL);
|
|
// aim.solver.Update();
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_0 = __this->___aim_5;
|
|
NullCheck(L_0);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_1 = L_0->___solver_10;
|
|
NullCheck(L_1);
|
|
IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25(L_1, NULL);
|
|
// if (lookAt != null) lookAt.solver.Update();
|
|
LookAtIK_tC7A806EF11D715ACD21D26EF301180A331A93F3A* L_2 = __this->___lookAt_6;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_2, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
// if (lookAt != null) lookAt.solver.Update();
|
|
LookAtIK_tC7A806EF11D715ACD21D26EF301180A331A93F3A* L_4 = __this->___lookAt_6;
|
|
NullCheck(L_4);
|
|
IKSolverLookAt_t2376880DDCB58C33F0ED60FC941E8CD1E1381DEB* L_5 = L_4->___solver_10;
|
|
NullCheck(L_5);
|
|
IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25(L_5, NULL);
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.SimpleAimingSystem::Pose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleAimingSystem_Pose_mEE666B7033205FA6A53D14F6836586A8A36B9E7B (SimpleAimingSystem_t8DA0E8B184CECA460DFDA891E380644E9C72DFAB* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
PoseU5BU5D_t55A98AA94F5DDD5041A5F305CDE897D7D55F8834* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* V_4 = NULL;
|
|
{
|
|
// LimitAimTarget();
|
|
SimpleAimingSystem_LimitAimTarget_mAA1933D07101D4800599A60403ABD1A9C348BE07(__this, NULL);
|
|
// Vector3 direction = (aim.solver.IKPosition - aim.solver.bones[0].transform.position);
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_0 = __this->___aim_5;
|
|
NullCheck(L_0);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_1 = L_0->___solver_10;
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_1)->___IKPosition_1;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_3 = __this->___aim_5;
|
|
NullCheck(L_3);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_4 = L_3->___solver_10;
|
|
NullCheck(L_4);
|
|
BoneU5BU5D_t384A868FF22BA2A4344F14B899695540877FB593* L_5 = ((IKSolverHeuristic_tE9187D7C8E900617B4FE451C82FF14BB5CF2F484*)L_4)->___bones_15;
|
|
NullCheck(L_5);
|
|
int32_t L_6 = 0;
|
|
Bone_t08B8D90F9F7409FAD0F5DB325E88341691FF6BAF* L_7 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
NullCheck(L_7);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = ((Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9*)L_7)->___transform_0;
|
|
NullCheck(L_8);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_8, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_2, L_9, NULL);
|
|
V_0 = L_10;
|
|
// Vector3 localDirection = transform.InverseTransformDirection(direction);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11;
|
|
L_11 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = V_0;
|
|
NullCheck(L_11);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Transform_InverseTransformDirection_m69C077B881A98B08C7F231EFC49429C906FBC575(L_11, L_12, NULL);
|
|
V_1 = L_13;
|
|
// aimPose = aimPoser.GetPose(localDirection);
|
|
AimPoser_t052FE2795021E7CACE993D73C39C4C1F1ACFAB57* L_14 = __this->___aimPoser_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_1;
|
|
NullCheck(L_14);
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* L_16;
|
|
L_16 = AimPoser_GetPose_mFEC5A176D69DFD6409FBD474811A5E0A5402403F(L_14, L_15, NULL);
|
|
__this->___aimPose_10 = L_16;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___aimPose_10), (void*)L_16);
|
|
// if (aimPose != lastPose) {
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* L_17 = __this->___aimPose_10;
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* L_18 = __this->___lastPose_11;
|
|
if ((((RuntimeObject*)(Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A*)L_17) == ((RuntimeObject*)(Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A*)L_18)))
|
|
{
|
|
goto IL_0082;
|
|
}
|
|
}
|
|
{
|
|
// aimPoser.SetPoseActive(aimPose);
|
|
AimPoser_t052FE2795021E7CACE993D73C39C4C1F1ACFAB57* L_19 = __this->___aimPoser_4;
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* L_20 = __this->___aimPose_10;
|
|
NullCheck(L_19);
|
|
AimPoser_SetPoseActive_m1EDFF836F96B131099D568028AB15769931FEAB3(L_19, L_20, NULL);
|
|
// lastPose = aimPose;
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* L_21 = __this->___aimPose_10;
|
|
__this->___lastPose_11 = L_21;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___lastPose_11), (void*)L_21);
|
|
}
|
|
|
|
IL_0082:
|
|
{
|
|
// foreach (AimPoser.Pose pose in aimPoser.poses) {
|
|
AimPoser_t052FE2795021E7CACE993D73C39C4C1F1ACFAB57* L_22 = __this->___aimPoser_4;
|
|
NullCheck(L_22);
|
|
PoseU5BU5D_t55A98AA94F5DDD5041A5F305CDE897D7D55F8834* L_23 = L_22->___poses_5;
|
|
V_2 = L_23;
|
|
V_3 = 0;
|
|
goto IL_00cb;
|
|
}
|
|
|
|
IL_0092:
|
|
{
|
|
// foreach (AimPoser.Pose pose in aimPoser.poses) {
|
|
PoseU5BU5D_t55A98AA94F5DDD5041A5F305CDE897D7D55F8834* L_24 = V_2;
|
|
int32_t L_25 = V_3;
|
|
NullCheck(L_24);
|
|
int32_t L_26 = L_25;
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
|
|
V_4 = L_27;
|
|
// if (pose == aimPose) {
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* L_28 = V_4;
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* L_29 = __this->___aimPose_10;
|
|
if ((!(((RuntimeObject*)(Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A*)L_28) == ((RuntimeObject*)(Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A*)L_29))))
|
|
{
|
|
goto IL_00b5;
|
|
}
|
|
}
|
|
{
|
|
// DirectCrossFade(pose.name, 1f);
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* L_30 = V_4;
|
|
NullCheck(L_30);
|
|
String_t* L_31 = L_30->___name_1;
|
|
SimpleAimingSystem_DirectCrossFade_m24DC0E7E9B75FE790636642E3A8C8082FBF807FA(__this, L_31, (1.0f), NULL);
|
|
goto IL_00c7;
|
|
}
|
|
|
|
IL_00b5:
|
|
{
|
|
// DirectCrossFade(pose.name, 0f);
|
|
Pose_t6031DD82DE5392214ED079BEA5044C86D0A6D05A* L_32 = V_4;
|
|
NullCheck(L_32);
|
|
String_t* L_33 = L_32->___name_1;
|
|
SimpleAimingSystem_DirectCrossFade_m24DC0E7E9B75FE790636642E3A8C8082FBF807FA(__this, L_33, (0.0f), NULL);
|
|
}
|
|
|
|
IL_00c7:
|
|
{
|
|
int32_t L_34 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_34, 1));
|
|
}
|
|
|
|
IL_00cb:
|
|
{
|
|
// foreach (AimPoser.Pose pose in aimPoser.poses) {
|
|
int32_t L_35 = V_3;
|
|
PoseU5BU5D_t55A98AA94F5DDD5041A5F305CDE897D7D55F8834* L_36 = V_2;
|
|
NullCheck(L_36);
|
|
if ((((int32_t)L_35) < ((int32_t)((int32_t)(((RuntimeArray*)L_36)->max_length)))))
|
|
{
|
|
goto IL_0092;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.SimpleAimingSystem::LimitAimTarget()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleAimingSystem_LimitAimTarget_mAA1933D07101D4800599A60403ABD1A9C348BE07 (SimpleAimingSystem_t8DA0E8B184CECA460DFDA891E380644E9C72DFAB* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// Vector3 aimFrom = aim.solver.bones[0].transform.position;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_0 = __this->___aim_5;
|
|
NullCheck(L_0);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_1 = L_0->___solver_10;
|
|
NullCheck(L_1);
|
|
BoneU5BU5D_t384A868FF22BA2A4344F14B899695540877FB593* L_2 = ((IKSolverHeuristic_tE9187D7C8E900617B4FE451C82FF14BB5CF2F484*)L_1)->___bones_15;
|
|
NullCheck(L_2);
|
|
int32_t L_3 = 0;
|
|
Bone_t08B8D90F9F7409FAD0F5DB325E88341691FF6BAF* L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
NullCheck(L_4);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = ((Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9*)L_4)->___transform_0;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
|
|
V_0 = L_6;
|
|
// Vector3 direction = (aim.solver.IKPosition - aimFrom);
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_7 = __this->___aim_5;
|
|
NullCheck(L_7);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_8 = L_7->___solver_10;
|
|
NullCheck(L_8);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_8)->___IKPosition_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_9, L_10, NULL);
|
|
V_1 = L_11;
|
|
// direction = direction.normalized * Mathf.Max(direction.magnitude, minAimDistance);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_1), NULL);
|
|
float L_13;
|
|
L_13 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_1), NULL);
|
|
float L_14 = __this->___minAimDistance_9;
|
|
float L_15;
|
|
L_15 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_13, L_14, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_12, L_15, NULL);
|
|
V_1 = L_16;
|
|
// aim.solver.IKPosition = aimFrom + direction;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_17 = __this->___aim_5;
|
|
NullCheck(L_17);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_18 = L_17->___solver_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
L_21 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_19, L_20, NULL);
|
|
NullCheck(L_18);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_18)->___IKPosition_1 = L_21;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.SimpleAimingSystem::DirectCrossFade(System.String,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleAimingSystem_DirectCrossFade_m24DC0E7E9B75FE790636642E3A8C8082FBF807FA (SimpleAimingSystem_t8DA0E8B184CECA460DFDA891E380644E9C72DFAB* __this, String_t* ___0_state, float ___1_target, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float f = Mathf.MoveTowards(animator.GetFloat(state), target, Time.deltaTime * (1f / crossfadeTime));
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_0 = __this->___animator_7;
|
|
String_t* L_1 = ___0_state;
|
|
NullCheck(L_0);
|
|
float L_2;
|
|
L_2 = Animator_GetFloat_m10B455A15EB343175518CCBEE2818C2497CC678A(L_0, L_1, NULL);
|
|
float L_3 = ___1_target;
|
|
float L_4;
|
|
L_4 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_5 = __this->___crossfadeTime_8;
|
|
float L_6;
|
|
L_6 = Mathf_MoveTowards_m69751B5EC50D8E7127D4BB2C8D908E38808AF45D_inline(L_2, L_3, ((float)il2cpp_codegen_multiply(L_4, ((float)((1.0f)/L_5)))), NULL);
|
|
V_0 = L_6;
|
|
// animator.SetFloat(state, f);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_7 = __this->___animator_7;
|
|
String_t* L_8 = ___0_state;
|
|
float L_9 = V_0;
|
|
NullCheck(L_7);
|
|
Animator_SetFloat_m10C78733FAFC7AFEDBDACC48B7C66D3A35A0A7FE(L_7, L_8, L_9, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.SimpleAimingSystem::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleAimingSystem__ctor_m78D7976531810C1E7225745AFA7A524ECFD64F61 (SimpleAimingSystem_t8DA0E8B184CECA460DFDA891E380644E9C72DFAB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float crossfadeTime = 0.2f;
|
|
__this->___crossfadeTime_8 = (0.200000003f);
|
|
// public float minAimDistance = 0.5f;
|
|
__this->___minAimDistance_9 = (0.5f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.TerrainOffset::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainOffset_LateUpdate_m81DBB7E910B50737F8FBEE269072920CA8501ECF (TerrainOffset_t0CACCD4B4EFD56F6DFD242301A038A5B3E283EF4* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
// Vector3 worldOffset = transform.rotation * raycastOffset;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
|
|
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_0);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
|
|
L_1 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_0, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___raycastOffset_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_1, L_2, NULL);
|
|
V_0 = L_3;
|
|
// Vector3 realOffset = GetGroundHeightOffset(transform.position + worldOffset);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4;
|
|
L_4 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_4, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_5, L_6, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = TerrainOffset_GetGroundHeightOffset_mF2FF765EEA96B51445A50EC22131745C2272536D(__this, L_7, NULL);
|
|
V_1 = L_8;
|
|
// offset = Vector3.Lerp(offset, realOffset, Time.deltaTime * lerpSpeed);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = __this->___offset_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_1;
|
|
float L_11;
|
|
L_11 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_12 = __this->___lerpSpeed_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_9, L_10, ((float)il2cpp_codegen_multiply(L_11, L_12)), NULL);
|
|
__this->___offset_11 = L_13;
|
|
// Vector3 zeroOffsetPosition = transform.position + new Vector3(worldOffset.x, 0f, worldOffset.z);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14;
|
|
L_14 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_14, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_0;
|
|
float L_17 = L_16.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_0;
|
|
float L_19 = L_18.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
memset((&L_20), 0, sizeof(L_20));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_20), L_17, (0.0f), L_19, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
L_21 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_20, NULL);
|
|
V_2 = L_21;
|
|
// aimIK.solver.transform.LookAt(zeroOffsetPosition);
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_22 = __this->___aimIK_4;
|
|
NullCheck(L_22);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_23 = L_22->___solver_10;
|
|
NullCheck(L_23);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24 = L_23->___transform_18;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_2;
|
|
NullCheck(L_24);
|
|
Transform_LookAt_mFEF7353E4CAEB85D5F7CEEF9276C3B8D6E314C6C(L_24, L_25, NULL);
|
|
// aimIK.solver.IKPosition = zeroOffsetPosition + offset;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_26 = __this->___aimIK_4;
|
|
NullCheck(L_26);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_27 = L_26->___solver_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = __this->___offset_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_28, L_29, NULL);
|
|
NullCheck(L_27);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_27)->___IKPosition_1 = L_30;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 RootMotion.Demos.TerrainOffset::GetGroundHeightOffset(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 TerrainOffset_GetGroundHeightOffset_mF2FF765EEA96B51445A50EC22131745C2272536D (TerrainOffset_t0CACCD4B4EFD56F6DFD242301A038A5B3E283EF4* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_worldPosition, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Debug.DrawRay(worldPosition, Vector3.down * raycastOffset.y * 2f, Color.green);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_worldPosition;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_down_mF62B2AE7C5AC31EAC9CB62797C7190C90A7A8599_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_2 = (&__this->___raycastOffset_5);
|
|
float L_3 = L_2->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_1, L_3, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_4, (2.0f), NULL);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_6;
|
|
L_6 = Color_get_green_mEB001F2CD8C68C6BBAEF9101990B779D3AA2A6EF_inline(NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_DrawRay_mB172868181856F153732BB56C0BE1C58EE598F53(L_0, L_5, L_6, NULL);
|
|
// if (Physics.Raycast(worldPosition, Vector3.down, out hit, raycastOffset.y * 2f)) {
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___0_worldPosition;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_get_down_mF62B2AE7C5AC31EAC9CB62797C7190C90A7A8599_inline(NULL);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_9 = (&__this->___hit_10);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_10 = (&__this->___raycastOffset_5);
|
|
float L_11 = L_10->___y_3;
|
|
bool L_12;
|
|
L_12 = Physics_Raycast_m011EA7022C33B2C499EF744E5AF3E01EEB8FBD33(L_7, L_8, L_9, ((float)il2cpp_codegen_multiply(L_11, (2.0f))), NULL);
|
|
if (!L_12)
|
|
{
|
|
goto IL_008b;
|
|
}
|
|
}
|
|
{
|
|
// return Mathf.Clamp(hit.point.y - transform.position.y, min, max) * Vector3.up;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_13 = (&__this->___hit_10);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39(L_13, NULL);
|
|
float L_15 = L_14.___y_3;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16;
|
|
L_16 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_16);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_16, NULL);
|
|
float L_18 = L_17.___y_3;
|
|
float L_19 = __this->___min_7;
|
|
float L_20 = __this->___max_8;
|
|
float L_21;
|
|
L_21 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_subtract(L_15, L_18)), L_19, L_20, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_21, L_22, NULL);
|
|
return L_23;
|
|
}
|
|
|
|
IL_008b:
|
|
{
|
|
// return Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
L_24 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
return L_24;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TerrainOffset::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TerrainOffset__ctor_m09BFB7CB4D0F1E6A4009B8F171F173AE22AFE2C2 (TerrainOffset_t0CACCD4B4EFD56F6DFD242301A038A5B3E283EF4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 raycastOffset = new Vector3(0f, 2f, 1.5f); // Offset from the character, in local space, to raycast from
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_0), (0.0f), (2.0f), (1.5f), /*hidden argument*/NULL);
|
|
__this->___raycastOffset_5 = L_0;
|
|
// public float min = -2f, max = 2f; // Min and max for the offset
|
|
__this->___min_7 = (-2.0f);
|
|
// public float min = -2f, max = 2f; // Min and max for the offset
|
|
__this->___max_8 = (2.0f);
|
|
// public float lerpSpeed = 10f; // The speed of lerping the IKPosition to make things nice and smooth
|
|
__this->___lerpSpeed_9 = (10.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.BipedIKvsAnimatorIK::OnAnimatorIK(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BipedIKvsAnimatorIK_OnAnimatorIK_m962DEC3BA9E51A2F5BA9DA6C459B7773D877BE67 (BipedIKvsAnimatorIK_tF864E4358F7D2DA56D475D56BE905A75DD37C558* __this, int32_t ___0_layer, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// animator.transform.rotation = bipedIK.transform.rotation;
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_0 = __this->___animator_4;
|
|
NullCheck(L_0);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1;
|
|
L_1 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_0, NULL);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_2 = __this->___bipedIK_5;
|
|
NullCheck(L_2);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3;
|
|
L_3 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_2, NULL);
|
|
NullCheck(L_3);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
|
|
L_4 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_3, NULL);
|
|
NullCheck(L_1);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_1, L_4, NULL);
|
|
// Vector3 offset = animator.transform.position - bipedIK.transform.position;
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_5 = __this->___animator_4;
|
|
NullCheck(L_5);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
|
|
L_6 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_5, NULL);
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_8 = __this->___bipedIK_5;
|
|
NullCheck(L_8);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9;
|
|
L_9 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_8, NULL);
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_7, L_10, NULL);
|
|
V_0 = L_11;
|
|
// lookAtTargetAnimator.position = lookAtTargetBiped.position + offset;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = __this->___lookAtTargetAnimator_7;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13 = __this->___lookAtTargetBiped_6;
|
|
NullCheck(L_13);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_13, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_14, L_15, NULL);
|
|
NullCheck(L_12);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_12, L_16, NULL);
|
|
// bipedIK.SetLookAtPosition(lookAtTargetBiped.position);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_17 = __this->___bipedIK_5;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = __this->___lookAtTargetBiped_6;
|
|
NullCheck(L_18);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_18, NULL);
|
|
NullCheck(L_17);
|
|
BipedIK_SetLookAtPosition_mE51D81F2BF9CB6CBEE4E39C949EE7D770367103B(L_17, L_19, NULL);
|
|
// bipedIK.SetLookAtWeight(lookAtWeight, lookAtBodyWeight, lookAtHeadWeight, lookAtEyesWeight, lookAtClampWeight, lookAtClampWeightHead, lookAtClampWeightEyes);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_20 = __this->___bipedIK_5;
|
|
float L_21 = __this->___lookAtWeight_8;
|
|
float L_22 = __this->___lookAtBodyWeight_9;
|
|
float L_23 = __this->___lookAtHeadWeight_10;
|
|
float L_24 = __this->___lookAtEyesWeight_11;
|
|
float L_25 = __this->___lookAtClampWeight_12;
|
|
float L_26 = __this->___lookAtClampWeightHead_13;
|
|
float L_27 = __this->___lookAtClampWeightEyes_14;
|
|
NullCheck(L_20);
|
|
BipedIK_SetLookAtWeight_m01722C3297AFA8B81C44582E72678FEB22B0E2A3(L_20, L_21, L_22, L_23, L_24, L_25, L_26, L_27, NULL);
|
|
// animator.SetLookAtPosition(lookAtTargetAnimator.position);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_28 = __this->___animator_4;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = __this->___lookAtTargetAnimator_7;
|
|
NullCheck(L_29);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_29, NULL);
|
|
NullCheck(L_28);
|
|
Animator_SetLookAtPosition_m39A2C326BDE156360972C5EEDA1F9ACEBE34A8A6(L_28, L_30, NULL);
|
|
// animator.SetLookAtWeight(lookAtWeight, lookAtBodyWeight, lookAtHeadWeight, lookAtEyesWeight, lookAtClampWeight);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_31 = __this->___animator_4;
|
|
float L_32 = __this->___lookAtWeight_8;
|
|
float L_33 = __this->___lookAtBodyWeight_9;
|
|
float L_34 = __this->___lookAtHeadWeight_10;
|
|
float L_35 = __this->___lookAtEyesWeight_11;
|
|
float L_36 = __this->___lookAtClampWeight_12;
|
|
NullCheck(L_31);
|
|
Animator_SetLookAtWeight_m536B18C7EC83703CF0320924D9FE13CBD93CC752(L_31, L_32, L_33, L_34, L_35, L_36, NULL);
|
|
// footTargetAnimator.position = footTargetBiped.position + offset;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37 = __this->___footTargetAnimator_16;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_38 = __this->___footTargetBiped_15;
|
|
NullCheck(L_38);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
|
|
L_39 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_38, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
|
|
L_41 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_39, L_40, NULL);
|
|
NullCheck(L_37);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_37, L_41, NULL);
|
|
// footTargetAnimator.rotation = footTargetBiped.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_42 = __this->___footTargetAnimator_16;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_43 = __this->___footTargetBiped_15;
|
|
NullCheck(L_43);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44;
|
|
L_44 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_43, NULL);
|
|
NullCheck(L_42);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_42, L_44, NULL);
|
|
// bipedIK.SetIKPosition(AvatarIKGoal.LeftFoot, footTargetBiped.position);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_45 = __this->___bipedIK_5;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_46 = __this->___footTargetBiped_15;
|
|
NullCheck(L_46);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
|
|
L_47 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_46, NULL);
|
|
NullCheck(L_45);
|
|
BipedIK_SetIKPosition_mAC86D05921CF4A3AFC12CA9768875D4041539EF1(L_45, 0, L_47, NULL);
|
|
// bipedIK.SetIKRotation(AvatarIKGoal.LeftFoot, footTargetBiped.rotation);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_48 = __this->___bipedIK_5;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_49 = __this->___footTargetBiped_15;
|
|
NullCheck(L_49);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_50;
|
|
L_50 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_49, NULL);
|
|
NullCheck(L_48);
|
|
BipedIK_SetIKRotation_mEE3D8C4089667B3EC8B6B7FC9F186F16A53E7963(L_48, 0, L_50, NULL);
|
|
// bipedIK.SetIKPositionWeight(AvatarIKGoal.LeftFoot, footPositionWeight);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_51 = __this->___bipedIK_5;
|
|
float L_52 = __this->___footPositionWeight_17;
|
|
NullCheck(L_51);
|
|
BipedIK_SetIKPositionWeight_m0E8A23E38A5D9D719F9D47F7257DFE5592DEB81E(L_51, 0, L_52, NULL);
|
|
// bipedIK.SetIKRotationWeight(AvatarIKGoal.LeftFoot, footRotationWeight);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_53 = __this->___bipedIK_5;
|
|
float L_54 = __this->___footRotationWeight_18;
|
|
NullCheck(L_53);
|
|
BipedIK_SetIKRotationWeight_m6DF0A1BF99FF9FF900DD8B41D7ACEB0DA748F68F(L_53, 0, L_54, NULL);
|
|
// animator.SetIKPosition(AvatarIKGoal.LeftFoot, footTargetAnimator.position);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_55 = __this->___animator_4;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_56 = __this->___footTargetAnimator_16;
|
|
NullCheck(L_56);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
|
|
L_57 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_56, NULL);
|
|
NullCheck(L_55);
|
|
Animator_SetIKPosition_mB7BE88C93990186D94AF75439E2F216D6ECBCDEE(L_55, 0, L_57, NULL);
|
|
// animator.SetIKRotation(AvatarIKGoal.LeftFoot, footTargetAnimator.rotation);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_58 = __this->___animator_4;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_59 = __this->___footTargetAnimator_16;
|
|
NullCheck(L_59);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_60;
|
|
L_60 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_59, NULL);
|
|
NullCheck(L_58);
|
|
Animator_SetIKRotation_m328A64AD20922F0F2A1D0CD5DBB9F01FE7675DF6(L_58, 0, L_60, NULL);
|
|
// animator.SetIKPositionWeight(AvatarIKGoal.LeftFoot, footPositionWeight);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_61 = __this->___animator_4;
|
|
float L_62 = __this->___footPositionWeight_17;
|
|
NullCheck(L_61);
|
|
Animator_SetIKPositionWeight_m8C707F505FFE2A6F36BE81ED12786B941D3B990C(L_61, 0, L_62, NULL);
|
|
// animator.SetIKRotationWeight(AvatarIKGoal.LeftFoot, footRotationWeight);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_63 = __this->___animator_4;
|
|
float L_64 = __this->___footRotationWeight_18;
|
|
NullCheck(L_63);
|
|
Animator_SetIKRotationWeight_m5F0F5BD5A9A85912EA1CDF32917FE483E849978D(L_63, 0, L_64, NULL);
|
|
// handTargetAnimator.position = handTargetBiped.position + offset;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_65 = __this->___handTargetAnimator_20;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_66 = __this->___handTargetBiped_19;
|
|
NullCheck(L_66);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
|
|
L_67 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_66, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69;
|
|
L_69 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_67, L_68, NULL);
|
|
NullCheck(L_65);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_65, L_69, NULL);
|
|
// handTargetAnimator.rotation = handTargetBiped.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_70 = __this->___handTargetAnimator_20;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_71 = __this->___handTargetBiped_19;
|
|
NullCheck(L_71);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_72;
|
|
L_72 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_71, NULL);
|
|
NullCheck(L_70);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_70, L_72, NULL);
|
|
// bipedIK.SetIKPosition(AvatarIKGoal.LeftHand, handTargetBiped.position);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_73 = __this->___bipedIK_5;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_74 = __this->___handTargetBiped_19;
|
|
NullCheck(L_74);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
|
|
L_75 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_74, NULL);
|
|
NullCheck(L_73);
|
|
BipedIK_SetIKPosition_mAC86D05921CF4A3AFC12CA9768875D4041539EF1(L_73, 2, L_75, NULL);
|
|
// bipedIK.SetIKRotation(AvatarIKGoal.LeftHand, handTargetBiped.rotation);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_76 = __this->___bipedIK_5;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_77 = __this->___handTargetBiped_19;
|
|
NullCheck(L_77);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_78;
|
|
L_78 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_77, NULL);
|
|
NullCheck(L_76);
|
|
BipedIK_SetIKRotation_mEE3D8C4089667B3EC8B6B7FC9F186F16A53E7963(L_76, 2, L_78, NULL);
|
|
// bipedIK.SetIKPositionWeight(AvatarIKGoal.LeftHand, handPositionWeight);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_79 = __this->___bipedIK_5;
|
|
float L_80 = __this->___handPositionWeight_21;
|
|
NullCheck(L_79);
|
|
BipedIK_SetIKPositionWeight_m0E8A23E38A5D9D719F9D47F7257DFE5592DEB81E(L_79, 2, L_80, NULL);
|
|
// bipedIK.SetIKRotationWeight(AvatarIKGoal.LeftHand, handRotationWeight);
|
|
BipedIK_tE2E81247530D94C25C00BFF548AD3285D1670430* L_81 = __this->___bipedIK_5;
|
|
float L_82 = __this->___handRotationWeight_22;
|
|
NullCheck(L_81);
|
|
BipedIK_SetIKRotationWeight_m6DF0A1BF99FF9FF900DD8B41D7ACEB0DA748F68F(L_81, 2, L_82, NULL);
|
|
// animator.SetIKPosition(AvatarIKGoal.LeftHand, handTargetAnimator.position);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_83 = __this->___animator_4;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_84 = __this->___handTargetAnimator_20;
|
|
NullCheck(L_84);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85;
|
|
L_85 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_84, NULL);
|
|
NullCheck(L_83);
|
|
Animator_SetIKPosition_mB7BE88C93990186D94AF75439E2F216D6ECBCDEE(L_83, 2, L_85, NULL);
|
|
// animator.SetIKRotation(AvatarIKGoal.LeftHand, handTargetAnimator.rotation);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_86 = __this->___animator_4;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_87 = __this->___handTargetAnimator_20;
|
|
NullCheck(L_87);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_88;
|
|
L_88 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_87, NULL);
|
|
NullCheck(L_86);
|
|
Animator_SetIKRotation_m328A64AD20922F0F2A1D0CD5DBB9F01FE7675DF6(L_86, 2, L_88, NULL);
|
|
// animator.SetIKPositionWeight(AvatarIKGoal.LeftHand, handPositionWeight);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_89 = __this->___animator_4;
|
|
float L_90 = __this->___handPositionWeight_21;
|
|
NullCheck(L_89);
|
|
Animator_SetIKPositionWeight_m8C707F505FFE2A6F36BE81ED12786B941D3B990C(L_89, 2, L_90, NULL);
|
|
// animator.SetIKRotationWeight(AvatarIKGoal.LeftHand, handRotationWeight);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_91 = __this->___animator_4;
|
|
float L_92 = __this->___handRotationWeight_22;
|
|
NullCheck(L_91);
|
|
Animator_SetIKRotationWeight_m5F0F5BD5A9A85912EA1CDF32917FE483E849978D(L_91, 2, L_92, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.BipedIKvsAnimatorIK::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BipedIKvsAnimatorIK__ctor_mCADAE017D73B02093FEC27B62A4628CC56F49426 (BipedIKvsAnimatorIK_tF864E4358F7D2DA56D475D56BE905A75DD37C558* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// [Range(0f, 1f)] public float lookAtWeight = 1f;
|
|
__this->___lookAtWeight_8 = (1.0f);
|
|
// [Range(0f, 1f)] public float lookAtBodyWeight = 1f;
|
|
__this->___lookAtBodyWeight_9 = (1.0f);
|
|
// [Range(0f, 1f)] public float lookAtHeadWeight = 1f;
|
|
__this->___lookAtHeadWeight_10 = (1.0f);
|
|
// [Range(0f, 1f)] public float lookAtEyesWeight = 1f;
|
|
__this->___lookAtEyesWeight_11 = (1.0f);
|
|
// [Range(0f, 1f)] public float lookAtClampWeight = 0.5f;
|
|
__this->___lookAtClampWeight_12 = (0.5f);
|
|
// [Range(0f, 1f)] public float lookAtClampWeightHead = 0.5f;
|
|
__this->___lookAtClampWeightHead_13 = (0.5f);
|
|
// [Range(0f, 1f)] public float lookAtClampWeightEyes = 0.5f;
|
|
__this->___lookAtClampWeightEyes_14 = (0.5f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpider::get_velocity()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpider_get_velocity_m3437A8F7DB3B389FCCD0D7740D31916AC5D2CF15 (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 velocity { get; private set; }
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CvelocityU3Ek__BackingField_17;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpider::set_velocity(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpider_set_velocity_m4588D27FA66CDFA2599588661E31E58C3841D7F0 (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 velocity { get; private set; }
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
|
|
__this->___U3CvelocityU3Ek__BackingField_17 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpider::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpider_Start_m74B64468293ADFC77432D15C4766E77CFBD4A960 (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// lastPosition = transform.position;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
|
|
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_0, NULL);
|
|
__this->___lastPosition_18 = L_1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpider::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpider_Update_m75C08679FF64FF775990E166CE2275091E0F7EDF (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
float V_3 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
{
|
|
// velocity = (transform.position - lastPosition) / Time.deltaTime;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
|
|
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_0, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___lastPosition_18;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_1, L_2, NULL);
|
|
float L_4;
|
|
L_4 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_3, L_4, NULL);
|
|
MechSpider_set_velocity_m4588D27FA66CDFA2599588661E31E58C3841D7F0_inline(__this, L_5, NULL);
|
|
// lastPosition = transform.position;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
|
|
L_6 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
|
|
__this->___lastPosition_18 = L_7;
|
|
// Vector3 legsPlaneNormal = GetLegsPlaneNormal();
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = MechSpider_GetLegsPlaneNormal_m3F2106ECC878335C0F71B4F8FAE3126360DD8788(__this, NULL);
|
|
V_0 = L_8;
|
|
// Quaternion fromTo = Quaternion.FromToRotation(transform.up, legsPlaneNormal);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9;
|
|
L_9 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_9, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = V_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
|
|
L_12 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_10, L_11, NULL);
|
|
V_1 = L_12;
|
|
// transform.rotation = Quaternion.Slerp(transform.rotation, fromTo * transform.rotation, Time.deltaTime * rootRotationSpeed);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13;
|
|
L_13 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14;
|
|
L_14 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_14);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
|
|
L_15 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_14, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16 = V_1;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17;
|
|
L_17 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_17);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
|
|
L_18 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_17, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19;
|
|
L_19 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_16, L_18, NULL);
|
|
float L_20;
|
|
L_20 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_21 = __this->___rootRotationSpeed_10;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
|
|
L_22 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_15, L_19, ((float)il2cpp_codegen_multiply(L_20, L_21)), NULL);
|
|
NullCheck(L_13);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_13, L_22, NULL);
|
|
// Vector3 legCentroid = GetLegCentroid();
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = MechSpider_GetLegCentroid_m61BC2C1D121501EC4CBD3DD46751381ED9DB6762(__this, NULL);
|
|
// Vector3 heightOffset = Vector3.Project((legCentroid + transform.up * height * scale) - transform.position, transform.up);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24;
|
|
L_24 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_24, NULL);
|
|
float L_26 = __this->___height_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
|
|
L_27 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_25, L_26, NULL);
|
|
float L_28 = __this->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_27, L_28, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_23, L_29, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_31;
|
|
L_31 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_31);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_31, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_30, L_32, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_34;
|
|
L_34 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_34);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_34, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
|
|
L_36 = Vector3_Project_m85DF3CB297EC5E1A17BD6266FF65E86AB7372C9B_inline(L_33, L_35, NULL);
|
|
V_2 = L_36;
|
|
// transform.position += heightOffset * Time.deltaTime * (rootPositionSpeed * scale);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37;
|
|
L_37 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_38 = L_37;
|
|
NullCheck(L_38);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
|
|
L_39 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_38, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = V_2;
|
|
float L_41;
|
|
L_41 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
|
|
L_42 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_40, L_41, NULL);
|
|
float L_43 = __this->___rootPositionSpeed_9;
|
|
float L_44 = __this->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
L_45 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_42, ((float)il2cpp_codegen_multiply(L_43, L_44)), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
|
|
L_46 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_39, L_45, NULL);
|
|
NullCheck(L_38);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_38, L_46, NULL);
|
|
// if (Physics.Raycast(transform.position + transform.up * raycastHeight * scale, -transform.up, out rootHit, (raycastHeight * scale) + (raycastDistance * scale), raycastLayers)) {
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_47;
|
|
L_47 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_47);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
|
|
L_48 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_47, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_49;
|
|
L_49 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_49);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
|
|
L_50 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_49, NULL);
|
|
float L_51 = __this->___raycastHeight_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
|
|
L_52 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_50, L_51, NULL);
|
|
float L_53 = __this->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
|
|
L_54 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_52, L_53, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
|
|
L_55 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_48, L_54, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_56;
|
|
L_56 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_56);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
|
|
L_57 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_56, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_57, NULL);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_59 = (&__this->___rootHit_21);
|
|
float L_60 = __this->___raycastHeight_15;
|
|
float L_61 = __this->___scale_5;
|
|
float L_62 = __this->___raycastDistance_16;
|
|
float L_63 = __this->___scale_5;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_64 = __this->___raycastLayers_4;
|
|
int32_t L_65;
|
|
L_65 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_64, NULL);
|
|
bool L_66;
|
|
L_66 = Physics_Raycast_m56120FFEF0D4F0A44CCA505B5C946E6FB8742F12(L_55, L_58, L_59, ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_60, L_61)), ((float)il2cpp_codegen_multiply(L_62, L_63)))), L_65, NULL);
|
|
if (!L_66)
|
|
{
|
|
goto IL_021b;
|
|
}
|
|
}
|
|
{
|
|
// rootHit.distance -= (raycastHeight * scale) + (minHeight * scale);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_67 = (&__this->___rootHit_21);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_68 = L_67;
|
|
float L_69;
|
|
L_69 = RaycastHit_get_distance_m035194B0E9BB6229259CFC43B095A9C8E5011C78(L_68, NULL);
|
|
float L_70 = __this->___raycastHeight_15;
|
|
float L_71 = __this->___scale_5;
|
|
float L_72 = __this->___minHeight_14;
|
|
float L_73 = __this->___scale_5;
|
|
RaycastHit_set_distance_mD5C9C6A5F7EDFFAC302DA4981F3483AA9981A9DC(L_68, ((float)il2cpp_codegen_subtract(L_69, ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_70, L_71)), ((float)il2cpp_codegen_multiply(L_72, L_73)))))), NULL);
|
|
// if (rootHit.distance < 0f) {
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_74 = (&__this->___rootHit_21);
|
|
float L_75;
|
|
L_75 = RaycastHit_get_distance_m035194B0E9BB6229259CFC43B095A9C8E5011C78(L_74, NULL);
|
|
if ((!(((float)L_75) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_021b;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 targetPosition = transform.position - transform.up * rootHit.distance;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_76;
|
|
L_76 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_76);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77;
|
|
L_77 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_76, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_78;
|
|
L_78 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_78);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
|
|
L_79 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_78, NULL);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_80 = (&__this->___rootHit_21);
|
|
float L_81;
|
|
L_81 = RaycastHit_get_distance_m035194B0E9BB6229259CFC43B095A9C8E5011C78(L_80, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
|
|
L_82 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_79, L_81, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83;
|
|
L_83 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_77, L_82, NULL);
|
|
V_5 = L_83;
|
|
// transform.position = Vector3.Lerp(transform.position, targetPosition, Time.deltaTime * rootPositionSpeed * scale);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_84;
|
|
L_84 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_85;
|
|
L_85 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_85);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86;
|
|
L_86 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_85, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = V_5;
|
|
float L_88;
|
|
L_88 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_89 = __this->___rootPositionSpeed_9;
|
|
float L_90 = __this->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91;
|
|
L_91 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_86, L_87, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_88, L_89)), L_90)), NULL);
|
|
NullCheck(L_84);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_84, L_91, NULL);
|
|
}
|
|
|
|
IL_021b:
|
|
{
|
|
// sine += Time.deltaTime * breatheSpeed;
|
|
float L_92 = __this->___sine_20;
|
|
float L_93;
|
|
L_93 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_94 = __this->___breatheSpeed_11;
|
|
__this->___sine_20 = ((float)il2cpp_codegen_add(L_92, ((float)il2cpp_codegen_multiply(L_93, L_94))));
|
|
// if (sine >= Mathf.PI * 2f) sine -= Mathf.PI * 2f;
|
|
float L_95 = __this->___sine_20;
|
|
if ((!(((float)L_95) >= ((float)(6.28318548f)))))
|
|
{
|
|
goto IL_0253;
|
|
}
|
|
}
|
|
{
|
|
// if (sine >= Mathf.PI * 2f) sine -= Mathf.PI * 2f;
|
|
float L_96 = __this->___sine_20;
|
|
__this->___sine_20 = ((float)il2cpp_codegen_subtract(L_96, (6.28318548f)));
|
|
}
|
|
|
|
IL_0253:
|
|
{
|
|
// float br = Mathf.Sin(sine) * breatheMagnitude * scale;
|
|
float L_97 = __this->___sine_20;
|
|
float L_98;
|
|
L_98 = sinf(L_97);
|
|
float L_99 = __this->___breatheMagnitude_12;
|
|
float L_100 = __this->___scale_5;
|
|
V_3 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_98, L_99)), L_100));
|
|
// Vector3 breatheOffset = transform.up * br;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_101;
|
|
L_101 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_101);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102;
|
|
L_102 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_101, NULL);
|
|
float L_103 = V_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104;
|
|
L_104 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_102, L_103, NULL);
|
|
V_4 = L_104;
|
|
// body.transform.position = transform.position + breatheOffset;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_105 = __this->___body_6;
|
|
NullCheck(L_105);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_106;
|
|
L_106 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_105, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_107;
|
|
L_107 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_107);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_108;
|
|
L_108 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_107, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_109 = V_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110;
|
|
L_110 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_108, L_109, NULL);
|
|
NullCheck(L_106);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_106, L_110, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpider::GetLegCentroid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpider_GetLegCentroid_m61BC2C1D121501EC4CBD3DD46751381ED9DB6762 (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
float V_1 = 0.0f;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// Vector3 position = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_0 = L_0;
|
|
// float footWeight = 1f / (float)legs.Length;
|
|
MechSpiderLegU5BU5D_t4E6805D9391202606A68614995F81B0243A80DD9* L_1 = __this->___legs_7;
|
|
NullCheck(L_1);
|
|
V_1 = ((float)((1.0f)/((float)((int32_t)(((RuntimeArray*)L_1)->max_length)))));
|
|
// for (int i = 0; i < legs.Length; i++) {
|
|
V_2 = 0;
|
|
goto IL_0038;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// position += legs[i].position * footWeight;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = V_0;
|
|
MechSpiderLegU5BU5D_t4E6805D9391202606A68614995F81B0243A80DD9* L_3 = __this->___legs_7;
|
|
int32_t L_4 = V_2;
|
|
NullCheck(L_3);
|
|
int32_t L_5 = L_4;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(L_6, NULL);
|
|
float L_8 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_7, L_8, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_2, L_9, NULL);
|
|
V_0 = L_10;
|
|
// for (int i = 0; i < legs.Length; i++) {
|
|
int32_t L_11 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
// for (int i = 0; i < legs.Length; i++) {
|
|
int32_t L_12 = V_2;
|
|
MechSpiderLegU5BU5D_t4E6805D9391202606A68614995F81B0243A80DD9* L_13 = __this->___legs_7;
|
|
NullCheck(L_13);
|
|
if ((((int32_t)L_12) < ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// return position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = V_0;
|
|
return L_14;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpider::GetLegsPlaneNormal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpider_GetLegsPlaneNormal_m3F2106ECC878335C0F71B4F8FAE3126360DD8788 (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
float V_1 = 0.0f;
|
|
int32_t V_2 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
{
|
|
// Vector3 normal = transform.up;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
|
|
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_0, NULL);
|
|
V_0 = L_1;
|
|
// if (legRotationWeight <= 0f) return normal;
|
|
float L_2 = __this->___legRotationWeight_8;
|
|
if ((!(((float)L_2) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
// if (legRotationWeight <= 0f) return normal;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// float legWeight = 1f / Mathf.Lerp(legs.Length, 1f, legRotationWeight);
|
|
MechSpiderLegU5BU5D_t4E6805D9391202606A68614995F81B0243A80DD9* L_4 = __this->___legs_7;
|
|
NullCheck(L_4);
|
|
float L_5 = __this->___legRotationWeight_8;
|
|
float L_6;
|
|
L_6 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(((float)((int32_t)(((RuntimeArray*)L_4)->max_length))), (1.0f), L_5, NULL);
|
|
V_1 = ((float)((1.0f)/L_6));
|
|
// for (int i = 0; i < legs.Length; i++) {
|
|
V_2 = 0;
|
|
goto IL_00c5;
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// Vector3 legDirection = legs[i].position - (transform.position - transform.up * height * scale);
|
|
MechSpiderLegU5BU5D_t4E6805D9391202606A68614995F81B0243A80DD9* L_7 = __this->___legs_7;
|
|
int32_t L_8 = V_2;
|
|
NullCheck(L_7);
|
|
int32_t L_9 = L_8;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
|
|
NullCheck(L_10);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(L_10, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12;
|
|
L_12 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_12);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_12, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14;
|
|
L_14 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_14, NULL);
|
|
float L_16 = __this->___height_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_15, L_16, NULL);
|
|
float L_18 = __this->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_17, L_18, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
L_20 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_13, L_19, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
L_21 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_11, L_20, NULL);
|
|
V_3 = L_21;
|
|
// Vector3 legNormal = transform.up;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22;
|
|
L_22 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_22, NULL);
|
|
V_4 = L_23;
|
|
// Vector3 legTangent = legDirection;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_3;
|
|
V_5 = L_24;
|
|
// Vector3.OrthoNormalize(ref legNormal, ref legTangent);
|
|
Vector3_OrthoNormalize_m4450C7BEB70DBFA60E3AAC08C98CDAE831A54158((&V_4), (&V_5), NULL);
|
|
// Quaternion fromTo = Quaternion.FromToRotation(legTangent, legDirection);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27;
|
|
L_27 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_25, L_26, NULL);
|
|
V_6 = L_27;
|
|
// fromTo = Quaternion.Lerp(Quaternion.identity, fromTo, legWeight);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_28;
|
|
L_28 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_29 = V_6;
|
|
float L_30 = V_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31;
|
|
L_31 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_28, L_29, L_30, NULL);
|
|
V_6 = L_31;
|
|
// normal = fromTo * normal;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = V_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
|
|
L_34 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_32, L_33, NULL);
|
|
V_0 = L_34;
|
|
// for (int i = 0; i < legs.Length; i++) {
|
|
int32_t L_35 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_35, 1));
|
|
}
|
|
|
|
IL_00c5:
|
|
{
|
|
// for (int i = 0; i < legs.Length; i++) {
|
|
int32_t L_36 = V_2;
|
|
MechSpiderLegU5BU5D_t4E6805D9391202606A68614995F81B0243A80DD9* L_37 = __this->___legs_7;
|
|
NullCheck(L_37);
|
|
if ((((int32_t)L_36) < ((int32_t)((int32_t)(((RuntimeArray*)L_37)->max_length)))))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
// return normal;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_0;
|
|
return L_38;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpider::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpider__ctor_mFFFBB0CF3E459359EBB96082B98465CE0AB6BDEE (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float scale = 1f; // For resizing the values when the mech is resized
|
|
__this->___scale_5 = (1.0f);
|
|
// public float legRotationWeight = 1f; // The weight of rotating the body to each leg
|
|
__this->___legRotationWeight_8 = (1.0f);
|
|
// public float rootPositionSpeed = 5f; // The speed of positioning the root
|
|
__this->___rootPositionSpeed_9 = (5.0f);
|
|
// public float rootRotationSpeed = 30f; // The slerp speed of rotating the root to leg heights
|
|
__this->___rootRotationSpeed_10 = (30.0f);
|
|
// public float breatheSpeed = 2f; // Speed of the breathing cycle
|
|
__this->___breatheSpeed_11 = (2.0f);
|
|
// public float breatheMagnitude = 0.2f; // Magnitude of breathing
|
|
__this->___breatheMagnitude_12 = (0.200000003f);
|
|
// public float height = 3.5f; // Height from ground
|
|
__this->___height_13 = (3.5f);
|
|
// public float minHeight = 2f; // The minimum height from ground
|
|
__this->___minHeight_14 = (2.0f);
|
|
// public float raycastHeight = 10f; // The height of ray origin
|
|
__this->___raycastHeight_15 = (10.0f);
|
|
// public float raycastDistance = 5f; // The distance of rays (total ray length = raycastHeight + raycastDistance)
|
|
__this->___raycastDistance_16 = (5.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderController::get_inputVector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpiderController_get_inputVector_m286176C5F883DB313B3750E8D66B412AB65EBC6D (MechSpiderController_t5804A9789F4C8493AC593B390D111B5F2572A0DB* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral265E15F1F86F1C766555899D5771CF29055DE75A);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7F8C014BD4810CC276D0F9F81A1E759C7B098B1E);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return new Vector3(Input.GetAxis("Horizontal"), 0, Input.GetAxis("Vertical"));
|
|
float L_0;
|
|
L_0 = Input_GetAxis_m10372E6C5FF591668D2DC5F58C58D213CC598A62(_stringLiteral7F8C014BD4810CC276D0F9F81A1E759C7B098B1E, NULL);
|
|
float L_1;
|
|
L_1 = Input_GetAxis_m10372E6C5FF591668D2DC5F58C58D213CC598A62(_stringLiteral265E15F1F86F1C766555899D5771CF29055DE75A, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_2), L_0, (0.0f), L_1, /*hidden argument*/NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderController::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderController_Update_m39AA8C689F66FDCF6D5F80081F14FE1BEC085FDE (MechSpiderController_t5804A9789F4C8493AC593B390D111B5F2572A0DB* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
{
|
|
// Vector3 cameraForward = cameraTransform.forward;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___cameraTransform_5;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_0, NULL);
|
|
V_0 = L_1;
|
|
// Vector3 camNormal = transform.up;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2;
|
|
L_2 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_2, NULL);
|
|
V_1 = L_3;
|
|
// Vector3.OrthoNormalize(ref camNormal, ref cameraForward);
|
|
Vector3_OrthoNormalize_m4450C7BEB70DBFA60E3AAC08C98CDAE831A54158((&V_1), (&V_0), NULL);
|
|
// Quaternion cameraLookRotation = Quaternion.LookRotation(cameraForward, transform.up);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = V_0;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5;
|
|
L_5 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_5, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_4, L_6, NULL);
|
|
V_2 = L_7;
|
|
// transform.Translate(cameraLookRotation * inputVector.normalized * Time.deltaTime * speed * mechSpider.scale, Space.World);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8;
|
|
L_8 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = MechSpiderController_get_inputVector_m286176C5F883DB313B3750E8D66B412AB65EBC6D(__this, NULL);
|
|
V_3 = L_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_3), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_9, L_11, NULL);
|
|
float L_13;
|
|
L_13 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_12, L_13, NULL);
|
|
float L_15 = __this->___speed_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_14, L_15, NULL);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_17 = __this->___mechSpider_4;
|
|
NullCheck(L_17);
|
|
float L_18 = L_17->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_16, L_18, NULL);
|
|
NullCheck(L_8);
|
|
Transform_Translate_m4A9E3D8836586E7562F6A18EBF5F5B6089D8B649(L_8, L_19, 0, NULL);
|
|
// transform.rotation = Quaternion.RotateTowards(transform.rotation, cameraLookRotation, Time.deltaTime * turnSpeed);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_20;
|
|
L_20 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_21;
|
|
L_21 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_21);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
|
|
L_22 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_21, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23 = V_2;
|
|
float L_24;
|
|
L_24 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_25 = __this->___turnSpeed_7;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26;
|
|
L_26 = Quaternion_RotateTowards_m50EF9D609C80CD423CDA856EA3481DE2004633A3_inline(L_22, L_23, ((float)il2cpp_codegen_multiply(L_24, L_25)), NULL);
|
|
NullCheck(L_20);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_20, L_26, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderController::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderController__ctor_mAEF8099F07B8FE1A0E26785F9D58F13638C99A6F (MechSpiderController_t5804A9789F4C8493AC593B390D111B5F2572A0DB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float speed = 6f; // Horizontal speed of the spider
|
|
__this->___speed_6 = (6.0f);
|
|
// public float turnSpeed = 30f; // The speed of turning the spider to align with the camera
|
|
__this->___turnSpeed_7 = (30.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Boolean RootMotion.Demos.MechSpiderLeg::get_isStepping()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MechSpiderLeg_get_isStepping_m6B19795D4349CD74790A2365D85AFBFC671427CD (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return stepProgress < 1f;
|
|
float L_0 = __this->___stepProgress_19;
|
|
return (bool)((((float)L_0) < ((float)(1.0f)))? 1 : 0);
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderLeg::get_position()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return ik.GetIKSolver().GetIKPosition();
|
|
IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1* L_0 = __this->___ik_18;
|
|
NullCheck(L_0);
|
|
IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* L_1;
|
|
L_1 = VirtualFuncInvoker0< IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* >::Invoke(7 /* RootMotion.FinalIK.IKSolver RootMotion.FinalIK.IK::GetIKSolver() */, L_0);
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = VirtualFuncInvoker0< Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 >::Invoke(5 /* UnityEngine.Vector3 RootMotion.FinalIK.IKSolver::GetIKPosition() */, L_1);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderLeg::set_position(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderLeg_set_position_m4D20A1F34BAD64CF2C1799E0B91A5611CFFE5ADF (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ik.GetIKSolver().SetIKPosition(value);
|
|
IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1* L_0 = __this->___ik_18;
|
|
NullCheck(L_0);
|
|
IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* L_1;
|
|
L_1 = VirtualFuncInvoker0< IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* >::Invoke(7 /* RootMotion.FinalIK.IKSolver RootMotion.FinalIK.IK::GetIKSolver() */, L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_value;
|
|
NullCheck(L_1);
|
|
IKSolver_SetIKPosition_mAD50B3B8887E71DA6A96F329A0A92CB65F7D2A95_inline(L_1, L_2, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderLeg::Awake()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderLeg_Awake_mCD3B959A368F77E8866934C6C23E6A268C675ECC (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisIK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1_mEC09F86A79F43E43C9714AE242406F68A5844E23_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MechSpiderLeg_AfterIK_mB3B55023FE77F1DB1827D4ECDCF5EB000769780D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// ik = GetComponent<IK>();
|
|
IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1* L_0;
|
|
L_0 = Component_GetComponent_TisIK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1_mEC09F86A79F43E43C9714AE242406F68A5844E23(__this, Component_GetComponent_TisIK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1_mEC09F86A79F43E43C9714AE242406F68A5844E23_RuntimeMethod_var);
|
|
__this->___ik_18 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___ik_18), (void*)L_0);
|
|
// if (foot != null)
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = __this->___foot_14;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0089;
|
|
}
|
|
}
|
|
{
|
|
// if (footUpAxis == Vector3.zero) footUpAxis = Quaternion.Inverse(foot.rotation) * Vector3.up;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___footUpAxis_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_5;
|
|
L_5 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_3, L_4, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
{
|
|
// if (footUpAxis == Vector3.zero) footUpAxis = Quaternion.Inverse(foot.rotation) * Vector3.up;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = __this->___foot_14;
|
|
NullCheck(L_6);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_6, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
|
|
L_8 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_7, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_8, L_9, NULL);
|
|
__this->___footUpAxis_15 = L_10;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// lastFootLocalRotation = foot.localRotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = __this->___foot_14;
|
|
NullCheck(L_11);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
|
|
L_12 = Transform_get_localRotation_mD53D37611A5DAE93EC6C7BBCAC337408C5CACA77(L_11, NULL);
|
|
__this->___lastFootLocalRotation_23 = L_12;
|
|
// ik.GetIKSolver().OnPostUpdate += AfterIK;
|
|
IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1* L_13 = __this->___ik_18;
|
|
NullCheck(L_13);
|
|
IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* L_14;
|
|
L_14 = VirtualFuncInvoker0< IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* >::Invoke(7 /* RootMotion.FinalIK.IKSolver RootMotion.FinalIK.IK::GetIKSolver() */, L_13);
|
|
IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* L_15 = L_14;
|
|
NullCheck(L_15);
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_16 = L_15->___OnPostUpdate_7;
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_17 = (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)il2cpp_codegen_object_new(UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_17);
|
|
UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971(L_17, __this, (intptr_t)((void*)MechSpiderLeg_AfterIK_mB3B55023FE77F1DB1827D4ECDCF5EB000769780D_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_18;
|
|
L_18 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_16, L_17, NULL);
|
|
NullCheck(L_15);
|
|
L_15->___OnPostUpdate_7 = ((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_18, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_15->___OnPostUpdate_7), (void*)((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_18, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var)));
|
|
}
|
|
|
|
IL_0089:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderLeg::AfterIK()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderLeg_AfterIK_mB3B55023FE77F1DB1827D4ECDCF5EB000769780D (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// if (foot == null) return;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___foot_14;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (foot == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// foot.localRotation = lastFootLocalRotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___foot_14;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = __this->___lastFootLocalRotation_23;
|
|
NullCheck(L_2);
|
|
Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA(L_2, L_3, NULL);
|
|
// smoothHitNormal = Vector3.Slerp(smoothHitNormal, hit.normal, Time.deltaTime * footRotationSpeed);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = __this->___smoothHitNormal_24;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_5 = (&__this->___hit_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = RaycastHit_get_normal_mD8741B70D2039C5CAFC4368D4CE59D89562040B5(L_5, NULL);
|
|
float L_7;
|
|
L_7 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_8 = __this->___footRotationSpeed_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_Slerp_m6CA14E5B6F6217802BAA0ADD2C9D086C741BA09C(L_4, L_6, ((float)il2cpp_codegen_multiply(L_7, L_8)), NULL);
|
|
__this->___smoothHitNormal_24 = L_9;
|
|
// Quaternion f = Quaternion.FromToRotation(foot.rotation * footUpAxis, smoothHitNormal);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = __this->___foot_14;
|
|
NullCheck(L_10);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
|
|
L_11 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_10, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = __this->___footUpAxis_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_11, L_12, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = __this->___smoothHitNormal_24;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
|
|
L_15 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_13, L_14, NULL);
|
|
V_0 = L_15;
|
|
// foot.rotation = f * foot.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = __this->___foot_14;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17 = V_0;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = __this->___foot_14;
|
|
NullCheck(L_18);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19;
|
|
L_19 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_18, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20;
|
|
L_20 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_17, L_19, NULL);
|
|
NullCheck(L_16);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_16, L_20, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderLeg::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderLeg_Start_mEE89EE6F916AB88098D9722FFE21C4B78CED832B (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, const RuntimeMethod* method)
|
|
{
|
|
PointU5BU5D_tCD6673DF974ECCCD942E643E05EAD6C28FB4C7BB* V_0 = NULL;
|
|
{
|
|
// stepProgress = 1f;
|
|
__this->___stepProgress_19 = (1.0f);
|
|
// hit = new RaycastHit();
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_0 = (&__this->___hit_22);
|
|
il2cpp_codegen_initobj(L_0, sizeof(RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5));
|
|
// var points = ik.GetIKSolver().GetPoints();
|
|
IK_t8026AD64782C89DB3C8933F61F5E287C0542C4A1* L_1 = __this->___ik_18;
|
|
NullCheck(L_1);
|
|
IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* L_2;
|
|
L_2 = VirtualFuncInvoker0< IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* >::Invoke(7 /* RootMotion.FinalIK.IKSolver RootMotion.FinalIK.IK::GetIKSolver() */, L_1);
|
|
NullCheck(L_2);
|
|
PointU5BU5D_tCD6673DF974ECCCD942E643E05EAD6C28FB4C7BB* L_3;
|
|
L_3 = VirtualFuncInvoker0< PointU5BU5D_tCD6673DF974ECCCD942E643E05EAD6C28FB4C7BB* >::Invoke(6 /* RootMotion.FinalIK.IKSolver/Point[] RootMotion.FinalIK.IKSolver::GetPoints() */, L_2);
|
|
V_0 = L_3;
|
|
// position = points[points.Length - 1].transform.position;
|
|
PointU5BU5D_tCD6673DF974ECCCD942E643E05EAD6C28FB4C7BB* L_4 = V_0;
|
|
PointU5BU5D_tCD6673DF974ECCCD942E643E05EAD6C28FB4C7BB* L_5 = V_0;
|
|
NullCheck(L_5);
|
|
NullCheck(L_4);
|
|
int32_t L_6 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_5)->max_length)), 1));
|
|
Point_tE1331AFAADEE55148104B91744C9DB6766A5C9E9* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
NullCheck(L_7);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = L_7->___transform_0;
|
|
NullCheck(L_8);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_8, NULL);
|
|
MechSpiderLeg_set_position_m4D20A1F34BAD64CF2C1799E0B91A5611CFFE5ADF(__this, L_9, NULL);
|
|
// lastStepPosition = position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(__this, NULL);
|
|
__this->___lastStepPosition_25 = L_10;
|
|
// hit.point = position;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_11 = (&__this->___hit_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(__this, NULL);
|
|
RaycastHit_set_point_m3B63BEB25A82BFCF9FBB300022D0362BC2CF9E11(L_11, L_12, NULL);
|
|
// defaultPosition = mechSpider.transform.InverseTransformPoint(position + offset * mechSpider.scale);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_13 = __this->___mechSpider_4;
|
|
NullCheck(L_13);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14;
|
|
L_14 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_13, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = __this->___offset_6;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_17 = __this->___mechSpider_4;
|
|
NullCheck(L_17);
|
|
float L_18 = L_17->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_16, L_18, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
L_20 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_19, NULL);
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
L_21 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_14, L_20, NULL);
|
|
__this->___defaultPosition_21 = L_21;
|
|
// StartCoroutine(Step(position, position));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(__this, NULL);
|
|
RuntimeObject* L_24;
|
|
L_24 = MechSpiderLeg_Step_mDB7F2D550BFC2DD6116A1E039590D6F0D30E39D6(__this, L_22, L_23, NULL);
|
|
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B* L_25;
|
|
L_25 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_24, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 RootMotion.Demos.MechSpiderLeg::GetStepTarget(System.Boolean&,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpiderLeg_GetStepTarget_m6098AAC0FAFF0C937A572BF274EB7937724D9B26 (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, bool* ___0_stepFound, float ___1_focus, float ___2_distance, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
// stepFound = false;
|
|
bool* L_0 = ___0_stepFound;
|
|
*((int8_t*)L_0) = (int8_t)0;
|
|
// Vector3 stepTarget = mechSpider.transform.TransformPoint(defaultPosition);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_1 = __this->___mechSpider_4;
|
|
NullCheck(L_1);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2;
|
|
L_2 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_1, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___defaultPosition_21;
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_2, L_3, NULL);
|
|
// stepTarget += mechSpider.velocity * velocityPrediction;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_5 = __this->___mechSpider_4;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = MechSpider_get_velocity_m3437A8F7DB3B389FCCD0D7740D31916AC5D2CF15_inline(L_5, NULL);
|
|
float L_7 = __this->___velocityPrediction_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_6, L_7, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_4, L_8, NULL);
|
|
// Vector3 up = mechSpider.transform.up;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_10 = __this->___mechSpider_4;
|
|
NullCheck(L_10);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11;
|
|
L_11 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_10, NULL);
|
|
NullCheck(L_11);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_11, NULL);
|
|
V_0 = L_12;
|
|
// Vector3 toBody = mechSpider.body.position - position;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_13 = __this->___mechSpider_4;
|
|
NullCheck(L_13);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = L_13->___body_6;
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_14, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_15, L_16, NULL);
|
|
V_1 = L_17;
|
|
// Vector3 axis = Vector3.Cross(up, toBody);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
L_20 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_18, L_19, NULL);
|
|
V_2 = L_20;
|
|
// up = Quaternion.AngleAxis(focus, axis) * up;
|
|
float L_21 = ___1_focus;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23;
|
|
L_23 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_21, L_22, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_23, L_24, NULL);
|
|
V_0 = L_25;
|
|
// if (Physics.Raycast(stepTarget + up * mechSpider.raycastHeight * mechSpider.scale, -up, out hit, mechSpider.raycastHeight * mechSpider.scale + distance, mechSpider.raycastLayers)) stepFound = true;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_0;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_27 = __this->___mechSpider_4;
|
|
NullCheck(L_27);
|
|
float L_28 = L_27->___raycastHeight_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_26, L_28, NULL);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_30 = __this->___mechSpider_4;
|
|
NullCheck(L_30);
|
|
float L_31 = L_30->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_29, L_31, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_9, L_32, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_34, NULL);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_36 = (&__this->___hit_22);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_37 = __this->___mechSpider_4;
|
|
NullCheck(L_37);
|
|
float L_38 = L_37->___raycastHeight_15;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_39 = __this->___mechSpider_4;
|
|
NullCheck(L_39);
|
|
float L_40 = L_39->___scale_5;
|
|
float L_41 = ___2_distance;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_42 = __this->___mechSpider_4;
|
|
NullCheck(L_42);
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_43 = L_42->___raycastLayers_4;
|
|
int32_t L_44;
|
|
L_44 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_43, NULL);
|
|
bool L_45;
|
|
L_45 = Physics_Raycast_m56120FFEF0D4F0A44CCA505B5C946E6FB8742F12(L_33, L_35, L_36, ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_38, L_40)), L_41)), L_44, NULL);
|
|
if (!L_45)
|
|
{
|
|
goto IL_00dc;
|
|
}
|
|
}
|
|
{
|
|
// if (Physics.Raycast(stepTarget + up * mechSpider.raycastHeight * mechSpider.scale, -up, out hit, mechSpider.raycastHeight * mechSpider.scale + distance, mechSpider.raycastLayers)) stepFound = true;
|
|
bool* L_46 = ___0_stepFound;
|
|
*((int8_t*)L_46) = (int8_t)1;
|
|
}
|
|
|
|
IL_00dc:
|
|
{
|
|
// return hit.point + hit.normal * footHeight * mechSpider.scale;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_47 = (&__this->___hit_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
|
|
L_48 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39(L_47, NULL);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_49 = (&__this->___hit_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
|
|
L_50 = RaycastHit_get_normal_mD8741B70D2039C5CAFC4368D4CE59D89562040B5(L_49, NULL);
|
|
float L_51 = __this->___footHeight_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
|
|
L_52 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_50, L_51, NULL);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_53 = __this->___mechSpider_4;
|
|
NullCheck(L_53);
|
|
float L_54 = L_53->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
|
|
L_55 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_52, L_54, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
|
|
L_56 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_48, L_55, NULL);
|
|
return L_56;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderLeg::UpdatePosition(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderLeg_UpdatePosition_mAF56F8DFCDBCA42853F950FEE27B70B780522047 (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, float ___0_distance, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Vector3 up = mechSpider.transform.up;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_0 = __this->___mechSpider_4;
|
|
NullCheck(L_0);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1;
|
|
L_1 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_0, NULL);
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_1, NULL);
|
|
V_0 = L_2;
|
|
// if (Physics.Raycast(lastStepPosition + up * mechSpider.raycastHeight * mechSpider.scale, -up, out hit, mechSpider.raycastHeight * mechSpider.scale + distance, mechSpider.raycastLayers))
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___lastStepPosition_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = V_0;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_5 = __this->___mechSpider_4;
|
|
NullCheck(L_5);
|
|
float L_6 = L_5->___raycastHeight_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_4, L_6, NULL);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_8 = __this->___mechSpider_4;
|
|
NullCheck(L_8);
|
|
float L_9 = L_8->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_7, L_9, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_3, L_10, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_12, NULL);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_14 = (&__this->___hit_22);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_15 = __this->___mechSpider_4;
|
|
NullCheck(L_15);
|
|
float L_16 = L_15->___raycastHeight_15;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_17 = __this->___mechSpider_4;
|
|
NullCheck(L_17);
|
|
float L_18 = L_17->___scale_5;
|
|
float L_19 = ___0_distance;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_20 = __this->___mechSpider_4;
|
|
NullCheck(L_20);
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_21 = L_20->___raycastLayers_4;
|
|
int32_t L_22;
|
|
L_22 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_21, NULL);
|
|
bool L_23;
|
|
L_23 = Physics_Raycast_m56120FFEF0D4F0A44CCA505B5C946E6FB8742F12(L_11, L_13, L_14, ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_16, L_18)), L_19)), L_22, NULL);
|
|
if (!L_23)
|
|
{
|
|
goto IL_00b5;
|
|
}
|
|
}
|
|
{
|
|
// position = hit.point + hit.normal * footHeight * mechSpider.scale;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_24 = (&__this->___hit_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39(L_24, NULL);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_26 = (&__this->___hit_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
|
|
L_27 = RaycastHit_get_normal_mD8741B70D2039C5CAFC4368D4CE59D89562040B5(L_26, NULL);
|
|
float L_28 = __this->___footHeight_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_27, L_28, NULL);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_30 = __this->___mechSpider_4;
|
|
NullCheck(L_30);
|
|
float L_31 = L_30->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_29, L_31, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_25, L_32, NULL);
|
|
MechSpiderLeg_set_position_m4D20A1F34BAD64CF2C1799E0B91A5611CFFE5ADF(__this, L_33, NULL);
|
|
}
|
|
|
|
IL_00b5:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderLeg::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderLeg_Update_m61514988E5D77BABD0E265747252A4451EE0445B (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// UpdatePosition(mechSpider.raycastDistance * mechSpider.scale);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_0 = __this->___mechSpider_4;
|
|
NullCheck(L_0);
|
|
float L_1 = L_0->___raycastDistance_16;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_2 = __this->___mechSpider_4;
|
|
NullCheck(L_2);
|
|
float L_3 = L_2->___scale_5;
|
|
MechSpiderLeg_UpdatePosition_mAF56F8DFCDBCA42853F950FEE27B70B780522047(__this, ((float)il2cpp_codegen_multiply(L_1, L_3)), NULL);
|
|
// if (isStepping) return;
|
|
bool L_4;
|
|
L_4 = MechSpiderLeg_get_isStepping_m6B19795D4349CD74790A2365D85AFBFC671427CD(__this, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// if (isStepping) return;
|
|
return;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// if (Time.time < lastStepTime + minDelay) return;
|
|
float L_5;
|
|
L_5 = Time_get_time_m3A271BB1B20041144AC5B7863B71AB1F0150374B(NULL);
|
|
float L_6 = __this->___lastStepTime_20;
|
|
float L_7 = __this->___minDelay_7;
|
|
if ((!(((float)L_5) < ((float)((float)il2cpp_codegen_add(L_6, L_7))))))
|
|
{
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
// if (Time.time < lastStepTime + minDelay) return;
|
|
return;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
// if (unSync != null) {
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_8 = __this->___unSync_5;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_9;
|
|
L_9 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_8, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_9)
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
{
|
|
// if (unSync.isStepping) return;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_10 = __this->___unSync_5;
|
|
NullCheck(L_10);
|
|
bool L_11;
|
|
L_11 = MechSpiderLeg_get_isStepping_m6B19795D4349CD74790A2365D85AFBFC671427CD(L_10, NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
{
|
|
// if (unSync.isStepping) return;
|
|
return;
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// bool stepFound = false;
|
|
V_0 = (bool)0;
|
|
// Vector3 idealPosition = GetStepTarget(out stepFound, raycastFocus, mechSpider.raycastDistance * mechSpider.scale);
|
|
float L_12 = __this->___raycastFocus_12;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_13 = __this->___mechSpider_4;
|
|
NullCheck(L_13);
|
|
float L_14 = L_13->___raycastDistance_16;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_15 = __this->___mechSpider_4;
|
|
NullCheck(L_15);
|
|
float L_16 = L_15->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = MechSpiderLeg_GetStepTarget_m6098AAC0FAFF0C937A572BF274EB7937724D9B26(__this, (&V_0), L_12, ((float)il2cpp_codegen_multiply(L_14, L_16)), NULL);
|
|
V_1 = L_17;
|
|
// if (!stepFound) idealPosition = GetStepTarget(out stepFound, -raycastFocus, mechSpider.raycastDistance * 3f * mechSpider.scale); // Try again with inverted focus
|
|
bool L_18 = V_0;
|
|
if (L_18)
|
|
{
|
|
goto IL_00af;
|
|
}
|
|
}
|
|
{
|
|
// if (!stepFound) idealPosition = GetStepTarget(out stepFound, -raycastFocus, mechSpider.raycastDistance * 3f * mechSpider.scale); // Try again with inverted focus
|
|
float L_19 = __this->___raycastFocus_12;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_20 = __this->___mechSpider_4;
|
|
NullCheck(L_20);
|
|
float L_21 = L_20->___raycastDistance_16;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_22 = __this->___mechSpider_4;
|
|
NullCheck(L_22);
|
|
float L_23 = L_22->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
L_24 = MechSpiderLeg_GetStepTarget_m6098AAC0FAFF0C937A572BF274EB7937724D9B26(__this, (&V_0), ((-L_19)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_21, (3.0f))), L_23)), NULL);
|
|
V_1 = L_24;
|
|
}
|
|
|
|
IL_00af:
|
|
{
|
|
// if (!stepFound) return;
|
|
bool L_25 = V_0;
|
|
if (L_25)
|
|
{
|
|
goto IL_00b3;
|
|
}
|
|
}
|
|
{
|
|
// if (!stepFound) return;
|
|
return;
|
|
}
|
|
|
|
IL_00b3:
|
|
{
|
|
// if (Vector3.Distance(position, idealPosition) < maxOffset * mechSpider.scale * UnityEngine.Random.Range(0.9f, 1.2f)) return;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = V_1;
|
|
float L_28;
|
|
L_28 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_26, L_27, NULL);
|
|
float L_29 = __this->___maxOffset_8;
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_30 = __this->___mechSpider_4;
|
|
NullCheck(L_30);
|
|
float L_31 = L_30->___scale_5;
|
|
float L_32;
|
|
L_32 = Random_Range_m5236C99A7D8AE6AC9190592DC66016652A2D2494((0.899999976f), (1.20000005f), NULL);
|
|
if ((!(((float)L_28) < ((float)((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_29, L_31)), L_32))))))
|
|
{
|
|
goto IL_00e4;
|
|
}
|
|
}
|
|
{
|
|
// if (Vector3.Distance(position, idealPosition) < maxOffset * mechSpider.scale * UnityEngine.Random.Range(0.9f, 1.2f)) return;
|
|
return;
|
|
}
|
|
|
|
IL_00e4:
|
|
{
|
|
// StopAllCoroutines();
|
|
MonoBehaviour_StopAllCoroutines_m872033451D42013A99867D09337490017E9ED318(__this, NULL);
|
|
// StartCoroutine(Step(position, idealPosition));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = V_1;
|
|
RuntimeObject* L_35;
|
|
L_35 = MechSpiderLeg_Step_mDB7F2D550BFC2DD6116A1E039590D6F0D30E39D6(__this, L_33, L_34, NULL);
|
|
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B* L_36;
|
|
L_36 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_35, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator RootMotion.Demos.MechSpiderLeg::Step(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* MechSpiderLeg_Step_mDB7F2D550BFC2DD6116A1E039590D6F0D30E39D6 (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_stepStartPosition, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_targetPosition, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1* L_0 = (U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1*)il2cpp_codegen_object_new(U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CStepU3Ed__33__ctor_mD50DD054928A9B940940064EF08C08D84FCD00AB(L_0, 0, NULL);
|
|
U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E4__this_2 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
|
|
U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1* L_2 = L_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_stepStartPosition;
|
|
NullCheck(L_2);
|
|
L_2->___stepStartPosition_3 = L_3;
|
|
U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1* L_4 = L_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___1_targetPosition;
|
|
NullCheck(L_4);
|
|
L_4->___targetPosition_4 = L_5;
|
|
return L_4;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderLeg::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderLeg__ctor_mBFC0C1A05084792E94E92DA4BE96E787960DB28A (MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float minDelay = 0.2f, maxOffset = 1.0f, stepSpeed = 5.0f, footHeight = 0.15f, velocityPrediction = 0.2f, raycastFocus = 0.1f; // Parameters for stepping
|
|
__this->___minDelay_7 = (0.200000003f);
|
|
// public float minDelay = 0.2f, maxOffset = 1.0f, stepSpeed = 5.0f, footHeight = 0.15f, velocityPrediction = 0.2f, raycastFocus = 0.1f; // Parameters for stepping
|
|
__this->___maxOffset_8 = (1.0f);
|
|
// public float minDelay = 0.2f, maxOffset = 1.0f, stepSpeed = 5.0f, footHeight = 0.15f, velocityPrediction = 0.2f, raycastFocus = 0.1f; // Parameters for stepping
|
|
__this->___stepSpeed_9 = (5.0f);
|
|
// public float minDelay = 0.2f, maxOffset = 1.0f, stepSpeed = 5.0f, footHeight = 0.15f, velocityPrediction = 0.2f, raycastFocus = 0.1f; // Parameters for stepping
|
|
__this->___footHeight_10 = (0.150000006f);
|
|
// public float minDelay = 0.2f, maxOffset = 1.0f, stepSpeed = 5.0f, footHeight = 0.15f, velocityPrediction = 0.2f, raycastFocus = 0.1f; // Parameters for stepping
|
|
__this->___velocityPrediction_11 = (0.200000003f);
|
|
// public float minDelay = 0.2f, maxOffset = 1.0f, stepSpeed = 5.0f, footHeight = 0.15f, velocityPrediction = 0.2f, raycastFocus = 0.1f; // Parameters for stepping
|
|
__this->___raycastFocus_12 = (0.100000001f);
|
|
// public float footRotationSpeed = 10f;
|
|
__this->___footRotationSpeed_16 = (10.0f);
|
|
// private float stepProgress = 1f, lastStepTime;
|
|
__this->___stepProgress_19 = (1.0f);
|
|
// private Vector3 smoothHitNormal = Vector3.up;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
__this->___smoothHitNormal_24 = L_0;
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.MechSpiderLeg/<Step>d__33::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStepU3Ed__33__ctor_mD50DD054928A9B940940064EF08C08D84FCD00AB (U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
int32_t L_0 = ___0_U3CU3E1__state;
|
|
__this->___U3CU3E1__state_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderLeg/<Step>d__33::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStepU3Ed__33_System_IDisposable_Dispose_mFF5ADB7BA78F75C0F8F097C43FFF93241AABB23C (U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RootMotion.Demos.MechSpiderLeg/<Step>d__33::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CStepU3Ed__33_MoveNext_m2EDF99B346BB5A632E11ADDD4110AC294E9C9177 (U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* V_1 = NULL;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_1 = __this->___U3CU3E4__this_2;
|
|
V_1 = L_1;
|
|
int32_t L_2 = V_0;
|
|
if (!L_2)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_3 = V_0;
|
|
if ((((int32_t)L_3) == ((int32_t)1)))
|
|
{
|
|
goto IL_00ca;
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// stepProgress = 0f;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_4 = V_1;
|
|
NullCheck(L_4);
|
|
L_4->___stepProgress_19 = (0.0f);
|
|
goto IL_00d1;
|
|
}
|
|
|
|
IL_0031:
|
|
{
|
|
// stepProgress += Time.deltaTime * stepSpeed;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_5 = V_1;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_6 = V_1;
|
|
NullCheck(L_6);
|
|
float L_7 = L_6->___stepProgress_19;
|
|
float L_8;
|
|
L_8 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_9 = V_1;
|
|
NullCheck(L_9);
|
|
float L_10 = L_9->___stepSpeed_9;
|
|
NullCheck(L_5);
|
|
L_5->___stepProgress_19 = ((float)il2cpp_codegen_add(L_7, ((float)il2cpp_codegen_multiply(L_8, L_10))));
|
|
// position = Vector3.Lerp(stepStartPosition, targetPosition, stepProgress);
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_11 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = __this->___stepStartPosition_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = __this->___targetPosition_4;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_14 = V_1;
|
|
NullCheck(L_14);
|
|
float L_15 = L_14->___stepProgress_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_12, L_13, L_15, NULL);
|
|
NullCheck(L_11);
|
|
MechSpiderLeg_set_position_m4D20A1F34BAD64CF2C1799E0B91A5611CFFE5ADF(L_11, L_16, NULL);
|
|
// position += mechSpider.transform.up * yOffset.Evaluate(stepProgress) * mechSpider.scale;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_17 = V_1;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_18 = V_1;
|
|
NullCheck(L_18);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(L_18, NULL);
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_20 = V_1;
|
|
NullCheck(L_20);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_21 = L_20->___mechSpider_4;
|
|
NullCheck(L_21);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22;
|
|
L_22 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_21, NULL);
|
|
NullCheck(L_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_22, NULL);
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_24 = V_1;
|
|
NullCheck(L_24);
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_25 = L_24->___yOffset_13;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_26 = V_1;
|
|
NullCheck(L_26);
|
|
float L_27 = L_26->___stepProgress_19;
|
|
NullCheck(L_25);
|
|
float L_28;
|
|
L_28 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_25, L_27, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_23, L_28, NULL);
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_30 = V_1;
|
|
NullCheck(L_30);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_31 = L_30->___mechSpider_4;
|
|
NullCheck(L_31);
|
|
float L_32 = L_31->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_29, L_32, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
|
|
L_34 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_19, L_33, NULL);
|
|
NullCheck(L_17);
|
|
MechSpiderLeg_set_position_m4D20A1F34BAD64CF2C1799E0B91A5611CFFE5ADF(L_17, L_34, NULL);
|
|
// lastStepPosition = position;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_35 = V_1;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_36 = V_1;
|
|
NullCheck(L_36);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
|
|
L_37 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(L_36, NULL);
|
|
NullCheck(L_35);
|
|
L_35->___lastStepPosition_25 = L_37;
|
|
// yield return null;
|
|
__this->___U3CU3E2__current_1 = NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00ca:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
}
|
|
|
|
IL_00d1:
|
|
{
|
|
// while (stepProgress < 1) {
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_38 = V_1;
|
|
NullCheck(L_38);
|
|
float L_39 = L_38->___stepProgress_19;
|
|
if ((((float)L_39) < ((float)(1.0f))))
|
|
{
|
|
goto IL_0031;
|
|
}
|
|
}
|
|
{
|
|
// position = targetPosition;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_40 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = __this->___targetPosition_4;
|
|
NullCheck(L_40);
|
|
MechSpiderLeg_set_position_m4D20A1F34BAD64CF2C1799E0B91A5611CFFE5ADF(L_40, L_41, NULL);
|
|
// lastStepPosition = position;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_42 = V_1;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_43 = V_1;
|
|
NullCheck(L_43);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
|
|
L_44 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(L_43, NULL);
|
|
NullCheck(L_42);
|
|
L_42->___lastStepPosition_25 = L_44;
|
|
// if (sand != null) {
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_45 = V_1;
|
|
NullCheck(L_45);
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* L_46 = L_45->___sand_17;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_47;
|
|
L_47 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_46, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_47)
|
|
{
|
|
goto IL_015a;
|
|
}
|
|
}
|
|
{
|
|
// sand.transform.position = position - mechSpider.transform.up * footHeight * mechSpider.scale;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_48 = V_1;
|
|
NullCheck(L_48);
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* L_49 = L_48->___sand_17;
|
|
NullCheck(L_49);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_50;
|
|
L_50 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_49, NULL);
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_51 = V_1;
|
|
NullCheck(L_51);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
|
|
L_52 = MechSpiderLeg_get_position_mBD404441128C364E45407491963153BFC0D6556C(L_51, NULL);
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_53 = V_1;
|
|
NullCheck(L_53);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_54 = L_53->___mechSpider_4;
|
|
NullCheck(L_54);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_55;
|
|
L_55 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_54, NULL);
|
|
NullCheck(L_55);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
|
|
L_56 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_55, NULL);
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_57 = V_1;
|
|
NullCheck(L_57);
|
|
float L_58 = L_57->___footHeight_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
|
|
L_59 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_56, L_58, NULL);
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_60 = V_1;
|
|
NullCheck(L_60);
|
|
MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* L_61 = L_60->___mechSpider_4;
|
|
NullCheck(L_61);
|
|
float L_62 = L_61->___scale_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
|
|
L_63 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_59, L_62, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
|
|
L_64 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_52, L_63, NULL);
|
|
NullCheck(L_50);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_50, L_64, NULL);
|
|
// sand.Emit(20);
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_65 = V_1;
|
|
NullCheck(L_65);
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* L_66 = L_65->___sand_17;
|
|
NullCheck(L_66);
|
|
ParticleSystem_Emit_m3E9E6359087607E84E0D4D35844D80D9452AD72D(L_66, ((int32_t)20), NULL);
|
|
}
|
|
|
|
IL_015a:
|
|
{
|
|
// lastStepTime = Time.time;
|
|
MechSpiderLeg_t74EC81ABBD9AF21D995FB56A79772C12F6BF00EC* L_67 = V_1;
|
|
float L_68;
|
|
L_68 = Time_get_time_m3A271BB1B20041144AC5B7863B71AB1F0150374B(NULL);
|
|
NullCheck(L_67);
|
|
L_67->___lastStepTime_20 = L_68;
|
|
// }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Object RootMotion.Demos.MechSpiderLeg/<Step>d__33::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CStepU3Ed__33_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m99860A0AA69A73FCF0A9CBF07BE64EFD0F5DA552 (U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderLeg/<Step>d__33::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStepU3Ed__33_System_Collections_IEnumerator_Reset_m59A6A59B7203FEAC63CF9B2CB792DD1B3AA36F9C (U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_0);
|
|
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CStepU3Ed__33_System_Collections_IEnumerator_Reset_m59A6A59B7203FEAC63CF9B2CB792DD1B3AA36F9C_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object RootMotion.Demos.MechSpiderLeg/<Step>d__33::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CStepU3Ed__33_System_Collections_IEnumerator_get_Current_m300AAF436F3016B3078212FE8266C381555C894F (U3CStepU3Ed__33_t210377C79C2F1F9F906D5E41FEBC53EEAE8EB1B1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.MechSpiderParticles::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderParticles_Start_mE8C53A3210D8CDB2FA5EC5A6FB200DC08BBF6E67 (MechSpiderParticles_t9F2822BCC6D66FBDA2D9C2A91AF226EA2DC71C29* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1_0_0_0_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// particles = (ParticleSystem)GetComponent(typeof(ParticleSystem));
|
|
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B L_0 = { reinterpret_cast<intptr_t> (ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1_0_0_0_var) };
|
|
il2cpp_codegen_runtime_class_init_inline(Type_t_il2cpp_TypeInfo_var);
|
|
Type_t* L_1;
|
|
L_1 = Type_GetTypeFromHandle_m6062B81682F79A4D6DF2640692EE6D9987858C57(L_0, NULL);
|
|
Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* L_2;
|
|
L_2 = Component_GetComponent_m4352437B839B9601EB007CAC1007C8E1FB8A427D(__this, L_1, NULL);
|
|
__this->___particles_5 = ((ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1*)CastclassSealed((RuntimeObject*)L_2, ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___particles_5), (void*)((ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1*)CastclassSealed((RuntimeObject*)L_2, ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1_il2cpp_TypeInfo_var)));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderParticles::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderParticles_Update_m5CCCF2860C6322433EF4CE26D82E389BD2BCEF23 (MechSpiderParticles_t9F2822BCC6D66FBDA2D9C2A91AF226EA2DC71C29* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
EmissionModule_t0F469FA4A08003F6D9C610D2F716A9DFDB9A3678 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
MinMaxGradient_tFF31B8EC2855D0074AB86E8B37BEA6609070AC69 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
{
|
|
// float inputMag = mechSpiderController.inputVector.magnitude;
|
|
MechSpiderController_t5804A9789F4C8493AC593B390D111B5F2572A0DB* L_0 = __this->___mechSpiderController_4;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = MechSpiderController_get_inputVector_m286176C5F883DB313B3750E8D66B412AB65EBC6D(L_0, NULL);
|
|
V_4 = L_1;
|
|
float L_2;
|
|
L_2 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_4), NULL);
|
|
V_0 = L_2;
|
|
// float emissionRate = Mathf.Clamp(inputMag * 50, 30, 50);
|
|
float L_3 = V_0;
|
|
float L_4;
|
|
L_4 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_multiply(L_3, (50.0f))), (30.0f), (50.0f), NULL);
|
|
V_1 = L_4;
|
|
// var emission = particles.emission;
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* L_5 = __this->___particles_5;
|
|
NullCheck(L_5);
|
|
EmissionModule_t0F469FA4A08003F6D9C610D2F716A9DFDB9A3678 L_6;
|
|
L_6 = ParticleSystem_get_emission_mD9402CE632A3607DA0B0486F9F58F7FB2B44CF08(L_5, NULL);
|
|
V_2 = L_6;
|
|
// emission.rateOverTime = new ParticleSystem.MinMaxCurve(emissionRate);
|
|
float L_7 = V_1;
|
|
MinMaxCurve_t812D571297EED6498776CC58949A42B172E60E23 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
MinMaxCurve__ctor_m1D3846251475D7BBC7B128CCD7DFF40B16AAEF9E((&L_8), L_7, /*hidden argument*/NULL);
|
|
EmissionModule_set_rateOverTime_m71BF3C0A80EA572CD87EFF5944E8FA680F51DC20((&V_2), L_8, NULL);
|
|
// var main = particles.main;
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* L_9 = __this->___particles_5;
|
|
NullCheck(L_9);
|
|
MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9 L_10;
|
|
L_10 = ParticleSystem_get_main_mD86DFCD96150E2CE760CD2F37052BB3BCA33C189(L_9, NULL);
|
|
V_3 = L_10;
|
|
// main.startColor = new Color (particles.main.startColor.color.r, particles.main.startColor.color.g, particles.main.startColor.color.b, Mathf.Clamp(inputMag, 0.4f, 1f));
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* L_11 = __this->___particles_5;
|
|
NullCheck(L_11);
|
|
MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9 L_12;
|
|
L_12 = ParticleSystem_get_main_mD86DFCD96150E2CE760CD2F37052BB3BCA33C189(L_11, NULL);
|
|
V_5 = L_12;
|
|
MinMaxGradient_tFF31B8EC2855D0074AB86E8B37BEA6609070AC69 L_13;
|
|
L_13 = MainModule_get_startColor_m24E66E583EB51341A885ABAE84114CBB37018781((&V_5), NULL);
|
|
V_6 = L_13;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_14;
|
|
L_14 = MinMaxGradient_get_color_m534E35D538D549F006E9F90E453D41B92FBAC3BF((&V_6), NULL);
|
|
float L_15 = L_14.___r_0;
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* L_16 = __this->___particles_5;
|
|
NullCheck(L_16);
|
|
MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9 L_17;
|
|
L_17 = ParticleSystem_get_main_mD86DFCD96150E2CE760CD2F37052BB3BCA33C189(L_16, NULL);
|
|
V_5 = L_17;
|
|
MinMaxGradient_tFF31B8EC2855D0074AB86E8B37BEA6609070AC69 L_18;
|
|
L_18 = MainModule_get_startColor_m24E66E583EB51341A885ABAE84114CBB37018781((&V_5), NULL);
|
|
V_6 = L_18;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_19;
|
|
L_19 = MinMaxGradient_get_color_m534E35D538D549F006E9F90E453D41B92FBAC3BF((&V_6), NULL);
|
|
float L_20 = L_19.___g_1;
|
|
ParticleSystem_tB19986EE308BD63D36FB6025EEEAFBEDB97C67C1* L_21 = __this->___particles_5;
|
|
NullCheck(L_21);
|
|
MainModule_tC7ECD8330C14B0808478A748048988A6085CE2A9 L_22;
|
|
L_22 = ParticleSystem_get_main_mD86DFCD96150E2CE760CD2F37052BB3BCA33C189(L_21, NULL);
|
|
V_5 = L_22;
|
|
MinMaxGradient_tFF31B8EC2855D0074AB86E8B37BEA6609070AC69 L_23;
|
|
L_23 = MainModule_get_startColor_m24E66E583EB51341A885ABAE84114CBB37018781((&V_5), NULL);
|
|
V_6 = L_23;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_24;
|
|
L_24 = MinMaxGradient_get_color_m534E35D538D549F006E9F90E453D41B92FBAC3BF((&V_6), NULL);
|
|
float L_25 = L_24.___b_2;
|
|
float L_26 = V_0;
|
|
float L_27;
|
|
L_27 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_26, (0.400000006f), (1.0f), NULL);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_28;
|
|
memset((&L_28), 0, sizeof(L_28));
|
|
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_28), L_15, L_20, L_25, L_27, /*hidden argument*/NULL);
|
|
MinMaxGradient_tFF31B8EC2855D0074AB86E8B37BEA6609070AC69 L_29;
|
|
L_29 = MinMaxGradient_op_Implicit_mAA6154D6644E72BBA49EB34DC957538EE929DE02(L_28, NULL);
|
|
MainModule_set_startColor_m504911284CAC53A7C1B97B5D01BBDD2FA67D0E7A((&V_3), L_29, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MechSpiderParticles::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MechSpiderParticles__ctor_m62758F4F3DD642F77783D11559622AAAF95A46EA (MechSpiderParticles_t9F2822BCC6D66FBDA2D9C2A91AF226EA2DC71C29* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.AnimationWarping::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationWarping_Start_mE26FB74411528BB4BA7E9BE76B77B8E34BC796CC (AnimationWarping_t78DF249134B5B398D0587EEACBBC21312B42FF45* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// base.Start();
|
|
OffsetModifier_Start_m1FA29F992B9D4E6F639F42419CDF61727B2A3B51(__this, NULL);
|
|
// lastMode = effectorMode;
|
|
int32_t L_0 = __this->___effectorMode_8;
|
|
__this->___lastMode_10 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single RootMotion.Demos.AnimationWarping::GetWarpWeight(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AnimationWarping_GetWarpWeight_m2D13B02392BD0546198D3240DD3009B33AE9B14F (AnimationWarping_t78DF249134B5B398D0587EEACBBC21312B42FF45* __this, int32_t ___0_warpIndex, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral434AEC66B3633CA70315F5B22F0888074C50FCE3);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6920CEEBD63A93865A2F69394BEBEF900D9F9A62);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
AnimatorStateInfo_t1F47379289C7CE7FD588FBC3BBD79A777243B6B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// if (warpIndex < 0) {
|
|
int32_t L_0 = ___0_warpIndex;
|
|
if ((((int32_t)L_0) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("Warp index out of range.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral6920CEEBD63A93865A2F69394BEBEF900D9F9A62, NULL);
|
|
// return 0f;
|
|
return (0.0f);
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// if (warpIndex >= warps.Length) {
|
|
int32_t L_1 = ___0_warpIndex;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_2 = __this->___warps_9;
|
|
NullCheck(L_2);
|
|
if ((((int32_t)L_1) < ((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))))
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("Warp index out of range.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral6920CEEBD63A93865A2F69394BEBEF900D9F9A62, NULL);
|
|
// return 0f;
|
|
return (0.0f);
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// if (animator == null) {
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_3 = __this->___animator_7;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_4;
|
|
L_4 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_004d;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("Animator unassigned in AnimationWarping");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral434AEC66B3633CA70315F5B22F0888074C50FCE3, NULL);
|
|
// return 0f;
|
|
return (0.0f);
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
// AnimatorStateInfo info = animator.GetCurrentAnimatorStateInfo(warps[warpIndex].animationLayer);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_5 = __this->___animator_7;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_6 = __this->___warps_9;
|
|
int32_t L_7 = ___0_warpIndex;
|
|
NullCheck(L_6);
|
|
int32_t L_8 = ((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)))->___animationLayer_0;
|
|
NullCheck(L_5);
|
|
AnimatorStateInfo_t1F47379289C7CE7FD588FBC3BBD79A777243B6B2 L_9;
|
|
L_9 = Animator_GetCurrentAnimatorStateInfo_mD5B526FA605F6CFBC31B7DE36740F6AD1E534CAD(L_5, L_8, NULL);
|
|
V_0 = L_9;
|
|
// if (!info.IsName(warps[warpIndex].animationState)) return 0f;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_10 = __this->___warps_9;
|
|
int32_t L_11 = ___0_warpIndex;
|
|
NullCheck(L_10);
|
|
String_t* L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->___animationState_1;
|
|
bool L_13;
|
|
L_13 = AnimatorStateInfo_IsName_mB936F493D6BDDB9372C8E9D813CE0416B002C4D0((&V_0), L_12, NULL);
|
|
if (L_13)
|
|
{
|
|
goto IL_008a;
|
|
}
|
|
}
|
|
{
|
|
// if (!info.IsName(warps[warpIndex].animationState)) return 0f;
|
|
return (0.0f);
|
|
}
|
|
|
|
IL_008a:
|
|
{
|
|
// return warps[warpIndex].weightCurve.Evaluate(info.normalizedTime - (int)info.normalizedTime);
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_14 = __this->___warps_9;
|
|
int32_t L_15 = ___0_warpIndex;
|
|
NullCheck(L_14);
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_16 = ((L_14)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_15)))->___weightCurve_2;
|
|
float L_17;
|
|
L_17 = AnimatorStateInfo_get_normalizedTime_m087C7E5A72122ADF18EBB4AC8391103B9119CCC6((&V_0), NULL);
|
|
float L_18;
|
|
L_18 = AnimatorStateInfo_get_normalizedTime_m087C7E5A72122ADF18EBB4AC8391103B9119CCC6((&V_0), NULL);
|
|
NullCheck(L_16);
|
|
float L_19;
|
|
L_19 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_16, ((float)il2cpp_codegen_subtract(L_17, ((float)il2cpp_codegen_cast_double_to_int<int32_t>(L_18)))), NULL);
|
|
return L_19;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimationWarping::OnModifyOffset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationWarping_OnModifyOffset_m234101C1DF33E4A3CB92AE1419C0F39AEE7E5BE6 (AnimationWarping_t78DF249134B5B398D0587EEACBBC21312B42FF45* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
float V_1 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
int32_t V_3 = 0;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
{
|
|
// for (int i = 0; i < warps.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_0125;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// float warpWeight = GetWarpWeight(i);
|
|
int32_t L_0 = V_0;
|
|
float L_1;
|
|
L_1 = AnimationWarping_GetWarpWeight_m2D13B02392BD0546198D3240DD3009B33AE9B14F(__this, L_0, NULL);
|
|
V_1 = L_1;
|
|
// Vector3 offset = warps[i].warpTo.position - warps[i].warpFrom.position;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_2 = __this->___warps_9;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = ((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_3)))->___warpTo_4;
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_4, NULL);
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_6 = __this->___warps_9;
|
|
int32_t L_7 = V_0;
|
|
NullCheck(L_6);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = ((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)))->___warpFrom_3;
|
|
NullCheck(L_8);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_8, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_5, L_9, NULL);
|
|
V_2 = L_10;
|
|
// switch(effectorMode) {
|
|
int32_t L_11 = __this->___effectorMode_8;
|
|
V_3 = L_11;
|
|
int32_t L_12 = V_3;
|
|
if (!L_12)
|
|
{
|
|
goto IL_0054;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_13 = V_3;
|
|
if ((((int32_t)L_13) == ((int32_t)1)))
|
|
{
|
|
goto IL_009c;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0121;
|
|
}
|
|
|
|
IL_0054:
|
|
{
|
|
// ik.solver.GetEffector(warps[i].effector).positionOffset += offset * warpWeight * weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_14 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_14);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_15 = L_14->___solver_11;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_16 = __this->___warps_9;
|
|
int32_t L_17 = V_0;
|
|
NullCheck(L_16);
|
|
int32_t L_18 = ((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_17)))->___effector_5;
|
|
NullCheck(L_15);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_19;
|
|
L_19 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_15, L_18, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_20 = L_19;
|
|
NullCheck(L_20);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = L_20->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_2;
|
|
float L_23 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
L_24 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_22, L_23, NULL);
|
|
float L_25 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_24, L_25, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
|
|
L_27 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_21, L_26, NULL);
|
|
NullCheck(L_20);
|
|
L_20->___positionOffset_6 = L_27;
|
|
// break;
|
|
goto IL_0121;
|
|
}
|
|
|
|
IL_009c:
|
|
{
|
|
// ik.solver.GetEffector(warps[i].effector).position = ik.solver.GetEffector(warps[i].effector).bone.position + offset;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_28 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_28);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_29 = L_28->___solver_11;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_30 = __this->___warps_9;
|
|
int32_t L_31 = V_0;
|
|
NullCheck(L_30);
|
|
int32_t L_32 = ((L_30)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_31)))->___effector_5;
|
|
NullCheck(L_29);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_33;
|
|
L_33 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_29, L_32, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_34 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_34);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_35 = L_34->___solver_11;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_36 = __this->___warps_9;
|
|
int32_t L_37 = V_0;
|
|
NullCheck(L_36);
|
|
int32_t L_38 = ((L_36)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_37)))->___effector_5;
|
|
NullCheck(L_35);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_39;
|
|
L_39 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_35, L_38, NULL);
|
|
NullCheck(L_39);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_40 = L_39->___bone_0;
|
|
NullCheck(L_40);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
|
|
L_41 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_40, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
|
|
L_43 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_41, L_42, NULL);
|
|
NullCheck(L_33);
|
|
L_33->___position_4 = L_43;
|
|
// ik.solver.GetEffector(warps[i].effector).positionWeight = weight * warpWeight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_44 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_44);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_45 = L_44->___solver_11;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_46 = __this->___warps_9;
|
|
int32_t L_47 = V_0;
|
|
NullCheck(L_46);
|
|
int32_t L_48 = ((L_46)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_47)))->___effector_5;
|
|
NullCheck(L_45);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_49;
|
|
L_49 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_45, L_48, NULL);
|
|
float L_50 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
float L_51 = V_1;
|
|
NullCheck(L_49);
|
|
L_49->___positionWeight_2 = ((float)il2cpp_codegen_multiply(L_50, L_51));
|
|
}
|
|
|
|
IL_0121:
|
|
{
|
|
// for (int i = 0; i < warps.Length; i++) {
|
|
int32_t L_52 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_52, 1));
|
|
}
|
|
|
|
IL_0125:
|
|
{
|
|
// for (int i = 0; i < warps.Length; i++) {
|
|
int32_t L_53 = V_0;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_54 = __this->___warps_9;
|
|
NullCheck(L_54);
|
|
if ((((int32_t)L_53) < ((int32_t)((int32_t)(((RuntimeArray*)L_54)->max_length)))))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
// if (lastMode == EffectorMode.Position && effectorMode == EffectorMode.PositionOffset) {
|
|
int32_t L_55 = __this->___lastMode_10;
|
|
if ((!(((uint32_t)L_55) == ((uint32_t)1))))
|
|
{
|
|
goto IL_018b;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_56 = __this->___effectorMode_8;
|
|
if (L_56)
|
|
{
|
|
goto IL_018b;
|
|
}
|
|
}
|
|
{
|
|
// foreach (Warp warp in warps) {
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_57 = __this->___warps_9;
|
|
V_4 = L_57;
|
|
V_5 = 0;
|
|
goto IL_0183;
|
|
}
|
|
|
|
IL_0151:
|
|
{
|
|
// foreach (Warp warp in warps) {
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_58 = V_4;
|
|
int32_t L_59 = V_5;
|
|
NullCheck(L_58);
|
|
int32_t L_60 = L_59;
|
|
Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098 L_61 = (L_58)->GetAt(static_cast<il2cpp_array_size_t>(L_60));
|
|
V_6 = L_61;
|
|
// ik.solver.GetEffector(warp.effector).positionWeight = 0f;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_62 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_62);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_63 = L_62->___solver_11;
|
|
Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098 L_64 = V_6;
|
|
int32_t L_65 = L_64.___effector_5;
|
|
NullCheck(L_63);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_66;
|
|
L_66 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_63, L_65, NULL);
|
|
NullCheck(L_66);
|
|
L_66->___positionWeight_2 = (0.0f);
|
|
int32_t L_67 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_67, 1));
|
|
}
|
|
|
|
IL_0183:
|
|
{
|
|
// foreach (Warp warp in warps) {
|
|
int32_t L_68 = V_5;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_69 = V_4;
|
|
NullCheck(L_69);
|
|
if ((((int32_t)L_68) < ((int32_t)((int32_t)(((RuntimeArray*)L_69)->max_length)))))
|
|
{
|
|
goto IL_0151;
|
|
}
|
|
}
|
|
|
|
IL_018b:
|
|
{
|
|
// lastMode = effectorMode;
|
|
int32_t L_70 = __this->___effectorMode_8;
|
|
__this->___lastMode_10 = L_70;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimationWarping::OnDisable()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationWarping_OnDisable_mC4C4657FB5D7A3DA58683785AD7426038D83ED0F (AnimationWarping_t78DF249134B5B398D0587EEACBBC21312B42FF45* __this, const RuntimeMethod* method)
|
|
{
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
// if (effectorMode != EffectorMode.Position) return;
|
|
int32_t L_0 = __this->___effectorMode_8;
|
|
if ((((int32_t)L_0) == ((int32_t)1)))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// if (effectorMode != EffectorMode.Position) return;
|
|
return;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// foreach (Warp warp in warps) {
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_1 = __this->___warps_9;
|
|
V_0 = L_1;
|
|
V_1 = 0;
|
|
goto IL_0041;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// foreach (Warp warp in warps) {
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_2 = V_0;
|
|
int32_t L_3 = V_1;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
V_2 = L_5;
|
|
// ik.solver.GetEffector(warp.effector).positionWeight = 0f;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_6 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_6);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_7 = L_6->___solver_11;
|
|
Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098 L_8 = V_2;
|
|
int32_t L_9 = L_8.___effector_5;
|
|
NullCheck(L_7);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_10;
|
|
L_10 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_7, L_9, NULL);
|
|
NullCheck(L_10);
|
|
L_10->___positionWeight_2 = (0.0f);
|
|
int32_t L_11 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
// foreach (Warp warp in warps) {
|
|
int32_t L_12 = V_1;
|
|
WarpU5BU5D_tF34420FC03E26B8EB065BF3FE706E466E16BB10C* L_13 = V_0;
|
|
NullCheck(L_13);
|
|
if ((((int32_t)L_12) < ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimationWarping::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationWarping__ctor_m40E6866BF62B98C97EE98BFCCD8A3C889C4C4A2B (AnimationWarping_t78DF249134B5B398D0587EEACBBC21312B42FF45* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
OffsetModifier__ctor_m35CC529F7B5A1450DB1AABC123CD8FEAFBC75E1A(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
|
|
|
|
// Conversion methods for marshalling of: RootMotion.Demos.AnimationWarping/Warp
|
|
IL2CPP_EXTERN_C void Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshal_pinvoke(const Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098& unmarshaled, Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshaled_pinvoke& marshaled)
|
|
{
|
|
Exception_t* ___warpFrom_3Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'warpFrom' of type 'Warp': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___warpFrom_3Exception, NULL);
|
|
}
|
|
IL2CPP_EXTERN_C void Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshal_pinvoke_back(const Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshaled_pinvoke& marshaled, Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098& unmarshaled)
|
|
{
|
|
Exception_t* ___warpFrom_3Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'warpFrom' of type 'Warp': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___warpFrom_3Exception, NULL);
|
|
}
|
|
// Conversion method for clean up from marshalling of: RootMotion.Demos.AnimationWarping/Warp
|
|
IL2CPP_EXTERN_C void Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshal_pinvoke_cleanup(Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshaled_pinvoke& marshaled)
|
|
{
|
|
}
|
|
|
|
|
|
// Conversion methods for marshalling of: RootMotion.Demos.AnimationWarping/Warp
|
|
IL2CPP_EXTERN_C void Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshal_com(const Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098& unmarshaled, Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshaled_com& marshaled)
|
|
{
|
|
Exception_t* ___warpFrom_3Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'warpFrom' of type 'Warp': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___warpFrom_3Exception, NULL);
|
|
}
|
|
IL2CPP_EXTERN_C void Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshal_com_back(const Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshaled_com& marshaled, Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098& unmarshaled)
|
|
{
|
|
Exception_t* ___warpFrom_3Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'warpFrom' of type 'Warp': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___warpFrom_3Exception, NULL);
|
|
}
|
|
// Conversion method for clean up from marshalling of: RootMotion.Demos.AnimationWarping/Warp
|
|
IL2CPP_EXTERN_C void Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshal_com_cleanup(Warp_tBB8EA41D4D2F6A25AACFDEB764F8A5C0AD249098_marshaled_com& marshaled)
|
|
{
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPerson::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPerson_Start_mC0A5E522B1242A027D671EED20F9932B3C888D5A (AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// animator = GetComponent<Animator>();
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_0;
|
|
L_0 = Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE(__this, Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE_RuntimeMethod_var);
|
|
__this->___animator_9 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___animator_9), (void*)L_0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPerson::OnAnimatorMove()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPerson_OnAnimatorMove_m4EA35F9BD024827E0AB83583C5A72E94B7224CFB (AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// velocity = Vector3.Lerp (velocity, transform.rotation * Vector3.ClampMagnitude(moveInput, 1f) * moveSpeed, Time.deltaTime * blendSpeed);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___velocity_12;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1;
|
|
L_1 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_1);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
|
|
L_2 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_1, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___moveInput_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_ClampMagnitude_mF83675F19744F58E97CF24D8359A810634DC031F_inline(L_3, (1.0f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_2, L_4, NULL);
|
|
float L_6 = __this->___moveSpeed_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_5, L_6, NULL);
|
|
float L_8;
|
|
L_8 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_9 = __this->___blendSpeed_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_0, L_7, ((float)il2cpp_codegen_multiply(L_8, L_9)), NULL);
|
|
__this->___velocity_12 = L_10;
|
|
// transform.position += Vector3.Lerp(velocity * Time.deltaTime, animator.deltaPosition, rootMotionWeight);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11;
|
|
L_11 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = L_11;
|
|
NullCheck(L_12);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_12, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = __this->___velocity_12;
|
|
float L_15;
|
|
L_15 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_14, L_15, NULL);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_17 = __this->___animator_9;
|
|
NullCheck(L_17);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Animator_get_deltaPosition_m1759DB2D343FDAFAA7FE85ED66451D5210B0A606(L_17, NULL);
|
|
float L_19 = __this->___rootMotionWeight_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
L_20 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_16, L_18, L_19, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
L_21 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_13, L_20, NULL);
|
|
NullCheck(L_12);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_12, L_21, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPerson::Move(UnityEngine.Vector3,System.Boolean,UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPerson_Move_m2C6A367421AE05BDFB544E1D54BA419E06ECAC5C (AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_moveInput, bool ___1_isMoving, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_faceDirection, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_aimTarget, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral234D19ACC97DBDDB4C2351D9B583DDC8AD958380);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC53C15EA098684991F8F2C3F89C5829550973A30);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD5D2875F228D651E1289522AEAAB8C492001C1BE);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
{
|
|
// this.moveInput = moveInput;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_moveInput;
|
|
__this->___moveInput_11 = L_0;
|
|
// Vector3 faceDirectionLocal = transform.InverseTransformDirection(faceDirection);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1;
|
|
L_1 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___2_faceDirection;
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Transform_InverseTransformDirection_m69C077B881A98B08C7F231EFC49429C906FBC575(L_1, L_2, NULL);
|
|
V_0 = L_3;
|
|
// float angle = Mathf.Atan2(faceDirectionLocal.x, faceDirectionLocal.z) * Mathf.Rad2Deg;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = V_0;
|
|
float L_5 = L_4.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = V_0;
|
|
float L_7 = L_6.___z_4;
|
|
float L_8;
|
|
L_8 = atan2f(L_5, L_7);
|
|
V_1 = ((float)il2cpp_codegen_multiply(L_8, (57.2957802f)));
|
|
// float rotation = angle * Time.deltaTime * rotateSpeed;
|
|
float L_9 = V_1;
|
|
float L_10;
|
|
L_10 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_11 = __this->___rotateSpeed_4;
|
|
V_2 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_9, L_10)), L_11));
|
|
// if (angle > maxAngle) rotation = Mathf.Clamp(rotation, angle - maxAngle, rotation);
|
|
float L_12 = V_1;
|
|
float L_13 = __this->___maxAngle_6;
|
|
if ((!(((float)L_12) > ((float)L_13))))
|
|
{
|
|
goto IL_0054;
|
|
}
|
|
}
|
|
{
|
|
// if (angle > maxAngle) rotation = Mathf.Clamp(rotation, angle - maxAngle, rotation);
|
|
float L_14 = V_2;
|
|
float L_15 = V_1;
|
|
float L_16 = __this->___maxAngle_6;
|
|
float L_17 = V_2;
|
|
float L_18;
|
|
L_18 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_14, ((float)il2cpp_codegen_subtract(L_15, L_16)), L_17, NULL);
|
|
V_2 = L_18;
|
|
}
|
|
|
|
IL_0054:
|
|
{
|
|
// if (angle < -maxAngle) rotation = Mathf.Clamp(rotation, rotation, angle + maxAngle);
|
|
float L_19 = V_1;
|
|
float L_20 = __this->___maxAngle_6;
|
|
if ((!(((float)L_19) < ((float)((-L_20))))))
|
|
{
|
|
goto IL_006e;
|
|
}
|
|
}
|
|
{
|
|
// if (angle < -maxAngle) rotation = Mathf.Clamp(rotation, rotation, angle + maxAngle);
|
|
float L_21 = V_2;
|
|
float L_22 = V_2;
|
|
float L_23 = V_1;
|
|
float L_24 = __this->___maxAngle_6;
|
|
float L_25;
|
|
L_25 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_21, L_22, ((float)il2cpp_codegen_add(L_23, L_24)), NULL);
|
|
V_2 = L_25;
|
|
}
|
|
|
|
IL_006e:
|
|
{
|
|
// transform.Rotate(Vector3.up, rotation);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_26;
|
|
L_26 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
|
|
L_27 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
float L_28 = V_2;
|
|
NullCheck(L_26);
|
|
Transform_Rotate_m35B44707FE16FF8015D519D8C162C0B4A85D6D1F(L_26, L_27, L_28, NULL);
|
|
// moveBlend = Vector3.Lerp(moveBlend, moveInput, Time.deltaTime * blendSpeed);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = __this->___moveBlend_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = ___0_moveInput;
|
|
float L_31;
|
|
L_31 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_32 = __this->___blendSpeed_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_29, L_30, ((float)il2cpp_codegen_multiply(L_31, L_32)), NULL);
|
|
__this->___moveBlend_10 = L_33;
|
|
// animator.SetFloat("X", moveBlend.x);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_34 = __this->___animator_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_35 = (&__this->___moveBlend_10);
|
|
float L_36 = L_35->___x_2;
|
|
NullCheck(L_34);
|
|
Animator_SetFloat_m10C78733FAFC7AFEDBDACC48B7C66D3A35A0A7FE(L_34, _stringLiteralD5D2875F228D651E1289522AEAAB8C492001C1BE, L_36, NULL);
|
|
// animator.SetFloat("Z", moveBlend.z);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_37 = __this->___animator_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_38 = (&__this->___moveBlend_10);
|
|
float L_39 = L_38->___z_4;
|
|
NullCheck(L_37);
|
|
Animator_SetFloat_m10C78733FAFC7AFEDBDACC48B7C66D3A35A0A7FE(L_37, _stringLiteral234D19ACC97DBDDB4C2351D9B583DDC8AD958380, L_39, NULL);
|
|
// animator.SetBool("IsMoving", isMoving);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_40 = __this->___animator_9;
|
|
bool L_41 = ___1_isMoving;
|
|
NullCheck(L_40);
|
|
Animator_SetBool_m6F8D4FAF0770CD4EC1F54406249785DE7391E42B(L_40, _stringLiteralC53C15EA098684991F8F2C3F89C5829550973A30, L_41, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPerson::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPerson__ctor_m2CC9F610174DA05C7204B8F3630749EDDBF23BDA (AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float rotateSpeed = 7f; // Speed of rotating the character
|
|
__this->___rotateSpeed_4 = (7.0f);
|
|
// public float blendSpeed = 10f; // Animation blending speed
|
|
__this->___blendSpeed_5 = (10.0f);
|
|
// public float maxAngle = 90f; // Max angular offset from camera direction
|
|
__this->___maxAngle_6 = (90.0f);
|
|
// public float moveSpeed = 1.5f; // The speed of moving the character with no root motion
|
|
__this->___moveSpeed_7 = (1.5f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_Start_mCA5D276ECA57EBC47301C003367C933C03E90B53 (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AnimatorController3rdPersonIK_OnPreRead_mA588D4CB2A3D7F66912F3CDF0DE3992325A023EC_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisAimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264_mE5F2B774C79390FE892E69FBBEFFDDAD4B7C6047_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// base.Start();
|
|
AnimatorController3rdPerson_Start_mC0A5E522B1242A027D671EED20F9932B3C888D5A(__this, NULL);
|
|
// aim = GetComponent<AimIK>();
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_0;
|
|
L_0 = Component_GetComponent_TisAimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264_mE5F2B774C79390FE892E69FBBEFFDDAD4B7C6047(__this, Component_GetComponent_TisAimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264_mE5F2B774C79390FE892E69FBBEFFDDAD4B7C6047_RuntimeMethod_var);
|
|
__this->___aim_17 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___aim_17), (void*)L_0);
|
|
// ik = GetComponent<FullBodyBipedIK>();
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_1;
|
|
L_1 = Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177(__this, Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177_RuntimeMethod_var);
|
|
__this->___ik_18 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___ik_18), (void*)L_1);
|
|
// ik.solver.OnPreRead += OnPreRead;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_2 = __this->___ik_18;
|
|
NullCheck(L_2);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_3 = L_2->___solver_11;
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_4 = L_3;
|
|
NullCheck(L_4);
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_5 = ((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_4)->___OnPreRead_17;
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_6 = (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)il2cpp_codegen_object_new(UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971(L_6, __this, (intptr_t)((void*)AnimatorController3rdPersonIK_OnPreRead_mA588D4CB2A3D7F66912F3CDF0DE3992325A023EC_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_7;
|
|
L_7 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_5, L_6, NULL);
|
|
NullCheck(L_4);
|
|
((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_4)->___OnPreRead_17 = ((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_4)->___OnPreRead_17), (void*)((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var)));
|
|
// aim.enabled = false;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_8 = __this->___aim_17;
|
|
NullCheck(L_8);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_8, (bool)0, NULL);
|
|
// ik.enabled = false;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_9 = __this->___ik_18;
|
|
NullCheck(L_9);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_9, (bool)0, NULL);
|
|
// headLookAxis = ik.references.head.InverseTransformVector(ik.references.root.forward);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_10 = __this->___ik_18;
|
|
NullCheck(L_10);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_11 = L_10->___references_10;
|
|
NullCheck(L_11);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = L_11->___head_14;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_13 = __this->___ik_18;
|
|
NullCheck(L_13);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_14 = L_13->___references_10;
|
|
NullCheck(L_14);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = L_14->___root_0;
|
|
NullCheck(L_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_15, NULL);
|
|
NullCheck(L_12);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Transform_InverseTransformVector_mBBA687CE32C0394FC9AB4F273D4E4A11F53FB044(L_12, L_16, NULL);
|
|
__this->___headLookAxis_19 = L_17;
|
|
// animator.SetLayerWeight(1, 1f);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_18 = ((AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1*)__this)->___animator_9;
|
|
NullCheck(L_18);
|
|
Animator_SetLayerWeight_m06ADC732F76F22B4B1424F25525E7CBB80E6230F(L_18, 1, (1.0f), NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::Move(UnityEngine.Vector3,System.Boolean,UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_Move_m50B5A28DEA717034B71DC1C16B92F1B027975BBF (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_moveInput, bool ___1_isMoving, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_faceDirection, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_aimTarget, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// base.Move(moveInput, isMoving, faceDirection, aimTarget);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_moveInput;
|
|
bool L_1 = ___1_isMoving;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___2_faceDirection;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___3_aimTarget;
|
|
AnimatorController3rdPerson_Move_m2C6A367421AE05BDFB544E1D54BA419E06ECAC5C(__this, L_0, L_1, L_2, L_3, NULL);
|
|
// this.aimTarget = aimTarget;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___3_aimTarget;
|
|
__this->___aimTarget_22 = L_4;
|
|
// Read();
|
|
AnimatorController3rdPersonIK_Read_m8BEADDDE656EB28389EB81E3D0E1BB4F345FF264(__this, NULL);
|
|
// AimIK();
|
|
AnimatorController3rdPersonIK_AimIK_mD2340ABBFF737E2A02B773D671E251AE687C658E(__this, NULL);
|
|
// FBBIK();
|
|
AnimatorController3rdPersonIK_FBBIK_m3E99181700FA7092FF0F318DE6F46D4FD4434E2F(__this, NULL);
|
|
// AimIK();
|
|
AnimatorController3rdPersonIK_AimIK_mD2340ABBFF737E2A02B773D671E251AE687C658E(__this, NULL);
|
|
// HeadLookAt(aimTarget);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___3_aimTarget;
|
|
AnimatorController3rdPersonIK_HeadLookAt_m3B9B1B34217ACC77E9B1A4811428552ACBBC4A10(__this, L_5, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::Read()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_Read_m8BEADDDE656EB28389EB81E3D0E1BB4F345FF264 (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// leftHandPosRelToRightHand = ik.references.rightHand.InverseTransformPoint(ik.references.leftHand.position);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_18;
|
|
NullCheck(L_0);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_1 = L_0->___references_10;
|
|
NullCheck(L_1);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = L_1->___rightHand_13;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_3 = __this->___ik_18;
|
|
NullCheck(L_3);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_4 = L_3->___references_10;
|
|
NullCheck(L_4);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = L_4->___leftHand_10;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_2, L_6, NULL);
|
|
__this->___leftHandPosRelToRightHand_20 = L_7;
|
|
// leftHandRotRelToRightHand = Quaternion.Inverse(ik.references.rightHand.rotation) * ik.references.leftHand.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_8 = __this->___ik_18;
|
|
NullCheck(L_8);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_9 = L_8->___references_10;
|
|
NullCheck(L_9);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = L_9->___rightHand_13;
|
|
NullCheck(L_10);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
|
|
L_11 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_10, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
|
|
L_12 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_11, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_13 = __this->___ik_18;
|
|
NullCheck(L_13);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_14 = L_13->___references_10;
|
|
NullCheck(L_14);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = L_14->___leftHand_10;
|
|
NullCheck(L_15);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
|
|
L_16 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_15, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17;
|
|
L_17 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_12, L_16, NULL);
|
|
__this->___leftHandRotRelToRightHand_21 = L_17;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::AimIK()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_AimIK_mD2340ABBFF737E2A02B773D671E251AE687C658E (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// aim.solver.IKPosition = aimTarget;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_0 = __this->___aim_17;
|
|
NullCheck(L_0);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_1 = L_0->___solver_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___aimTarget_22;
|
|
NullCheck(L_1);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_1)->___IKPosition_1 = L_2;
|
|
// aim.solver.Update(); // Update AimIK
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_3 = __this->___aim_17;
|
|
NullCheck(L_3);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_4 = L_3->___solver_10;
|
|
NullCheck(L_4);
|
|
IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25(L_4, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::FBBIK()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_FBBIK_m3E99181700FA7092FF0F318DE6F46D4FD4434E2F (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// rightHandRotation = ik.references.rightHand.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_18;
|
|
NullCheck(L_0);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_1 = L_0->___references_10;
|
|
NullCheck(L_1);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = L_1->___rightHand_13;
|
|
NullCheck(L_2);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
|
|
L_3 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_2, NULL);
|
|
__this->___rightHandRotation_23 = L_3;
|
|
// Vector3 rightHandOffset = ik.references.rightHand.rotation * gunHoldOffset;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_4 = __this->___ik_18;
|
|
NullCheck(L_4);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_5 = L_4->___references_10;
|
|
NullCheck(L_5);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = L_5->___rightHand_13;
|
|
NullCheck(L_6);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_6, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = __this->___gunHoldOffset_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_7, L_8, NULL);
|
|
V_0 = L_9;
|
|
// ik.solver.rightHandEffector.positionOffset += rightHandOffset;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_10 = __this->___ik_18;
|
|
NullCheck(L_10);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_11 = L_10->___solver_11;
|
|
NullCheck(L_11);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_12;
|
|
L_12 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_11, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_13 = L_12;
|
|
NullCheck(L_13);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_14, L_15, NULL);
|
|
NullCheck(L_13);
|
|
L_13->___positionOffset_6 = L_16;
|
|
// if (recoil != null) recoil.SetHandRotations(rightHandRotation * leftHandRotRelToRightHand, rightHandRotation);
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_17 = __this->___recoil_16;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_18;
|
|
L_18 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_17, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_18)
|
|
{
|
|
goto IL_008d;
|
|
}
|
|
}
|
|
{
|
|
// if (recoil != null) recoil.SetHandRotations(rightHandRotation * leftHandRotRelToRightHand, rightHandRotation);
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_19 = __this->___recoil_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20 = __this->___rightHandRotation_23;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21 = __this->___leftHandRotRelToRightHand_21;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
|
|
L_22 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_20, L_21, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23 = __this->___rightHandRotation_23;
|
|
NullCheck(L_19);
|
|
Recoil_SetHandRotations_mDA0557F2907A024D254C941A8D5345C19709D132(L_19, L_22, L_23, NULL);
|
|
}
|
|
|
|
IL_008d:
|
|
{
|
|
// ik.solver.Update();
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_24 = __this->___ik_18;
|
|
NullCheck(L_24);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_25 = L_24->___solver_11;
|
|
NullCheck(L_25);
|
|
IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25(L_25, NULL);
|
|
// if (recoil != null) {
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_26 = __this->___recoil_16;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_27;
|
|
L_27 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_26, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_27)
|
|
{
|
|
goto IL_010d;
|
|
}
|
|
}
|
|
{
|
|
// ik.references.rightHand.rotation = recoil.rotationOffset * rightHandRotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_28 = __this->___ik_18;
|
|
NullCheck(L_28);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_29 = L_28->___references_10;
|
|
NullCheck(L_29);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_30 = L_29->___rightHand_13;
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_31 = __this->___recoil_16;
|
|
NullCheck(L_31);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = L_31->___rotationOffset_18;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33 = __this->___rightHandRotation_23;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_34;
|
|
L_34 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_32, L_33, NULL);
|
|
NullCheck(L_30);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_30, L_34, NULL);
|
|
// ik.references.leftHand.rotation = recoil.rotationOffset * rightHandRotation * leftHandRotRelToRightHand;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_35 = __this->___ik_18;
|
|
NullCheck(L_35);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_36 = L_35->___references_10;
|
|
NullCheck(L_36);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37 = L_36->___leftHand_10;
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_38 = __this->___recoil_16;
|
|
NullCheck(L_38);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39 = L_38->___rotationOffset_18;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_40 = __this->___rightHandRotation_23;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41;
|
|
L_41 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_39, L_40, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_42 = __this->___leftHandRotRelToRightHand_21;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_43;
|
|
L_43 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_41, L_42, NULL);
|
|
NullCheck(L_37);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_37, L_43, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_010d:
|
|
{
|
|
// ik.references.rightHand.rotation = rightHandRotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_44 = __this->___ik_18;
|
|
NullCheck(L_44);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_45 = L_44->___references_10;
|
|
NullCheck(L_45);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_46 = L_45->___rightHand_13;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_47 = __this->___rightHandRotation_23;
|
|
NullCheck(L_46);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_46, L_47, NULL);
|
|
// ik.references.leftHand.rotation = rightHandRotation * leftHandRotRelToRightHand;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_48 = __this->___ik_18;
|
|
NullCheck(L_48);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_49 = L_48->___references_10;
|
|
NullCheck(L_49);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_50 = L_49->___leftHand_10;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_51 = __this->___rightHandRotation_23;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52 = __this->___leftHandRotRelToRightHand_21;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_53;
|
|
L_53 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_51, L_52, NULL);
|
|
NullCheck(L_50);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_50, L_53, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::OnPreRead()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_OnPreRead_mA588D4CB2A3D7F66912F3CDF0DE3992325A023EC (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 G_B3_0;
|
|
memset((&G_B3_0), 0, sizeof(G_B3_0));
|
|
{
|
|
// Quaternion r = recoil != null? recoil.rotationOffset * rightHandRotation: rightHandRotation;
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_0 = __this->___recoil_16;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = __this->___rightHandRotation_23;
|
|
G_B3_0 = L_2;
|
|
goto IL_002c;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_3 = __this->___recoil_16;
|
|
NullCheck(L_3);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = L_3->___rotationOffset_18;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = __this->___rightHandRotation_23;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
|
|
L_6 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_4, L_5, NULL);
|
|
G_B3_0 = L_6;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
V_0 = G_B3_0;
|
|
// Vector3 leftHandTarget = ik.references.rightHand.position + ik.solver.rightHandEffector.positionOffset + r * leftHandPosRelToRightHand;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_7 = __this->___ik_18;
|
|
NullCheck(L_7);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_8 = L_7->___references_10;
|
|
NullCheck(L_8);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = L_8->___rightHand_13;
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_11 = __this->___ik_18;
|
|
NullCheck(L_11);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_12 = L_11->___solver_11;
|
|
NullCheck(L_12);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_13;
|
|
L_13 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_12, NULL);
|
|
NullCheck(L_13);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_10, L_14, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = __this->___leftHandPosRelToRightHand_20;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_16, L_17, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_18, NULL);
|
|
V_1 = L_19;
|
|
// ik.solver.leftHandEffector.positionOffset += leftHandTarget - ik.references.leftHand.position - ik.solver.leftHandEffector.positionOffset + r * leftHandOffset;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_20 = __this->___ik_18;
|
|
NullCheck(L_20);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_21 = L_20->___solver_11;
|
|
NullCheck(L_21);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_22;
|
|
L_22 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_21, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_23 = L_22;
|
|
NullCheck(L_23);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = L_23->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_1;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_26 = __this->___ik_18;
|
|
NullCheck(L_26);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_27 = L_26->___references_10;
|
|
NullCheck(L_27);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_28 = L_27->___leftHand_10;
|
|
NullCheck(L_28);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_28, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_25, L_29, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_31 = __this->___ik_18;
|
|
NullCheck(L_31);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_32 = L_31->___solver_11;
|
|
NullCheck(L_32);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_33;
|
|
L_33 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_32, NULL);
|
|
NullCheck(L_33);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = L_33->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_30, L_34, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = __this->___leftHandOffset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
|
|
L_38 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_36, L_37, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
|
|
L_39 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_35, L_38, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
|
|
L_40 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_24, L_39, NULL);
|
|
NullCheck(L_23);
|
|
L_23->___positionOffset_6 = L_40;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::HeadLookAt(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_HeadLookAt_m3B9B1B34217ACC77E9B1A4811428552ACBBC4A10 (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lookAtTarget, const RuntimeMethod* method)
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Quaternion headRotationTarget = Quaternion.FromToRotation(ik.references.head.rotation * headLookAxis, lookAtTarget - ik.references.head.position);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_18;
|
|
NullCheck(L_0);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_1 = L_0->___references_10;
|
|
NullCheck(L_1);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = L_1->___head_14;
|
|
NullCheck(L_2);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
|
|
L_3 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_2, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = __this->___headLookAxis_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_3, L_4, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_lookAtTarget;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_7 = __this->___ik_18;
|
|
NullCheck(L_7);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_8 = L_7->___references_10;
|
|
NullCheck(L_8);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = L_8->___head_14;
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_6, L_10, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
|
|
L_12 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_5, L_11, NULL);
|
|
V_0 = L_12;
|
|
// ik.references.head.rotation = Quaternion.Lerp(Quaternion.identity, headRotationTarget, headLookWeight) * ik.references.head.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_13 = __this->___ik_18;
|
|
NullCheck(L_13);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_14 = L_13->___references_10;
|
|
NullCheck(L_14);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = L_14->___head_14;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
|
|
L_16 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17 = V_0;
|
|
float L_18 = __this->___headLookWeight_13;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19;
|
|
L_19 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_16, L_17, L_18, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_20 = __this->___ik_18;
|
|
NullCheck(L_20);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_21 = L_20->___references_10;
|
|
NullCheck(L_21);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = L_21->___head_14;
|
|
NullCheck(L_22);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23;
|
|
L_23 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_22, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24;
|
|
L_24 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_19, L_23, NULL);
|
|
NullCheck(L_15);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_15, L_24, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK_OnDestroy_m66FFF23E9DB623B9AFAA9F001117ABB14BC390D0 (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AnimatorController3rdPersonIK_OnPreRead_mA588D4CB2A3D7F66912F3CDF0DE3992325A023EC_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (ik != null) ik.solver.OnPreRead -= OnPreRead;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_18;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
// if (ik != null) ik.solver.OnPreRead -= OnPreRead;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_2 = __this->___ik_18;
|
|
NullCheck(L_2);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_3 = L_2->___solver_11;
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_4 = L_3;
|
|
NullCheck(L_4);
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_5 = ((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_4)->___OnPreRead_17;
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_6 = (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)il2cpp_codegen_object_new(UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971(L_6, __this, (intptr_t)((void*)AnimatorController3rdPersonIK_OnPreRead_mA588D4CB2A3D7F66912F3CDF0DE3992325A023EC_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_7;
|
|
L_7 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_5, L_6, NULL);
|
|
NullCheck(L_4);
|
|
((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_4)->___OnPreRead_17 = ((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_4)->___OnPreRead_17), (void*)((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var)));
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.AnimatorController3rdPersonIK::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimatorController3rdPersonIK__ctor_m74EB42763854EFE50F75D48C6CD22EF14F82A146 (AnimatorController3rdPersonIK_t90D5D6D65D86A5C51E3B9EDD39E360D99994758A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// [Range(0f, 1f)] public float headLookWeight = 1f;
|
|
__this->___headLookWeight_13 = (1.0f);
|
|
AnimatorController3rdPerson__ctor_m2CC9F610174DA05C7204B8F3630749EDDBF23BDA(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.CharacterAnimationThirdPersonIK::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterAnimationThirdPersonIK_Start_m774AFC7C5C71EE266A3632E02FF16E4703ABB58D (CharacterAnimationThirdPersonIK_t35FCCC7F985A5CCBA842286427067C0D8757FCAF* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// base.Start();
|
|
CharacterAnimationThirdPerson_Start_m9FF0C92801B8BE5F669EA6108BEF6CFB65DA1E6F(__this, NULL);
|
|
// ik = GetComponent<FullBodyBipedIK>();
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0;
|
|
L_0 = Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177(__this, Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177_RuntimeMethod_var);
|
|
__this->___ik_23 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___ik_23), (void*)L_0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.CharacterAnimationThirdPersonIK::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterAnimationThirdPersonIK_LateUpdate_m9BC4292290C0D4448D268661A8637C450758BC5F (CharacterAnimationThirdPersonIK_t35FCCC7F985A5CCBA842286427067C0D8757FCAF* __this, const RuntimeMethod* method)
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// base.LateUpdate();
|
|
CharacterAnimationBase_LateUpdate_m69E5D3B250CC723B5C8C74CE2C88E809C0CA8D61(__this, NULL);
|
|
// if (Vector3.Angle(transform.up, Vector3.up) <= 0.01f) return;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
|
|
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_0, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
float L_3;
|
|
L_3 = Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline(L_1, L_2, NULL);
|
|
if ((!(((float)L_3) <= ((float)(0.00999999978f)))))
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// if (Vector3.Angle(transform.up, Vector3.up) <= 0.01f) return;
|
|
return;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// Quaternion r = Quaternion.FromToRotation(transform.up, Vector3.up);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4;
|
|
L_4 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_4, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_5, L_6, NULL);
|
|
V_0 = L_7;
|
|
// RotateEffector(ik.solver.bodyEffector, r, 0.1f);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_8 = __this->___ik_23;
|
|
NullCheck(L_8);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_9 = L_8->___solver_11;
|
|
NullCheck(L_9);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_10;
|
|
L_10 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_9, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11 = V_0;
|
|
CharacterAnimationThirdPersonIK_RotateEffector_m83E74502501BEBDAFE2E16E7E88AA7EE6B097C28(__this, L_10, L_11, (0.100000001f), NULL);
|
|
// RotateEffector(ik.solver.leftShoulderEffector, r, 0.2f);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_12 = __this->___ik_23;
|
|
NullCheck(L_12);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_13 = L_12->___solver_11;
|
|
NullCheck(L_13);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_14;
|
|
L_14 = IKSolverFullBodyBiped_get_leftShoulderEffector_m5B500D488CCB816846DEF6F9920E55849E1FF17D(L_13, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15 = V_0;
|
|
CharacterAnimationThirdPersonIK_RotateEffector_m83E74502501BEBDAFE2E16E7E88AA7EE6B097C28(__this, L_14, L_15, (0.200000003f), NULL);
|
|
// RotateEffector(ik.solver.rightShoulderEffector, r, 0.2f);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_16 = __this->___ik_23;
|
|
NullCheck(L_16);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_17 = L_16->___solver_11;
|
|
NullCheck(L_17);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_18;
|
|
L_18 = IKSolverFullBodyBiped_get_rightShoulderEffector_m857EA0866A539F70708E4062B1053F3B0352AE4F(L_17, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = V_0;
|
|
CharacterAnimationThirdPersonIK_RotateEffector_m83E74502501BEBDAFE2E16E7E88AA7EE6B097C28(__this, L_18, L_19, (0.200000003f), NULL);
|
|
// RotateEffector(ik.solver.leftHandEffector, r, 0.1f);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_20 = __this->___ik_23;
|
|
NullCheck(L_20);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_21 = L_20->___solver_11;
|
|
NullCheck(L_21);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_22;
|
|
L_22 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_21, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23 = V_0;
|
|
CharacterAnimationThirdPersonIK_RotateEffector_m83E74502501BEBDAFE2E16E7E88AA7EE6B097C28(__this, L_22, L_23, (0.100000001f), NULL);
|
|
// RotateEffector(ik.solver.rightHandEffector, r, 0.1f);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_24 = __this->___ik_23;
|
|
NullCheck(L_24);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_25 = L_24->___solver_11;
|
|
NullCheck(L_25);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_26;
|
|
L_26 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_25, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27 = V_0;
|
|
CharacterAnimationThirdPersonIK_RotateEffector_m83E74502501BEBDAFE2E16E7E88AA7EE6B097C28(__this, L_26, L_27, (0.100000001f), NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.CharacterAnimationThirdPersonIK::RotateEffector(RootMotion.FinalIK.IKEffector,UnityEngine.Quaternion,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterAnimationThirdPersonIK_RotateEffector_m83E74502501BEBDAFE2E16E7E88AA7EE6B097C28 (CharacterAnimationThirdPersonIK_t35FCCC7F985A5CCBA842286427067C0D8757FCAF* __this, IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* ___0_effector, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, float ___2_mlp, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// Vector3 d1 = effector.bone.position - transform.position;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_0 = ___0_effector;
|
|
NullCheck(L_0);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = L_0->___bone_0;
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_1, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3;
|
|
L_3 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_3, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_2, L_4, NULL);
|
|
V_0 = L_5;
|
|
// Vector3 d2 = rotation * d1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___1_rotation;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_6, L_7, NULL);
|
|
// Vector3 offset = d2 - d1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_8, L_9, NULL);
|
|
V_1 = L_10;
|
|
// effector.positionOffset += offset * mlp;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_11 = ___0_effector;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_12 = L_11;
|
|
NullCheck(L_12);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = L_12->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = V_1;
|
|
float L_15 = ___2_mlp;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_14, L_15, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_13, L_16, NULL);
|
|
NullCheck(L_12);
|
|
L_12->___positionOffset_6 = L_17;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.CharacterAnimationThirdPersonIK::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterAnimationThirdPersonIK__ctor_mCEA401FA31FD957A9F0BF14D234D185BA85A74CA (CharacterAnimationThirdPersonIK_t35FCCC7F985A5CCBA842286427067C0D8757FCAF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
CharacterAnimationThirdPerson__ctor_mD7F032D785DC3DB6266F38A4F379E49331E576FE(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.CharacterController3rdPerson::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterController3rdPerson_Start_m99E40F66B105B5652A4690B3A537E4D5CB22F353 (CharacterController3rdPerson_t95A74736BE92A34290FA5C8DE537526AAFBCA64E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisAnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1_mDA852EDB03BB0D0BF4351FBFDEDF2E5AF527A514_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// animatorController = GetComponent<AnimatorController3rdPerson>();
|
|
AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* L_0;
|
|
L_0 = Component_GetComponent_TisAnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1_mDA852EDB03BB0D0BF4351FBFDEDF2E5AF527A514(__this, Component_GetComponent_TisAnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1_mDA852EDB03BB0D0BF4351FBFDEDF2E5AF527A514_RuntimeMethod_var);
|
|
__this->___animatorController_5 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___animatorController_5), (void*)L_0);
|
|
// cam.enabled = false;
|
|
CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412* L_1 = __this->___cam_4;
|
|
NullCheck(L_1);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_1, (bool)0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.CharacterController3rdPerson::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterController3rdPerson_LateUpdate_m86B4421455A9AB5FE5F0F9C6288517962DCF584A (CharacterController3rdPerson_t95A74736BE92A34290FA5C8DE537526AAFBCA64E* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
bool V_1 = false;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
int32_t G_B3_0 = 0;
|
|
{
|
|
// cam.UpdateInput();
|
|
CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412* L_0 = __this->___cam_4;
|
|
NullCheck(L_0);
|
|
CameraController_UpdateInput_mE8E2FC62E97B7F145D8300C07F6F5F423F3ED4B1(L_0, NULL);
|
|
// cam.UpdateTransform();
|
|
CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412* L_1 = __this->___cam_4;
|
|
NullCheck(L_1);
|
|
CameraController_UpdateTransform_m972020875FA1569AF137980F8DEB70A183D1B9CB(L_1, NULL);
|
|
// Vector3 input = inputVector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = CharacterController3rdPerson_get_inputVector_m89F5437C359ED2FEAB372E1D20CCBC6E1E3477FE(NULL);
|
|
V_0 = L_2;
|
|
// bool isMoving = inputVector != Vector3.zero || inputVectorRaw != Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = CharacterController3rdPerson_get_inputVector_m89F5437C359ED2FEAB372E1D20CCBC6E1E3477FE(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_5;
|
|
L_5 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_3, L_4, NULL);
|
|
if (L_5)
|
|
{
|
|
goto IL_003e;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = CharacterController3rdPerson_get_inputVectorRaw_m045175564B2F9A6E94FE21F9892AB246DF4C020F(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_8;
|
|
L_8 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_6, L_7, NULL);
|
|
G_B3_0 = ((int32_t)(L_8));
|
|
goto IL_003f;
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
G_B3_0 = 1;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
V_1 = (bool)G_B3_0;
|
|
// Vector3 lookDirection = cam.transform.forward;
|
|
CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412* L_9 = __this->___cam_4;
|
|
NullCheck(L_9);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10;
|
|
L_10 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_9, NULL);
|
|
NullCheck(L_10);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_10, NULL);
|
|
V_2 = L_11;
|
|
// Vector3 aimTarget = cam.transform.position + (lookDirection * 10f);
|
|
CameraController_t1AE8F30FD3CB14582A1D7EC6F704EE3F49D69412* L_12 = __this->___cam_4;
|
|
NullCheck(L_12);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13;
|
|
L_13 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_12, NULL);
|
|
NullCheck(L_13);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_13, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_15, (10.0f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_14, L_16, NULL);
|
|
V_3 = L_17;
|
|
// animatorController.Move(input, isMoving, lookDirection, aimTarget);
|
|
AnimatorController3rdPerson_t8E7F311FEA340BEC16A33CB62D7AE99F88DA45A1* L_18 = __this->___animatorController_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_0;
|
|
bool L_20 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_3;
|
|
NullCheck(L_18);
|
|
VirtualActionInvoker4< Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, bool, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 >::Invoke(5 /* System.Void RootMotion.Demos.AnimatorController3rdPerson::Move(UnityEngine.Vector3,System.Boolean,UnityEngine.Vector3,UnityEngine.Vector3) */, L_18, L_19, L_20, L_21, L_22);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterController3rdPerson::get_inputVector()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 CharacterController3rdPerson_get_inputVector_m89F5437C359ED2FEAB372E1D20CCBC6E1E3477FE (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral265E15F1F86F1C766555899D5771CF29055DE75A);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7F8C014BD4810CC276D0F9F81A1E759C7B098B1E);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return new Vector3(Input.GetAxis("Horizontal"), 0f, Input.GetAxis("Vertical"));
|
|
float L_0;
|
|
L_0 = Input_GetAxis_m10372E6C5FF591668D2DC5F58C58D213CC598A62(_stringLiteral7F8C014BD4810CC276D0F9F81A1E759C7B098B1E, NULL);
|
|
float L_1;
|
|
L_1 = Input_GetAxis_m10372E6C5FF591668D2DC5F58C58D213CC598A62(_stringLiteral265E15F1F86F1C766555899D5771CF29055DE75A, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_2), L_0, (0.0f), L_1, /*hidden argument*/NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 RootMotion.Demos.CharacterController3rdPerson::get_inputVectorRaw()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 CharacterController3rdPerson_get_inputVectorRaw_m045175564B2F9A6E94FE21F9892AB246DF4C020F (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral265E15F1F86F1C766555899D5771CF29055DE75A);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7F8C014BD4810CC276D0F9F81A1E759C7B098B1E);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return new Vector3(Input.GetAxisRaw("Horizontal"), 0f, Input.GetAxisRaw("Vertical"));
|
|
float L_0;
|
|
L_0 = Input_GetAxisRaw_m47C0CF8E090561A2F407A4E11D5F2A45044EB8E4(_stringLiteral7F8C014BD4810CC276D0F9F81A1E759C7B098B1E, NULL);
|
|
float L_1;
|
|
L_1 = Input_GetAxisRaw_m47C0CF8E090561A2F407A4E11D5F2A45044EB8E4(_stringLiteral265E15F1F86F1C766555899D5771CF29055DE75A, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_2), L_0, (0.0f), L_1, /*hidden argument*/NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.CharacterController3rdPerson::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterController3rdPerson__ctor_m40ED05B937B335F4291B31E52DA9B0D16CE20EA6 (CharacterController3rdPerson_t95A74736BE92A34290FA5C8DE537526AAFBCA64E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.EffectorOffset::OnModifyOffset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorOffset_OnModifyOffset_m2F1027D055286EF9F55FA7B936D95F1E1B1D8FC0 (EffectorOffset_t323B1D57C2EACF070264DC3168B318F857A47E69* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ik.solver.leftHandEffector.maintainRelativePositionWeight = handsMaintainRelativePositionWeight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_0);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_1 = L_0->___solver_11;
|
|
NullCheck(L_1);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_2;
|
|
L_2 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_1, NULL);
|
|
float L_3 = __this->___handsMaintainRelativePositionWeight_7;
|
|
NullCheck(L_2);
|
|
L_2->___maintainRelativePositionWeight_9 = L_3;
|
|
// ik.solver.rightHandEffector.maintainRelativePositionWeight = handsMaintainRelativePositionWeight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_4 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_4);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_5 = L_4->___solver_11;
|
|
NullCheck(L_5);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_6;
|
|
L_6 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_5, NULL);
|
|
float L_7 = __this->___handsMaintainRelativePositionWeight_7;
|
|
NullCheck(L_6);
|
|
L_6->___maintainRelativePositionWeight_9 = L_7;
|
|
// ik.solver.bodyEffector.positionOffset += transform.rotation * bodyOffset * weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_8 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_8);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_9 = L_8->___solver_11;
|
|
NullCheck(L_9);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_10;
|
|
L_10 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_9, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_11 = L_10;
|
|
NullCheck(L_11);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = L_11->___positionOffset_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13;
|
|
L_13 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_13);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
|
|
L_14 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_13, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = __this->___bodyOffset_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_14, L_15, NULL);
|
|
float L_17 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_16, L_17, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_12, L_18, NULL);
|
|
NullCheck(L_11);
|
|
L_11->___positionOffset_6 = L_19;
|
|
// ik.solver.leftShoulderEffector.positionOffset += transform.rotation * leftShoulderOffset * weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_20 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_20);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_21 = L_20->___solver_11;
|
|
NullCheck(L_21);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_22;
|
|
L_22 = IKSolverFullBodyBiped_get_leftShoulderEffector_m5B500D488CCB816846DEF6F9920E55849E1FF17D(L_21, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_23 = L_22;
|
|
NullCheck(L_23);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = L_23->___positionOffset_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_25;
|
|
L_25 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_25);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26;
|
|
L_26 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_25, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = __this->___leftShoulderOffset_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_26, L_27, NULL);
|
|
float L_29 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_28, L_29, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
|
|
L_31 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_24, L_30, NULL);
|
|
NullCheck(L_23);
|
|
L_23->___positionOffset_6 = L_31;
|
|
// ik.solver.rightShoulderEffector.positionOffset += transform.rotation * rightShoulderOffset * weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_32 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_32);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_33 = L_32->___solver_11;
|
|
NullCheck(L_33);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_34;
|
|
L_34 = IKSolverFullBodyBiped_get_rightShoulderEffector_m857EA0866A539F70708E4062B1053F3B0352AE4F(L_33, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_35 = L_34;
|
|
NullCheck(L_35);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = L_35->___positionOffset_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37;
|
|
L_37 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_37);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38;
|
|
L_38 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_37, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = __this->___rightShoulderOffset_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
|
|
L_40 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_38, L_39, NULL);
|
|
float L_41 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
|
|
L_42 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_40, L_41, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
|
|
L_43 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_36, L_42, NULL);
|
|
NullCheck(L_35);
|
|
L_35->___positionOffset_6 = L_43;
|
|
// ik.solver.leftThighEffector.positionOffset += transform.rotation * leftThighOffset * weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_44 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_44);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_45 = L_44->___solver_11;
|
|
NullCheck(L_45);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_46;
|
|
L_46 = IKSolverFullBodyBiped_get_leftThighEffector_m16A228821AC6868B43FBACDBAF64E5FC7E805B10(L_45, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_47 = L_46;
|
|
NullCheck(L_47);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = L_47->___positionOffset_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_49;
|
|
L_49 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_49);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_50;
|
|
L_50 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_49, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = __this->___leftThighOffset_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
|
|
L_52 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_50, L_51, NULL);
|
|
float L_53 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
|
|
L_54 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_52, L_53, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
|
|
L_55 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_48, L_54, NULL);
|
|
NullCheck(L_47);
|
|
L_47->___positionOffset_6 = L_55;
|
|
// ik.solver.rightThighEffector.positionOffset += transform.rotation * rightThighOffset * weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_56 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_56);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_57 = L_56->___solver_11;
|
|
NullCheck(L_57);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_58;
|
|
L_58 = IKSolverFullBodyBiped_get_rightThighEffector_m8B07B53D3B8A827814412F74F22C411DA3434FF8(L_57, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_59 = L_58;
|
|
NullCheck(L_59);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = L_59->___positionOffset_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_61;
|
|
L_61 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_61);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_62;
|
|
L_62 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_61, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = __this->___rightThighOffset_12;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
|
|
L_64 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_62, L_63, NULL);
|
|
float L_65 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66;
|
|
L_66 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_64, L_65, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
|
|
L_67 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_60, L_66, NULL);
|
|
NullCheck(L_59);
|
|
L_59->___positionOffset_6 = L_67;
|
|
// ik.solver.leftHandEffector.positionOffset += transform.rotation * leftHandOffset * weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_68 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_68);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_69 = L_68->___solver_11;
|
|
NullCheck(L_69);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_70;
|
|
L_70 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_69, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_71 = L_70;
|
|
NullCheck(L_71);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72 = L_71->___positionOffset_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_73;
|
|
L_73 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_73);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_74;
|
|
L_74 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_73, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75 = __this->___leftHandOffset_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
|
|
L_76 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_74, L_75, NULL);
|
|
float L_77 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78;
|
|
L_78 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_76, L_77, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
|
|
L_79 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_72, L_78, NULL);
|
|
NullCheck(L_71);
|
|
L_71->___positionOffset_6 = L_79;
|
|
// ik.solver.rightHandEffector.positionOffset += transform.rotation * rightHandOffset * weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_80 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_80);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_81 = L_80->___solver_11;
|
|
NullCheck(L_81);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_82;
|
|
L_82 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_81, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_83 = L_82;
|
|
NullCheck(L_83);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84 = L_83->___positionOffset_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_85;
|
|
L_85 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_85);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_86;
|
|
L_86 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_85, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = __this->___rightHandOffset_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
|
|
L_88 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_86, L_87, NULL);
|
|
float L_89 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
|
|
L_90 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_88, L_89, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91;
|
|
L_91 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_84, L_90, NULL);
|
|
NullCheck(L_83);
|
|
L_83->___positionOffset_6 = L_91;
|
|
// ik.solver.leftFootEffector.positionOffset += transform.rotation * leftFootOffset * weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_92 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_92);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_93 = L_92->___solver_11;
|
|
NullCheck(L_93);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_94;
|
|
L_94 = IKSolverFullBodyBiped_get_leftFootEffector_m9D0EC40FA4CE7BED8F1F353533A776969C855AD9(L_93, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_95 = L_94;
|
|
NullCheck(L_95);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96 = L_95->___positionOffset_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_97;
|
|
L_97 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_97);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_98;
|
|
L_98 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_97, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99 = __this->___leftFootOffset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100;
|
|
L_100 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_98, L_99, NULL);
|
|
float L_101 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102;
|
|
L_102 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_100, L_101, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103;
|
|
L_103 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_96, L_102, NULL);
|
|
NullCheck(L_95);
|
|
L_95->___positionOffset_6 = L_103;
|
|
// ik.solver.rightFootEffector.positionOffset += transform.rotation * rightFootOffset * weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_104 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_104);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_105 = L_104->___solver_11;
|
|
NullCheck(L_105);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_106;
|
|
L_106 = IKSolverFullBodyBiped_get_rightFootEffector_m069583A6E6BA97506EF16406C7477EB2011FE33A(L_105, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_107 = L_106;
|
|
NullCheck(L_107);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_108 = L_107->___positionOffset_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_109;
|
|
L_109 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_109);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_110;
|
|
L_110 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_109, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_111 = __this->___rightFootOffset_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112;
|
|
L_112 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_110, L_111, NULL);
|
|
float L_113 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_114;
|
|
L_114 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_112, L_113, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_115;
|
|
L_115 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_108, L_114, NULL);
|
|
NullCheck(L_107);
|
|
L_107->___positionOffset_6 = L_115;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.EffectorOffset::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorOffset__ctor_mED26709DA40D419ADAC61FDBA20527118A5AAECD (EffectorOffset_t323B1D57C2EACF070264DC3168B318F857A47E69* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
OffsetModifier__ctor_m35CC529F7B5A1450DB1AABC123CD8FEAFBC75E1A(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.ExplosionDemo::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ExplosionDemo_Start_mD77DD182444069883C3E2C4824C2192210A7EFEB (ExplosionDemo_tE47276289E5920417A42F4932B43819B7B1F13DA* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// defaultScale = transform.localScale;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
|
|
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F(L_0, NULL);
|
|
__this->___defaultScale_12 = L_1;
|
|
// r = character.GetComponent<Rigidbody>();
|
|
SimpleLocomotion_t5C40DF535664F3EF4CC54452166672EA480285BE* L_2 = __this->___character_4;
|
|
NullCheck(L_2);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_3;
|
|
L_3 = Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8(L_2, Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
__this->___r_13 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___r_13), (void*)L_3);
|
|
// ik = character.GetComponent<FullBodyBipedIK>();
|
|
SimpleLocomotion_t5C40DF535664F3EF4CC54452166672EA480285BE* L_4 = __this->___character_4;
|
|
NullCheck(L_4);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_5;
|
|
L_5 = Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177(L_4, Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177_RuntimeMethod_var);
|
|
__this->___ik_14 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___ik_14), (void*)L_5);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.ExplosionDemo::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ExplosionDemo_Update_m1EEF0EC6D4A891BD0DB25A3ECFECB25168B8DA47 (ExplosionDemo_tE47276289E5920417A42F4932B43819B7B1F13DA* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
float V_1 = 0.0f;
|
|
{
|
|
// weight = Mathf.Clamp(weight - Time.deltaTime * weightFalloffSpeed, 0f, 1f);
|
|
float L_0 = __this->___weight_11;
|
|
float L_1;
|
|
L_1 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_2 = __this->___weightFalloffSpeed_7;
|
|
float L_3;
|
|
L_3 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_subtract(L_0, ((float)il2cpp_codegen_multiply(L_1, L_2)))), (0.0f), (1.0f), NULL);
|
|
__this->___weight_11 = L_3;
|
|
// if (Input.GetKeyDown(KeyCode.E) && character.isGrounded) {
|
|
bool L_4;
|
|
L_4 = Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2(((int32_t)101), NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0193;
|
|
}
|
|
}
|
|
{
|
|
SimpleLocomotion_t5C40DF535664F3EF4CC54452166672EA480285BE* L_5 = __this->___character_4;
|
|
NullCheck(L_5);
|
|
bool L_6;
|
|
L_6 = SimpleLocomotion_get_isGrounded_mBB52FDDFD43FFBE316BCA4EB0202E1EFEAFA61BF_inline(L_5, NULL);
|
|
if (!L_6)
|
|
{
|
|
goto IL_0193;
|
|
}
|
|
}
|
|
{
|
|
// ik.solver.IKPositionWeight = 1f;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_7 = __this->___ik_14;
|
|
NullCheck(L_7);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_8 = L_7->___solver_11;
|
|
NullCheck(L_8);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_8)->___IKPositionWeight_2 = (1.0f);
|
|
// ik.solver.leftHandEffector.position = ik.solver.leftHandEffector.bone.position;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_9 = __this->___ik_14;
|
|
NullCheck(L_9);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_10 = L_9->___solver_11;
|
|
NullCheck(L_10);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_11;
|
|
L_11 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_10, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_12 = __this->___ik_14;
|
|
NullCheck(L_12);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_13 = L_12->___solver_11;
|
|
NullCheck(L_13);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_14;
|
|
L_14 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_13, NULL);
|
|
NullCheck(L_14);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = L_14->___bone_0;
|
|
NullCheck(L_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_15, NULL);
|
|
NullCheck(L_11);
|
|
L_11->___position_4 = L_16;
|
|
// ik.solver.rightHandEffector.position = ik.solver.rightHandEffector.bone.position;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_17 = __this->___ik_14;
|
|
NullCheck(L_17);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_18 = L_17->___solver_11;
|
|
NullCheck(L_18);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_19;
|
|
L_19 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_18, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_20 = __this->___ik_14;
|
|
NullCheck(L_20);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_21 = L_20->___solver_11;
|
|
NullCheck(L_21);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_22;
|
|
L_22 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_21, NULL);
|
|
NullCheck(L_22);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_23 = L_22->___bone_0;
|
|
NullCheck(L_23);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
L_24 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_23, NULL);
|
|
NullCheck(L_19);
|
|
L_19->___position_4 = L_24;
|
|
// ik.solver.leftFootEffector.position = ik.solver.leftFootEffector.bone.position;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_25 = __this->___ik_14;
|
|
NullCheck(L_25);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_26 = L_25->___solver_11;
|
|
NullCheck(L_26);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_27;
|
|
L_27 = IKSolverFullBodyBiped_get_leftFootEffector_m9D0EC40FA4CE7BED8F1F353533A776969C855AD9(L_26, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_28 = __this->___ik_14;
|
|
NullCheck(L_28);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_29 = L_28->___solver_11;
|
|
NullCheck(L_29);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_30;
|
|
L_30 = IKSolverFullBodyBiped_get_leftFootEffector_m9D0EC40FA4CE7BED8F1F353533A776969C855AD9(L_29, NULL);
|
|
NullCheck(L_30);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_31 = L_30->___bone_0;
|
|
NullCheck(L_31);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_31, NULL);
|
|
NullCheck(L_27);
|
|
L_27->___position_4 = L_32;
|
|
// ik.solver.rightFootEffector.position = ik.solver.rightFootEffector.bone.position;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_33 = __this->___ik_14;
|
|
NullCheck(L_33);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_34 = L_33->___solver_11;
|
|
NullCheck(L_34);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_35;
|
|
L_35 = IKSolverFullBodyBiped_get_rightFootEffector_m069583A6E6BA97506EF16406C7477EB2011FE33A(L_34, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_36 = __this->___ik_14;
|
|
NullCheck(L_36);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_37 = L_36->___solver_11;
|
|
NullCheck(L_37);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_38;
|
|
L_38 = IKSolverFullBodyBiped_get_rightFootEffector_m069583A6E6BA97506EF16406C7477EB2011FE33A(L_37, NULL);
|
|
NullCheck(L_38);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_39 = L_38->___bone_0;
|
|
NullCheck(L_39);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
|
|
L_40 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_39, NULL);
|
|
NullCheck(L_35);
|
|
L_35->___position_4 = L_40;
|
|
// weight = 1f;
|
|
__this->___weight_11 = (1.0f);
|
|
// Vector3 direction = r.position - transform.position;
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_41 = __this->___r_13;
|
|
NullCheck(L_41);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
|
|
L_42 = Rigidbody_get_position_m4ECB79BDBBF8FD1EA572EDB792D3330DDED24691(L_41, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_43;
|
|
L_43 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_43);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
|
|
L_44 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_43, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
L_45 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_42, L_44, NULL);
|
|
V_0 = L_45;
|
|
// direction.y = 0f;
|
|
(&V_0)->___y_3 = (0.0f);
|
|
// float explosionForce = explosionForceByDistance.Evaluate(direction.magnitude);
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_46 = __this->___explosionForceByDistance_9;
|
|
float L_47;
|
|
L_47 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_0), NULL);
|
|
NullCheck(L_46);
|
|
float L_48;
|
|
L_48 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_46, L_47, NULL);
|
|
V_1 = L_48;
|
|
// r.velocity = (direction.normalized + (Vector3.up * upForce)) * explosionForce * forceMlp;
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_49 = __this->___r_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
|
|
L_50 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_0), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
|
|
L_51 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
float L_52 = __this->___upForce_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
|
|
L_53 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_51, L_52, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
|
|
L_54 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_50, L_53, NULL);
|
|
float L_55 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
|
|
L_56 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_54, L_55, NULL);
|
|
float L_57 = __this->___forceMlp_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_56, L_57, NULL);
|
|
NullCheck(L_49);
|
|
Rigidbody_set_velocity_mE4031DF1C2C1CCE889F2AC9D8871D83795BB0D62(L_49, L_58, NULL);
|
|
}
|
|
|
|
IL_0193:
|
|
{
|
|
// if (weight < 0.5f && character.isGrounded) {
|
|
float L_59 = __this->___weight_11;
|
|
if ((!(((float)L_59) < ((float)(0.5f)))))
|
|
{
|
|
goto IL_01d4;
|
|
}
|
|
}
|
|
{
|
|
SimpleLocomotion_t5C40DF535664F3EF4CC54452166672EA480285BE* L_60 = __this->___character_4;
|
|
NullCheck(L_60);
|
|
bool L_61;
|
|
L_61 = SimpleLocomotion_get_isGrounded_mBB52FDDFD43FFBE316BCA4EB0202E1EFEAFA61BF_inline(L_60, NULL);
|
|
if (!L_61)
|
|
{
|
|
goto IL_01d4;
|
|
}
|
|
}
|
|
{
|
|
// weight = Mathf.Clamp(weight - Time.deltaTime * 3f, 0f, 1f);
|
|
float L_62 = __this->___weight_11;
|
|
float L_63;
|
|
L_63 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_64;
|
|
L_64 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)il2cpp_codegen_subtract(L_62, ((float)il2cpp_codegen_multiply(L_63, (3.0f))))), (0.0f), (1.0f), NULL);
|
|
__this->___weight_11 = L_64;
|
|
}
|
|
|
|
IL_01d4:
|
|
{
|
|
// SetEffectorWeights(weightFalloff.Evaluate(weight));
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_65 = __this->___weightFalloff_8;
|
|
float L_66 = __this->___weight_11;
|
|
NullCheck(L_65);
|
|
float L_67;
|
|
L_67 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_65, L_66, NULL);
|
|
ExplosionDemo_SetEffectorWeights_mC3C832E7DA9270605719A7267ECF5C5AD947D95A(__this, L_67, NULL);
|
|
// transform.localScale = scale.Evaluate(weight) * defaultScale;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_68;
|
|
L_68 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_69 = __this->___scale_10;
|
|
float L_70 = __this->___weight_11;
|
|
NullCheck(L_69);
|
|
float L_71;
|
|
L_71 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_69, L_70, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72 = __this->___defaultScale_12;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73;
|
|
L_73 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_71, L_72, NULL);
|
|
NullCheck(L_68);
|
|
Transform_set_localScale_mBA79E811BAF6C47B80FF76414C12B47B3CD03633(L_68, L_73, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.ExplosionDemo::SetEffectorWeights(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ExplosionDemo_SetEffectorWeights_mC3C832E7DA9270605719A7267ECF5C5AD947D95A (ExplosionDemo_tE47276289E5920417A42F4932B43819B7B1F13DA* __this, float ___0_w, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ik.solver.leftHandEffector.positionWeight = w;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_14;
|
|
NullCheck(L_0);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_1 = L_0->___solver_11;
|
|
NullCheck(L_1);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_2;
|
|
L_2 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_1, NULL);
|
|
float L_3 = ___0_w;
|
|
NullCheck(L_2);
|
|
L_2->___positionWeight_2 = L_3;
|
|
// ik.solver.rightHandEffector.positionWeight = w;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_4 = __this->___ik_14;
|
|
NullCheck(L_4);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_5 = L_4->___solver_11;
|
|
NullCheck(L_5);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_6;
|
|
L_6 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_5, NULL);
|
|
float L_7 = ___0_w;
|
|
NullCheck(L_6);
|
|
L_6->___positionWeight_2 = L_7;
|
|
// ik.solver.leftFootEffector.positionWeight = w;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_8 = __this->___ik_14;
|
|
NullCheck(L_8);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_9 = L_8->___solver_11;
|
|
NullCheck(L_9);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_10;
|
|
L_10 = IKSolverFullBodyBiped_get_leftFootEffector_m9D0EC40FA4CE7BED8F1F353533A776969C855AD9(L_9, NULL);
|
|
float L_11 = ___0_w;
|
|
NullCheck(L_10);
|
|
L_10->___positionWeight_2 = L_11;
|
|
// ik.solver.rightFootEffector.positionWeight = w;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_12 = __this->___ik_14;
|
|
NullCheck(L_12);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_13 = L_12->___solver_11;
|
|
NullCheck(L_13);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_14;
|
|
L_14 = IKSolverFullBodyBiped_get_rightFootEffector_m069583A6E6BA97506EF16406C7477EB2011FE33A(L_13, NULL);
|
|
float L_15 = ___0_w;
|
|
NullCheck(L_14);
|
|
L_14->___positionWeight_2 = L_15;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.ExplosionDemo::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ExplosionDemo__ctor_m2074C98C4471E235D08DB05449C0322003E6A185 (ExplosionDemo_tE47276289E5920417A42F4932B43819B7B1F13DA* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float forceMlp = 1f; // Explosion force
|
|
__this->___forceMlp_5 = (1.0f);
|
|
// public float upForce = 1f; // Explosion up forve
|
|
__this->___upForce_6 = (1.0f);
|
|
// public float weightFalloffSpeed = 1f; // The speed of explosion falloff
|
|
__this->___weightFalloffSpeed_7 = (1.0f);
|
|
// private Vector3 defaultScale = Vector3.one;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
__this->___defaultScale_12 = L_0;
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.FBBIKSettings::UpdateSettings()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBBIKSettings_UpdateSettings_m1E2402497B7E25CFBADDAC24384A7817B5BAF323 (FBBIKSettings_tA6F1B11770302C7C26704888C923FF026C85D94D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (ik == null) return;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (ik == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// leftArm.Apply(FullBodyBipedChain.LeftArm, ik.solver);
|
|
Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01* L_2 = __this->___leftArm_6;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_3 = __this->___ik_4;
|
|
NullCheck(L_3);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_4 = L_3->___solver_11;
|
|
NullCheck(L_2);
|
|
Limb_Apply_m0C54AD8705D6BD18B1FF6343EA11DDB1C1765061(L_2, 0, L_4, NULL);
|
|
// rightArm.Apply(FullBodyBipedChain.RightArm, ik.solver);
|
|
Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01* L_5 = __this->___rightArm_7;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_6 = __this->___ik_4;
|
|
NullCheck(L_6);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_7 = L_6->___solver_11;
|
|
NullCheck(L_5);
|
|
Limb_Apply_m0C54AD8705D6BD18B1FF6343EA11DDB1C1765061(L_5, 1, L_7, NULL);
|
|
// leftLeg.Apply(FullBodyBipedChain.LeftLeg, ik.solver);
|
|
Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01* L_8 = __this->___leftLeg_8;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_9 = __this->___ik_4;
|
|
NullCheck(L_9);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_10 = L_9->___solver_11;
|
|
NullCheck(L_8);
|
|
Limb_Apply_m0C54AD8705D6BD18B1FF6343EA11DDB1C1765061(L_8, 2, L_10, NULL);
|
|
// rightLeg.Apply(FullBodyBipedChain.RightLeg, ik.solver);
|
|
Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01* L_11 = __this->___rightLeg_9;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_12 = __this->___ik_4;
|
|
NullCheck(L_12);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_13 = L_12->___solver_11;
|
|
NullCheck(L_11);
|
|
Limb_Apply_m0C54AD8705D6BD18B1FF6343EA11DDB1C1765061(L_11, 3, L_13, NULL);
|
|
// ik.solver.chain[0].pin = rootPin;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_14 = __this->___ik_4;
|
|
NullCheck(L_14);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_15 = L_14->___solver_11;
|
|
NullCheck(L_15);
|
|
FBIKChainU5BU5D_tFD8C1E683937E1B76330546A24DBDBFB765FFCD8* L_16 = ((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_15)->___chain_11;
|
|
NullCheck(L_16);
|
|
int32_t L_17 = 0;
|
|
FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4* L_18 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
float L_19 = __this->___rootPin_10;
|
|
NullCheck(L_18);
|
|
L_18->___pin_0 = L_19;
|
|
// ik.solver.bodyEffector.effectChildNodes = bodyEffectChildNodes;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_20 = __this->___ik_4;
|
|
NullCheck(L_20);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_21 = L_20->___solver_11;
|
|
NullCheck(L_21);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_22;
|
|
L_22 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_21, NULL);
|
|
bool L_23 = __this->___bodyEffectChildNodes_11;
|
|
NullCheck(L_22);
|
|
L_22->___effectChildNodes_8 = L_23;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBBIKSettings::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBBIKSettings_Start_mE6FC8722006419F44B5920123EA4D06915192CD2 (FBBIKSettings_tA6F1B11770302C7C26704888C923FF026C85D94D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral775FDAD439F92CFB6B75E6ACE982246BC21C1342);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Debug.Log("FBBIKSettings is deprecated, you can now edit all the settings from the custom inspector of the FullBodyBipedIK component.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(_stringLiteral775FDAD439F92CFB6B75E6ACE982246BC21C1342, NULL);
|
|
// UpdateSettings();
|
|
FBBIKSettings_UpdateSettings_m1E2402497B7E25CFBADDAC24384A7817B5BAF323(__this, NULL);
|
|
// if (disableAfterStart) this.enabled = false;
|
|
bool L_0 = __this->___disableAfterStart_5;
|
|
if (!L_0)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
// if (disableAfterStart) this.enabled = false;
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(__this, (bool)0, NULL);
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBBIKSettings::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBBIKSettings_Update_mAB235017617FC6C55D80F1C3647955A69B59BE5E (FBBIKSettings_tA6F1B11770302C7C26704888C923FF026C85D94D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// UpdateSettings();
|
|
FBBIKSettings_UpdateSettings_m1E2402497B7E25CFBADDAC24384A7817B5BAF323(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBBIKSettings::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBBIKSettings__ctor_m5C15909585D58BF8F879B00BC40C597A75C9A870 (FBBIKSettings_tA6F1B11770302C7C26704888C923FF026C85D94D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool bodyEffectChildNodes = true; // If true, the body effector will also drag the thigh effectors
|
|
__this->___bodyEffectChildNodes_11 = (bool)1;
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.FBBIKSettings/Limb::Apply(RootMotion.FinalIK.FullBodyBipedChain,RootMotion.FinalIK.IKSolverFullBodyBiped)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Limb_Apply_m0C54AD8705D6BD18B1FF6343EA11DDB1C1765061 (Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01* __this, int32_t ___0_chain, IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* ___1_solver, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// solver.GetChain(chain).reachSmoothing = reachSmoothing;
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_0 = ___1_solver;
|
|
int32_t L_1 = ___0_chain;
|
|
NullCheck(L_0);
|
|
FBIKChain_t889B73B09B89330A1E3EE79393C02E34DEED10D4* L_2;
|
|
L_2 = IKSolverFullBodyBiped_GetChain_mD72F5FF776725E0C38DA6C2F5A6F3444A860CFB5(L_0, L_1, NULL);
|
|
int32_t L_3 = __this->___reachSmoothing_0;
|
|
NullCheck(L_2);
|
|
L_2->___reachSmoothing_5 = L_3;
|
|
// solver.GetEndEffector(chain).maintainRelativePositionWeight = maintainRelativePositionWeight;
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_4 = ___1_solver;
|
|
int32_t L_5 = ___0_chain;
|
|
NullCheck(L_4);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_6;
|
|
L_6 = IKSolverFullBodyBiped_GetEndEffector_m82CB19FB617283EADCEBCC9FB35CA9B1F03B46C8(L_4, L_5, NULL);
|
|
float L_7 = __this->___maintainRelativePositionWeight_1;
|
|
NullCheck(L_6);
|
|
L_6->___maintainRelativePositionWeight_9 = L_7;
|
|
// solver.GetLimbMapping(chain).weight = mappingWeight;
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_8 = ___1_solver;
|
|
int32_t L_9 = ___0_chain;
|
|
NullCheck(L_8);
|
|
IKMappingLimb_t4C98F986BCB13706B8F65F99AC139FA8E377338D* L_10;
|
|
L_10 = IKSolverFullBodyBiped_GetLimbMapping_m60E39565F0F9588B5933381F7B90169B1D3852AA(L_8, L_9, NULL);
|
|
float L_11 = __this->___mappingWeight_2;
|
|
NullCheck(L_10);
|
|
L_10->___weight_5 = L_11;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBBIKSettings/Limb::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Limb__ctor_mCC029BF9DDDF6358F36BF43EA796CCB3E326C32C (Limb_tA9B5F79462F5F7C0A0D72F73D01124D0B8A2FD01* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float mappingWeight = 1f;
|
|
__this->___mappingWeight_2 = (1.0f);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.FBIKBendGoal::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKBendGoal_Start_mAF980F12F69657EC583E9B3777AE02E82A7D4F62 (FBIKBendGoal_t276E771DEDD9ABEECF4353ADB99AB9232B6C4174* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral802EE3F20E6B276230C58A948CDB87B042DA121E);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Debug.Log("FBIKBendGoal is deprecated, you can now a bend goal from the custom inspector of the FullBodyBipedIK component.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(_stringLiteral802EE3F20E6B276230C58A948CDB87B042DA121E, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBIKBendGoal::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKBendGoal_Update_m87BACAD1826A3A3C1FC717D49613F844BD2881FA (FBIKBendGoal_t276E771DEDD9ABEECF4353ADB99AB9232B6C4174* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (ik == null) return;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (ik == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// ik.solver.GetBendConstraint(chain).bendGoal = transform;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_2 = __this->___ik_4;
|
|
NullCheck(L_2);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_3 = L_2->___solver_11;
|
|
int32_t L_4 = __this->___chain_5;
|
|
NullCheck(L_3);
|
|
IKConstraintBend_t6B9D65F2A498CF5004558E3D1AE8E157DA1F5E2B* L_5;
|
|
L_5 = IKSolverFullBodyBiped_GetBendConstraint_mB5D7E8FA5A9AD42962B94345B7427E4AF50ED8D1(L_3, L_4, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
|
|
L_6 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_5);
|
|
L_5->___bendGoal_3 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_5->___bendGoal_3), (void*)L_6);
|
|
// ik.solver.GetBendConstraint(chain).weight = weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_7 = __this->___ik_4;
|
|
NullCheck(L_7);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_8 = L_7->___solver_11;
|
|
int32_t L_9 = __this->___chain_5;
|
|
NullCheck(L_8);
|
|
IKConstraintBend_t6B9D65F2A498CF5004558E3D1AE8E157DA1F5E2B* L_10;
|
|
L_10 = IKSolverFullBodyBiped_GetBendConstraint_mB5D7E8FA5A9AD42962B94345B7427E4AF50ED8D1(L_8, L_9, NULL);
|
|
float L_11 = __this->___weight_6;
|
|
NullCheck(L_10);
|
|
L_10->___weight_6 = L_11;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBIKBendGoal::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKBendGoal__ctor_m0679A6ED246277669B33346ABC3E60ACE122869F (FBIKBendGoal_t276E771DEDD9ABEECF4353ADB99AB9232B6C4174* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.FBIKBoxing::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKBoxing_Start_mB4A2076E807A6EAE8EB012557369B57903001E2E (FBIKBoxing_tCCE5F154433E045B24434F05A926F080EB19530C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// animator = GetComponent<Animator>();
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_0;
|
|
L_0 = Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE(__this, Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE_RuntimeMethod_var);
|
|
__this->___animator_11 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___animator_11), (void*)L_0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBIKBoxing::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKBoxing_LateUpdate_mB900AEABE9E1643C8B95705FC724A91BD404EE30 (FBIKBoxing_tCCE5F154433E045B24434F05A926F080EB19530C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF4FC07F243BFB52A895367AF86FA21AA3A862516);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float hitWeight = animator.GetFloat("HitWeight");
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_0 = __this->___animator_11;
|
|
NullCheck(L_0);
|
|
float L_1;
|
|
L_1 = Animator_GetFloat_m10B455A15EB343175518CCBEE2818C2497CC678A(L_0, _stringLiteralF4FC07F243BFB52A895367AF86FA21AA3A862516, NULL);
|
|
V_0 = L_1;
|
|
// ik.solver.GetEffector(effector).position = target.position;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_2 = __this->___ik_6;
|
|
NullCheck(L_2);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_3 = L_2->___solver_11;
|
|
int32_t L_4 = __this->___effector_9;
|
|
NullCheck(L_3);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_5;
|
|
L_5 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_3, L_4, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = __this->___target_4;
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
|
|
NullCheck(L_5);
|
|
L_5->___position_4 = L_7;
|
|
// ik.solver.GetEffector(effector).positionWeight = hitWeight * weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_8 = __this->___ik_6;
|
|
NullCheck(L_8);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_9 = L_8->___solver_11;
|
|
int32_t L_10 = __this->___effector_9;
|
|
NullCheck(L_9);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_11;
|
|
L_11 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_9, L_10, NULL);
|
|
float L_12 = V_0;
|
|
float L_13 = __this->___weight_8;
|
|
NullCheck(L_11);
|
|
L_11->___positionWeight_2 = ((float)il2cpp_codegen_multiply(L_12, L_13));
|
|
// if (aim != null) {
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_14 = __this->___aim_7;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_15;
|
|
L_15 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_14, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_15)
|
|
{
|
|
goto IL_00c6;
|
|
}
|
|
}
|
|
{
|
|
// aim.solver.transform.LookAt(pin.position);
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_16 = __this->___aim_7;
|
|
NullCheck(L_16);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_17 = L_16->___solver_10;
|
|
NullCheck(L_17);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = L_17->___transform_18;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = __this->___pin_5;
|
|
NullCheck(L_19);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
L_20 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_19, NULL);
|
|
NullCheck(L_18);
|
|
Transform_LookAt_mFEF7353E4CAEB85D5F7CEEF9276C3B8D6E314C6C(L_18, L_20, NULL);
|
|
// aim.solver.IKPosition = target.position;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_21 = __this->___aim_7;
|
|
NullCheck(L_21);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_22 = L_21->___solver_10;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_23 = __this->___target_4;
|
|
NullCheck(L_23);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
L_24 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_23, NULL);
|
|
NullCheck(L_22);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_22)->___IKPosition_1 = L_24;
|
|
// aim.solver.IKPositionWeight = aimWeight.Evaluate(hitWeight) * weight;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_25 = __this->___aim_7;
|
|
NullCheck(L_25);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_26 = L_25->___solver_10;
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_27 = __this->___aimWeight_10;
|
|
float L_28 = V_0;
|
|
NullCheck(L_27);
|
|
float L_29;
|
|
L_29 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_27, L_28, NULL);
|
|
float L_30 = __this->___weight_8;
|
|
NullCheck(L_26);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_26)->___IKPositionWeight_2 = ((float)il2cpp_codegen_multiply(L_29, L_30));
|
|
}
|
|
|
|
IL_00c6:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBIKBoxing::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKBoxing__ctor_mF685338B7ACF004FC82B69977FA016036B35D3D3 (FBIKBoxing_tCCE5F154433E045B24434F05A926F080EB19530C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.FBIKHandsOnProp::Awake()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKHandsOnProp_Awake_m87F7F89498595B6752F39E336FA9200C7A97B9F4 (FBIKHandsOnProp_tBCEE0F504A54C23E6C15FD8F6826AAA2C7900035* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FBIKHandsOnProp_OnPreRead_m4AC11000CA8A7D196E9DAC06441FCB65BFAF4923_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// ik.solver.OnPreRead += OnPreRead;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_4;
|
|
NullCheck(L_0);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_1 = L_0->___solver_11;
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_2 = L_1;
|
|
NullCheck(L_2);
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_3 = ((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_2)->___OnPreRead_17;
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_4 = (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)il2cpp_codegen_object_new(UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971(L_4, __this, (intptr_t)((void*)FBIKHandsOnProp_OnPreRead_m4AC11000CA8A7D196E9DAC06441FCB65BFAF4923_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_5;
|
|
L_5 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_3, L_4, NULL);
|
|
NullCheck(L_2);
|
|
((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_2)->___OnPreRead_17 = ((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_5, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_2)->___OnPreRead_17), (void*)((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_5, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var)));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBIKHandsOnProp::OnPreRead()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKHandsOnProp_OnPreRead_m4AC11000CA8A7D196E9DAC06441FCB65BFAF4923 (FBIKHandsOnProp_tBCEE0F504A54C23E6C15FD8F6826AAA2C7900035* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (leftHanded) HandsOnProp(ik.solver.leftHandEffector, ik.solver.rightHandEffector);
|
|
bool L_0 = __this->___leftHanded_5;
|
|
if (!L_0)
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
// if (leftHanded) HandsOnProp(ik.solver.leftHandEffector, ik.solver.rightHandEffector);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_1 = __this->___ik_4;
|
|
NullCheck(L_1);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_2 = L_1->___solver_11;
|
|
NullCheck(L_2);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_3;
|
|
L_3 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_2, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_4 = __this->___ik_4;
|
|
NullCheck(L_4);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_5 = L_4->___solver_11;
|
|
NullCheck(L_5);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_6;
|
|
L_6 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_5, NULL);
|
|
FBIKHandsOnProp_HandsOnProp_m5237794F707E2E42AAAFE2FC6E70968BAB729829(__this, L_3, L_6, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// else HandsOnProp(ik.solver.rightHandEffector, ik.solver.leftHandEffector);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_7 = __this->___ik_4;
|
|
NullCheck(L_7);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_8 = L_7->___solver_11;
|
|
NullCheck(L_8);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_9;
|
|
L_9 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_8, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_10 = __this->___ik_4;
|
|
NullCheck(L_10);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_11 = L_10->___solver_11;
|
|
NullCheck(L_11);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_12;
|
|
L_12 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_11, NULL);
|
|
FBIKHandsOnProp_HandsOnProp_m5237794F707E2E42AAAFE2FC6E70968BAB729829(__this, L_9, L_12, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBIKHandsOnProp::HandsOnProp(RootMotion.FinalIK.IKEffector,RootMotion.FinalIK.IKEffector)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKHandsOnProp_HandsOnProp_m5237794F707E2E42AAAFE2FC6E70968BAB729829 (FBIKHandsOnProp_tBCEE0F504A54C23E6C15FD8F6826AAA2C7900035* __this, IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* ___0_mainHand, IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* ___1_otherHand, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
{
|
|
// Vector3 toOtherHand = otherHand.bone.position - mainHand.bone.position;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_0 = ___1_otherHand;
|
|
NullCheck(L_0);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = L_0->___bone_0;
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_1, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_3 = ___0_mainHand;
|
|
NullCheck(L_3);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = L_3->___bone_0;
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_4, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_2, L_5, NULL);
|
|
V_0 = L_6;
|
|
// Vector3 otherHandRelativeDirection = Quaternion.Inverse(mainHand.bone.rotation) * toOtherHand;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_7 = ___0_mainHand;
|
|
NullCheck(L_7);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = L_7->___bone_0;
|
|
NullCheck(L_8);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
|
|
L_9 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_8, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
|
|
L_10 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_9, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_10, L_11, NULL);
|
|
V_1 = L_12;
|
|
// Vector3 handsCenter = mainHand.bone.position + (toOtherHand * 0.5f);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_13 = ___0_mainHand;
|
|
NullCheck(L_13);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = L_13->___bone_0;
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_14, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_16, (0.5f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_17, NULL);
|
|
V_2 = L_18;
|
|
// Quaternion otherHandRelativeRotation = Quaternion.Inverse(mainHand.bone.rotation) * otherHand.bone.rotation;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_19 = ___0_mainHand;
|
|
NullCheck(L_19);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_20 = L_19->___bone_0;
|
|
NullCheck(L_20);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21;
|
|
L_21 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_20, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
|
|
L_22 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_21, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_23 = ___1_otherHand;
|
|
NullCheck(L_23);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24 = L_23->___bone_0;
|
|
NullCheck(L_24);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25;
|
|
L_25 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_24, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26;
|
|
L_26 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_22, L_25, NULL);
|
|
V_3 = L_26;
|
|
// Vector3 toOtherHandWithOffset = (otherHand.bone.position + otherHand.positionOffset) - (mainHand.bone.position + mainHand.positionOffset);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_27 = ___1_otherHand;
|
|
NullCheck(L_27);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_28 = L_27->___bone_0;
|
|
NullCheck(L_28);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_28, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_30 = ___1_otherHand;
|
|
NullCheck(L_30);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = L_30->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_29, L_31, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_33 = ___0_mainHand;
|
|
NullCheck(L_33);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_34 = L_33->___bone_0;
|
|
NullCheck(L_34);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_34, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_36 = ___0_mainHand;
|
|
NullCheck(L_36);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = L_36->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
|
|
L_38 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_35, L_37, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
|
|
L_39 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_32, L_38, NULL);
|
|
V_4 = L_39;
|
|
// Vector3 handsCenterWithOffset = (mainHand.bone.position + mainHand.positionOffset) + (toOtherHand * 0.5f);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_40 = ___0_mainHand;
|
|
NullCheck(L_40);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_41 = L_40->___bone_0;
|
|
NullCheck(L_41);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
|
|
L_42 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_41, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_43 = ___0_mainHand;
|
|
NullCheck(L_43);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = L_43->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
L_45 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_42, L_44, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
|
|
L_47 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_46, (0.5f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
|
|
L_48 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_45, L_47, NULL);
|
|
V_5 = L_48;
|
|
// mainHand.position = (mainHand.bone.position + mainHand.positionOffset) + (handsCenterWithOffset - handsCenter);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_49 = ___0_mainHand;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_50 = ___0_mainHand;
|
|
NullCheck(L_50);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_51 = L_50->___bone_0;
|
|
NullCheck(L_51);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
|
|
L_52 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_51, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_53 = ___0_mainHand;
|
|
NullCheck(L_53);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54 = L_53->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
|
|
L_55 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_52, L_54, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = V_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_56, L_57, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
|
|
L_59 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_55, L_58, NULL);
|
|
NullCheck(L_49);
|
|
L_49->___position_4 = L_59;
|
|
// mainHand.positionWeight = 1f;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_60 = ___0_mainHand;
|
|
NullCheck(L_60);
|
|
L_60->___positionWeight_2 = (1.0f);
|
|
// Quaternion rotationOffset = Quaternion.FromToRotation(toOtherHand, toOtherHandWithOffset);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62 = V_4;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_63;
|
|
L_63 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_61, L_62, NULL);
|
|
V_6 = L_63;
|
|
// mainHand.bone.rotation = rotationOffset * mainHand.bone.rotation;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_64 = ___0_mainHand;
|
|
NullCheck(L_64);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_65 = L_64->___bone_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_66 = V_6;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_67 = ___0_mainHand;
|
|
NullCheck(L_67);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_68 = L_67->___bone_0;
|
|
NullCheck(L_68);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_69;
|
|
L_69 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_68, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_70;
|
|
L_70 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_66, L_69, NULL);
|
|
NullCheck(L_65);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_65, L_70, NULL);
|
|
// otherHand.position = mainHand.position + mainHand.bone.rotation * otherHandRelativeDirection;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_71 = ___1_otherHand;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_72 = ___0_mainHand;
|
|
NullCheck(L_72);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73 = L_72->___position_4;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_74 = ___0_mainHand;
|
|
NullCheck(L_74);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_75 = L_74->___bone_0;
|
|
NullCheck(L_75);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_76;
|
|
L_76 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_75, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78;
|
|
L_78 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_76, L_77, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
|
|
L_79 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_73, L_78, NULL);
|
|
NullCheck(L_71);
|
|
L_71->___position_4 = L_79;
|
|
// otherHand.positionWeight = 1f;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_80 = ___1_otherHand;
|
|
NullCheck(L_80);
|
|
L_80->___positionWeight_2 = (1.0f);
|
|
// otherHand.bone.rotation = mainHand.bone.rotation * otherHandRelativeRotation;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_81 = ___1_otherHand;
|
|
NullCheck(L_81);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_82 = L_81->___bone_0;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_83 = ___0_mainHand;
|
|
NullCheck(L_83);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_84 = L_83->___bone_0;
|
|
NullCheck(L_84);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_85;
|
|
L_85 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_84, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_86 = V_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_87;
|
|
L_87 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_85, L_86, NULL);
|
|
NullCheck(L_82);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_82, L_87, NULL);
|
|
// ik.solver.leftArmMapping.maintainRotationWeight = 1f;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_88 = __this->___ik_4;
|
|
NullCheck(L_88);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_89 = L_88->___solver_11;
|
|
NullCheck(L_89);
|
|
IKMappingLimb_t4C98F986BCB13706B8F65F99AC139FA8E377338D* L_90;
|
|
L_90 = IKSolverFullBodyBiped_get_leftArmMapping_m115D0464620CC3D9B21FD33E925689F00D3776D9(L_89, NULL);
|
|
NullCheck(L_90);
|
|
L_90->___maintainRotationWeight_4 = (1.0f);
|
|
// ik.solver.rightArmMapping.maintainRotationWeight = 1f;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_91 = __this->___ik_4;
|
|
NullCheck(L_91);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_92 = L_91->___solver_11;
|
|
NullCheck(L_92);
|
|
IKMappingLimb_t4C98F986BCB13706B8F65F99AC139FA8E377338D* L_93;
|
|
L_93 = IKSolverFullBodyBiped_get_rightArmMapping_m84B513C8BF6416AC353C9B23A5438F355EFE7CC2(L_92, NULL);
|
|
NullCheck(L_93);
|
|
L_93->___maintainRotationWeight_4 = (1.0f);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBIKHandsOnProp::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKHandsOnProp_OnDestroy_mC2B47C45C0F6D7659E48C993F833FC9CE501575B (FBIKHandsOnProp_tBCEE0F504A54C23E6C15FD8F6826AAA2C7900035* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FBIKHandsOnProp_OnPreRead_m4AC11000CA8A7D196E9DAC06441FCB65BFAF4923_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (ik != null) {
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
// ik.solver.OnPreRead -= OnPreRead;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_2 = __this->___ik_4;
|
|
NullCheck(L_2);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_3 = L_2->___solver_11;
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_4 = L_3;
|
|
NullCheck(L_4);
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_5 = ((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_4)->___OnPreRead_17;
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_6 = (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)il2cpp_codegen_object_new(UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971(L_6, __this, (intptr_t)((void*)FBIKHandsOnProp_OnPreRead_m4AC11000CA8A7D196E9DAC06441FCB65BFAF4923_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_7;
|
|
L_7 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_5, L_6, NULL);
|
|
NullCheck(L_4);
|
|
((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_4)->___OnPreRead_17 = ((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_4)->___OnPreRead_17), (void*)((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var)));
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FBIKHandsOnProp::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FBIKHandsOnProp__ctor_m29FD92788485B0D6E581CA8020EDAE1BF12A5394 (FBIKHandsOnProp_tBCEE0F504A54C23E6C15FD8F6826AAA2C7900035* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.FPSAiming::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSAiming_Start_mBC5D0F6ED1479EDC7DDA24435506640D2BB889A7 (FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1B53773871E0BAC49BF1C9F323EEB09F6BD48AC8);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// gunTargetDefaultLocalPosition = gunTarget.localPosition;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___gunTarget_10;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_localPosition_mA9C86B990DF0685EA1061A120218993FDCC60A95(L_0, NULL);
|
|
__this->___gunTargetDefaultLocalPosition_17 = L_1;
|
|
// gunTargetDefaultLocalRotation = gunTarget.localEulerAngles;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___gunTarget_10;
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Transform_get_localEulerAngles_m358AA9AE8FA24FD1BB7842D231C8644D1C2910C6(L_2, NULL);
|
|
__this->___gunTargetDefaultLocalRotation_18 = L_3;
|
|
// camDefaultLocalPosition = cam.transform.localPosition;
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_4 = __this->___cam_14;
|
|
NullCheck(L_4);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5;
|
|
L_5 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_4, NULL);
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Transform_get_localPosition_mA9C86B990DF0685EA1061A120218993FDCC60A95(L_5, NULL);
|
|
__this->___camDefaultLocalPosition_19 = L_6;
|
|
// cam.enabled = false;
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_7 = __this->___cam_14;
|
|
NullCheck(L_7);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_7, (bool)0, NULL);
|
|
// gunAim.enabled = false;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_8 = __this->___gunAim_12;
|
|
NullCheck(L_8);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_8, (bool)0, NULL);
|
|
// if (headAim != null) headAim.enabled = false;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_9 = __this->___headAim_13;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_10;
|
|
L_10 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_9, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_10)
|
|
{
|
|
goto IL_006a;
|
|
}
|
|
}
|
|
{
|
|
// if (headAim != null) headAim.enabled = false;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_11 = __this->___headAim_13;
|
|
NullCheck(L_11);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_11, (bool)0, NULL);
|
|
}
|
|
|
|
IL_006a:
|
|
{
|
|
// ik.enabled = false;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_12 = __this->___ik_11;
|
|
NullCheck(L_12);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_12, (bool)0, NULL);
|
|
// if (recoil != null && ik.solver.iterations == 0) Debug.LogWarning("FPSAiming with Recoil needs FBBIK solver iteration count to be at least 1 to maintain accuracy.");
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_13 = __this->___recoil_15;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_14;
|
|
L_14 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_13, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_14)
|
|
{
|
|
goto IL_00a0;
|
|
}
|
|
}
|
|
{
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_15 = __this->___ik_11;
|
|
NullCheck(L_15);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_16 = L_15->___solver_11;
|
|
NullCheck(L_16);
|
|
int32_t L_17 = ((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_16)->___iterations_10;
|
|
if (L_17)
|
|
{
|
|
goto IL_00a0;
|
|
}
|
|
}
|
|
{
|
|
// if (recoil != null && ik.solver.iterations == 0) Debug.LogWarning("FPSAiming with Recoil needs FBBIK solver iteration count to be at least 1 to maintain accuracy.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteral1B53773871E0BAC49BF1C9F323EEB09F6BD48AC8, NULL);
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FPSAiming::FixedUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSAiming_FixedUpdate_mD7509B162A2B5C3DD6972C7C4F1A85CBCD83B510 (FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// updateFrame = true;
|
|
__this->___updateFrame_21 = (bool)1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FPSAiming::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSAiming_LateUpdate_m291E08E8696F3FC848B95F564A7900C065D8910D (FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (!animatePhysics) updateFrame = true;
|
|
bool L_0 = __this->___animatePhysics_8;
|
|
if (L_0)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (!animatePhysics) updateFrame = true;
|
|
__this->___updateFrame_21 = (bool)1;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// if (!updateFrame) return;
|
|
bool L_1 = __this->___updateFrame_21;
|
|
if (L_1)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// if (!updateFrame) return;
|
|
return;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// updateFrame = false;
|
|
__this->___updateFrame_21 = (bool)0;
|
|
// cam.transform.localPosition = camDefaultLocalPosition;
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_2 = __this->___cam_14;
|
|
NullCheck(L_2);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3;
|
|
L_3 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_2, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = __this->___camDefaultLocalPosition_19;
|
|
NullCheck(L_3);
|
|
Transform_set_localPosition_mDE1C997F7D79C0885210B7732B4BA50EE7D73134(L_3, L_4, NULL);
|
|
// camRelativeToGunTarget = gunTarget.InverseTransformPoint(cam.transform.position);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = __this->___gunTarget_10;
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_6 = __this->___cam_14;
|
|
NullCheck(L_6);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7;
|
|
L_7 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_6, NULL);
|
|
NullCheck(L_7);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_7, NULL);
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_5, L_8, NULL);
|
|
__this->___camRelativeToGunTarget_20 = L_9;
|
|
// cam.LateUpdate();
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_10 = __this->___cam_14;
|
|
NullCheck(L_10);
|
|
CameraControllerFPS_LateUpdate_mA1B9A1D25E05891C8C361012C1E59FA1CBE7EAE7(L_10, NULL);
|
|
// RotateCharacter();
|
|
FPSAiming_RotateCharacter_m4789BA5EB22E832B3977CF4480DEFFC85A8AD9CA(__this, NULL);
|
|
// Aiming();
|
|
FPSAiming_Aiming_mE692DECEB10E0054B32466432D45902E41B4603A(__this, NULL);
|
|
// LookDownTheSight();
|
|
FPSAiming_LookDownTheSight_mBA42F41A2B62001D1AEDB23FFB4391444949D004(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FPSAiming::Aiming()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSAiming_Aiming_mE692DECEB10E0054B32466432D45902E41B4603A (FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// if (aimWeight <= 0f) return;
|
|
float L_0 = __this->___aimWeight_4;
|
|
if ((!(((float)L_0) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (aimWeight <= 0f) return;
|
|
return;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// Quaternion camRotation = cam.transform.rotation;
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_1 = __this->___cam_14;
|
|
NullCheck(L_1);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2;
|
|
L_2 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_1, NULL);
|
|
NullCheck(L_2);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
|
|
L_3 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_2, NULL);
|
|
V_0 = L_3;
|
|
// if (headAim != null)
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_4 = __this->___headAim_13;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_5;
|
|
L_5 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_4, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0098;
|
|
}
|
|
}
|
|
{
|
|
// headAim.solver.IKPosition = cam.transform.position + cam.transform.forward * 10f;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_6 = __this->___headAim_13;
|
|
NullCheck(L_6);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_7 = L_6->___solver_10;
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_8 = __this->___cam_14;
|
|
NullCheck(L_8);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9;
|
|
L_9 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_8, NULL);
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_11 = __this->___cam_14;
|
|
NullCheck(L_11);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12;
|
|
L_12 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_11, NULL);
|
|
NullCheck(L_12);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_12, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_13, (10.0f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_10, L_14, NULL);
|
|
NullCheck(L_7);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_7)->___IKPosition_1 = L_15;
|
|
// headAim.solver.IKPositionWeight = 1f - aimWeight;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_16 = __this->___headAim_13;
|
|
NullCheck(L_16);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_17 = L_16->___solver_10;
|
|
float L_18 = __this->___aimWeight_4;
|
|
NullCheck(L_17);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_17)->___IKPositionWeight_2 = ((float)il2cpp_codegen_subtract((1.0f), L_18));
|
|
// headAim.solver.Update();
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_19 = __this->___headAim_13;
|
|
NullCheck(L_19);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_20 = L_19->___solver_10;
|
|
NullCheck(L_20);
|
|
IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25(L_20, NULL);
|
|
}
|
|
|
|
IL_0098:
|
|
{
|
|
// gunAim.solver.IKPosition = cam.transform.position + cam.transform.forward * 10f + cam.transform.rotation * aimOffset;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_21 = __this->___gunAim_12;
|
|
NullCheck(L_21);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_22 = L_21->___solver_10;
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_23 = __this->___cam_14;
|
|
NullCheck(L_23);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24;
|
|
L_24 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_23, NULL);
|
|
NullCheck(L_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_24, NULL);
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_26 = __this->___cam_14;
|
|
NullCheck(L_26);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_27;
|
|
L_27 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_26, NULL);
|
|
NullCheck(L_27);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_27, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_28, (10.0f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_25, L_29, NULL);
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_31 = __this->___cam_14;
|
|
NullCheck(L_31);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_32;
|
|
L_32 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_31, NULL);
|
|
NullCheck(L_32);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33;
|
|
L_33 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_32, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = __this->___aimOffset_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_33, L_34, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
|
|
L_36 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_30, L_35, NULL);
|
|
NullCheck(L_22);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_22)->___IKPosition_1 = L_36;
|
|
// gunAim.solver.IKPositionWeight = aimWeight;
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_37 = __this->___gunAim_12;
|
|
NullCheck(L_37);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_38 = L_37->___solver_10;
|
|
float L_39 = __this->___aimWeight_4;
|
|
NullCheck(L_38);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_38)->___IKPositionWeight_2 = L_39;
|
|
// gunAim.solver.Update();
|
|
AimIK_t70D79BD6465E061CC1CAE09D26BEEEE454D15264* L_40 = __this->___gunAim_12;
|
|
NullCheck(L_40);
|
|
IKSolverAim_tCA20C3F87AF8E71124E2CA17F9E5AAA2912B8789* L_41 = L_40->___solver_10;
|
|
NullCheck(L_41);
|
|
IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25(L_41, NULL);
|
|
// cam.transform.rotation = camRotation;
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_42 = __this->___cam_14;
|
|
NullCheck(L_42);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_43;
|
|
L_43 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_42, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44 = V_0;
|
|
NullCheck(L_43);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_43, L_44, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FPSAiming::LookDownTheSight()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSAiming_LookDownTheSight_mBA42F41A2B62001D1AEDB23FFB4391444949D004 (FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
float V_5 = 0.0f;
|
|
{
|
|
// float sW = aimWeight * sightWeight;
|
|
float L_0 = __this->___aimWeight_4;
|
|
float L_1 = __this->___sightWeight_5;
|
|
V_0 = ((float)il2cpp_codegen_multiply(L_0, L_1));
|
|
// gunTarget.position = Vector3.Lerp(gun.position, gunTarget.parent.TransformPoint(gunTargetDefaultLocalPosition), sW);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___gunTarget_10;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = __this->___gun_9;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_3, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = __this->___gunTarget_10;
|
|
NullCheck(L_5);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
|
|
L_6 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_5, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = __this->___gunTargetDefaultLocalPosition_17;
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_6, L_7, NULL);
|
|
float L_9 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_4, L_8, L_9, NULL);
|
|
NullCheck(L_2);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_2, L_10, NULL);
|
|
// gunTarget.rotation = Quaternion.Lerp(gun.rotation, gunTarget.parent.rotation * Quaternion.Euler(gunTargetDefaultLocalRotation), sW);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = __this->___gunTarget_10;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = __this->___gun_9;
|
|
NullCheck(L_12);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13;
|
|
L_13 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_12, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = __this->___gunTarget_10;
|
|
NullCheck(L_14);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15;
|
|
L_15 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_14, NULL);
|
|
NullCheck(L_15);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
|
|
L_16 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_15, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = __this->___gunTargetDefaultLocalRotation_18;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
|
|
L_18 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_17, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19;
|
|
L_19 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_16, L_18, NULL);
|
|
float L_20 = V_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21;
|
|
L_21 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_13, L_19, L_20, NULL);
|
|
NullCheck(L_11);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_11, L_21, NULL);
|
|
// Vector3 leftHandRelativePosition = gun.InverseTransformPoint(ik.solver.leftHandEffector.bone.position);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = __this->___gun_9;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_23 = __this->___ik_11;
|
|
NullCheck(L_23);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_24 = L_23->___solver_11;
|
|
NullCheck(L_24);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_25;
|
|
L_25 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_24, NULL);
|
|
NullCheck(L_25);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_26 = L_25->___bone_0;
|
|
NullCheck(L_26);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
|
|
L_27 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_26, NULL);
|
|
NullCheck(L_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_22, L_27, NULL);
|
|
V_1 = L_28;
|
|
// Vector3 rightHandRelativePosition = gun.InverseTransformPoint(ik.solver.rightHandEffector.bone.position);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = __this->___gun_9;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_30 = __this->___ik_11;
|
|
NullCheck(L_30);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_31 = L_30->___solver_11;
|
|
NullCheck(L_31);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_32;
|
|
L_32 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_31, NULL);
|
|
NullCheck(L_32);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_33 = L_32->___bone_0;
|
|
NullCheck(L_33);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
|
|
L_34 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_33, NULL);
|
|
NullCheck(L_29);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_29, L_34, NULL);
|
|
V_2 = L_35;
|
|
// Quaternion leftHandRelativeRotation = Quaternion.Inverse(gun.rotation) * ik.solver.leftHandEffector.bone.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36 = __this->___gun_9;
|
|
NullCheck(L_36);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_37;
|
|
L_37 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_36, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38;
|
|
L_38 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_37, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_39 = __this->___ik_11;
|
|
NullCheck(L_39);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_40 = L_39->___solver_11;
|
|
NullCheck(L_40);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_41;
|
|
L_41 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_40, NULL);
|
|
NullCheck(L_41);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_42 = L_41->___bone_0;
|
|
NullCheck(L_42);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_43;
|
|
L_43 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_42, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44;
|
|
L_44 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_38, L_43, NULL);
|
|
V_3 = L_44;
|
|
// Quaternion rightHandRelativeRotation = Quaternion.Inverse(gun.rotation) * ik.solver.rightHandEffector.bone.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_45 = __this->___gun_9;
|
|
NullCheck(L_45);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_46;
|
|
L_46 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_45, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_47;
|
|
L_47 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_46, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_48 = __this->___ik_11;
|
|
NullCheck(L_48);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_49 = L_48->___solver_11;
|
|
NullCheck(L_49);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_50;
|
|
L_50 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_49, NULL);
|
|
NullCheck(L_50);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_51 = L_50->___bone_0;
|
|
NullCheck(L_51);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52;
|
|
L_52 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_51, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_53;
|
|
L_53 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_47, L_52, NULL);
|
|
V_4 = L_53;
|
|
// float handWeight = 1f;//aimWeight * sightWeight;
|
|
V_5 = (1.0f);
|
|
// ik.solver.leftHandEffector.positionOffset += (gunTarget.TransformPoint(leftHandRelativePosition) - (ik.solver.leftHandEffector.bone.position + ik.solver.leftHandEffector.positionOffset)) * handWeight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_54 = __this->___ik_11;
|
|
NullCheck(L_54);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_55 = L_54->___solver_11;
|
|
NullCheck(L_55);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_56;
|
|
L_56 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_55, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_57 = L_56;
|
|
NullCheck(L_57);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58 = L_57->___positionOffset_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_59 = __this->___gunTarget_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = V_1;
|
|
NullCheck(L_59);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
|
|
L_61 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_59, L_60, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_62 = __this->___ik_11;
|
|
NullCheck(L_62);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_63 = L_62->___solver_11;
|
|
NullCheck(L_63);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_64;
|
|
L_64 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_63, NULL);
|
|
NullCheck(L_64);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_65 = L_64->___bone_0;
|
|
NullCheck(L_65);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66;
|
|
L_66 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_65, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_67 = __this->___ik_11;
|
|
NullCheck(L_67);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_68 = L_67->___solver_11;
|
|
NullCheck(L_68);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_69;
|
|
L_69 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_68, NULL);
|
|
NullCheck(L_69);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = L_69->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71;
|
|
L_71 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_66, L_70, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
|
|
L_72 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_61, L_71, NULL);
|
|
float L_73 = V_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74;
|
|
L_74 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_72, L_73, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
|
|
L_75 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_58, L_74, NULL);
|
|
NullCheck(L_57);
|
|
L_57->___positionOffset_6 = L_75;
|
|
// ik.solver.rightHandEffector.positionOffset += (gunTarget.TransformPoint(rightHandRelativePosition) - (ik.solver.rightHandEffector.bone.position + ik.solver.rightHandEffector.positionOffset)) * handWeight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_76 = __this->___ik_11;
|
|
NullCheck(L_76);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_77 = L_76->___solver_11;
|
|
NullCheck(L_77);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_78;
|
|
L_78 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_77, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_79 = L_78;
|
|
NullCheck(L_79);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80 = L_79->___positionOffset_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_81 = __this->___gunTarget_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82 = V_2;
|
|
NullCheck(L_81);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83;
|
|
L_83 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_81, L_82, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_84 = __this->___ik_11;
|
|
NullCheck(L_84);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_85 = L_84->___solver_11;
|
|
NullCheck(L_85);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_86;
|
|
L_86 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_85, NULL);
|
|
NullCheck(L_86);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_87 = L_86->___bone_0;
|
|
NullCheck(L_87);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
|
|
L_88 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_87, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_89 = __this->___ik_11;
|
|
NullCheck(L_89);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_90 = L_89->___solver_11;
|
|
NullCheck(L_90);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_91;
|
|
L_91 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_90, NULL);
|
|
NullCheck(L_91);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92 = L_91->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
|
|
L_93 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_88, L_92, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94;
|
|
L_94 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_83, L_93, NULL);
|
|
float L_95 = V_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96;
|
|
L_96 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_94, L_95, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97;
|
|
L_97 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_80, L_96, NULL);
|
|
NullCheck(L_79);
|
|
L_79->___positionOffset_6 = L_97;
|
|
// ik.solver.headMapping.maintainRotationWeight = 1f;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_98 = __this->___ik_11;
|
|
NullCheck(L_98);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_99 = L_98->___solver_11;
|
|
NullCheck(L_99);
|
|
IKMappingBone_t50EC6BC298D1E4F5FD42EBA559FC3DCB762084C3* L_100;
|
|
L_100 = IKSolverFullBodyBiped_get_headMapping_m58D18DDA28952AD5D0792C8A8AD2E8BF63F35E6C(L_99, NULL);
|
|
NullCheck(L_100);
|
|
L_100->___maintainRotationWeight_1 = (1.0f);
|
|
// if (recoil != null) recoil.SetHandRotations(gunTarget.rotation * leftHandRelativeRotation, gunTarget.rotation * rightHandRelativeRotation);
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_101 = __this->___recoil_15;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_102;
|
|
L_102 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_101, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_102)
|
|
{
|
|
goto IL_025e;
|
|
}
|
|
}
|
|
{
|
|
// if (recoil != null) recoil.SetHandRotations(gunTarget.rotation * leftHandRelativeRotation, gunTarget.rotation * rightHandRelativeRotation);
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_103 = __this->___recoil_15;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_104 = __this->___gunTarget_10;
|
|
NullCheck(L_104);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_105;
|
|
L_105 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_104, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_106 = V_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_107;
|
|
L_107 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_105, L_106, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_108 = __this->___gunTarget_10;
|
|
NullCheck(L_108);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_109;
|
|
L_109 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_108, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_110 = V_4;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_111;
|
|
L_111 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_109, L_110, NULL);
|
|
NullCheck(L_103);
|
|
Recoil_SetHandRotations_mDA0557F2907A024D254C941A8D5345C19709D132(L_103, L_107, L_111, NULL);
|
|
}
|
|
|
|
IL_025e:
|
|
{
|
|
// ik.solver.Update();
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_112 = __this->___ik_11;
|
|
NullCheck(L_112);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_113 = L_112->___solver_11;
|
|
NullCheck(L_113);
|
|
IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25(L_113, NULL);
|
|
// if (recoil != null) {
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_114 = __this->___recoil_15;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_115;
|
|
L_115 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_114, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_115)
|
|
{
|
|
goto IL_02eb;
|
|
}
|
|
}
|
|
{
|
|
// ik.references.leftHand.rotation = recoil.rotationOffset * (gunTarget.rotation * leftHandRelativeRotation);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_116 = __this->___ik_11;
|
|
NullCheck(L_116);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_117 = L_116->___references_10;
|
|
NullCheck(L_117);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_118 = L_117->___leftHand_10;
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_119 = __this->___recoil_15;
|
|
NullCheck(L_119);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_120 = L_119->___rotationOffset_18;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_121 = __this->___gunTarget_10;
|
|
NullCheck(L_121);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_122;
|
|
L_122 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_121, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_123 = V_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_124;
|
|
L_124 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_122, L_123, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_125;
|
|
L_125 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_120, L_124, NULL);
|
|
NullCheck(L_118);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_118, L_125, NULL);
|
|
// ik.references.rightHand.rotation = recoil.rotationOffset * (gunTarget.rotation * rightHandRelativeRotation);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_126 = __this->___ik_11;
|
|
NullCheck(L_126);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_127 = L_126->___references_10;
|
|
NullCheck(L_127);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_128 = L_127->___rightHand_13;
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_129 = __this->___recoil_15;
|
|
NullCheck(L_129);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_130 = L_129->___rotationOffset_18;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_131 = __this->___gunTarget_10;
|
|
NullCheck(L_131);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_132;
|
|
L_132 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_131, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_133 = V_4;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_134;
|
|
L_134 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_132, L_133, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_135;
|
|
L_135 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_130, L_134, NULL);
|
|
NullCheck(L_128);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_128, L_135, NULL);
|
|
goto IL_0338;
|
|
}
|
|
|
|
IL_02eb:
|
|
{
|
|
// ik.references.leftHand.rotation = gunTarget.rotation * leftHandRelativeRotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_136 = __this->___ik_11;
|
|
NullCheck(L_136);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_137 = L_136->___references_10;
|
|
NullCheck(L_137);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_138 = L_137->___leftHand_10;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_139 = __this->___gunTarget_10;
|
|
NullCheck(L_139);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_140;
|
|
L_140 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_139, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_141 = V_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_142;
|
|
L_142 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_140, L_141, NULL);
|
|
NullCheck(L_138);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_138, L_142, NULL);
|
|
// ik.references.rightHand.rotation = gunTarget.rotation * rightHandRelativeRotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_143 = __this->___ik_11;
|
|
NullCheck(L_143);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_144 = L_143->___references_10;
|
|
NullCheck(L_144);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_145 = L_144->___rightHand_13;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_146 = __this->___gunTarget_10;
|
|
NullCheck(L_146);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_147;
|
|
L_147 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_146, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_148 = V_4;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_149;
|
|
L_149 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_147, L_148, NULL);
|
|
NullCheck(L_145);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_145, L_149, NULL);
|
|
}
|
|
|
|
IL_0338:
|
|
{
|
|
// cam.transform.position = Vector3.Lerp(cam.transform.position, Vector3.Lerp(gunTarget.TransformPoint(camRelativeToGunTarget), gun.transform.TransformPoint(camRelativeToGunTarget), cameraRecoilWeight), sW);
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_150 = __this->___cam_14;
|
|
NullCheck(L_150);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_151;
|
|
L_151 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_150, NULL);
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_152 = __this->___cam_14;
|
|
NullCheck(L_152);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_153;
|
|
L_153 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_152, NULL);
|
|
NullCheck(L_153);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_154;
|
|
L_154 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_153, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_155 = __this->___gunTarget_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_156 = __this->___camRelativeToGunTarget_20;
|
|
NullCheck(L_155);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_157;
|
|
L_157 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_155, L_156, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_158 = __this->___gun_9;
|
|
NullCheck(L_158);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_159;
|
|
L_159 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_158, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_160 = __this->___camRelativeToGunTarget_20;
|
|
NullCheck(L_159);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_161;
|
|
L_161 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_159, L_160, NULL);
|
|
float L_162 = __this->___cameraRecoilWeight_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_163;
|
|
L_163 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_157, L_161, L_162, NULL);
|
|
float L_164 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_165;
|
|
L_165 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_154, L_163, L_164, NULL);
|
|
NullCheck(L_151);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_151, L_165, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FPSAiming::RotateCharacter()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSAiming_RotateCharacter_m4789BA5EB22E832B3977CF4480DEFFC85A8AD9CA (FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
{
|
|
// if (maxAngle >= 180f) return;
|
|
float L_0 = __this->___maxAngle_6;
|
|
if ((!(((float)L_0) >= ((float)(180.0f)))))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (maxAngle >= 180f) return;
|
|
return;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// if (maxAngle <= 0f) {
|
|
float L_1 = __this->___maxAngle_6;
|
|
if ((!(((float)L_1) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_0060;
|
|
}
|
|
}
|
|
{
|
|
// transform.rotation = Quaternion.LookRotation(new Vector3(cam.transform.forward.x, 0f, cam.transform.forward.z));
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2;
|
|
L_2 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_3 = __this->___cam_14;
|
|
NullCheck(L_3);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4;
|
|
L_4 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_3, NULL);
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_4, NULL);
|
|
float L_6 = L_5.___x_2;
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_7 = __this->___cam_14;
|
|
NullCheck(L_7);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8;
|
|
L_8 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_7, NULL);
|
|
NullCheck(L_8);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_8, NULL);
|
|
float L_10 = L_9.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
memset((&L_11), 0, sizeof(L_11));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_11), L_6, (0.0f), L_10, /*hidden argument*/NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
|
|
L_12 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_11, NULL);
|
|
NullCheck(L_2);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_2, L_12, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// Vector3 camRelative = transform.InverseTransformDirection(cam.transform.forward);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13;
|
|
L_13 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
CameraControllerFPS_t765427A8FA5E90BBD1A1DEC12ACEBFC3D579E5AC* L_14 = __this->___cam_14;
|
|
NullCheck(L_14);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15;
|
|
L_15 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_14, NULL);
|
|
NullCheck(L_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_15, NULL);
|
|
NullCheck(L_13);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Transform_InverseTransformDirection_m69C077B881A98B08C7F231EFC49429C906FBC575(L_13, L_16, NULL);
|
|
V_0 = L_17;
|
|
// float angle = Mathf.Atan2(camRelative.x, camRelative.z) * Mathf.Rad2Deg;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_0;
|
|
float L_19 = L_18.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = V_0;
|
|
float L_21 = L_20.___z_4;
|
|
float L_22;
|
|
L_22 = atan2f(L_19, L_21);
|
|
V_1 = ((float)il2cpp_codegen_multiply(L_22, (57.2957802f)));
|
|
// if (Mathf.Abs(angle) > Mathf.Abs(maxAngle)) {
|
|
float L_23 = V_1;
|
|
float L_24;
|
|
L_24 = fabsf(L_23);
|
|
float L_25 = __this->___maxAngle_6;
|
|
float L_26;
|
|
L_26 = fabsf(L_25);
|
|
if ((!(((float)L_24) > ((float)L_26))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
// float a = angle - maxAngle;
|
|
float L_27 = V_1;
|
|
float L_28 = __this->___maxAngle_6;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_27, L_28));
|
|
// if (angle < 0f) a = angle + maxAngle;
|
|
float L_29 = V_1;
|
|
if ((!(((float)L_29) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_00c1;
|
|
}
|
|
}
|
|
{
|
|
// if (angle < 0f) a = angle + maxAngle;
|
|
float L_30 = V_1;
|
|
float L_31 = __this->___maxAngle_6;
|
|
V_2 = ((float)il2cpp_codegen_add(L_30, L_31));
|
|
}
|
|
|
|
IL_00c1:
|
|
{
|
|
// transform.rotation = Quaternion.AngleAxis(a, transform.up) * transform.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_32;
|
|
L_32 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
float L_33 = V_2;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_34;
|
|
L_34 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_34);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_34, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36;
|
|
L_36 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_33, L_35, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37;
|
|
L_37 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_37);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38;
|
|
L_38 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_37, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39;
|
|
L_39 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_36, L_38, NULL);
|
|
NullCheck(L_32);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_32, L_39, NULL);
|
|
}
|
|
|
|
IL_00ed:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FPSAiming::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSAiming__ctor_mE243EDBC29982A651FECADD68CAEBD329FB6B87A (FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// [Range(0f, 1f)] public float aimWeight = 1f; // The weight of aiming the gun towards camera forward
|
|
__this->___aimWeight_4 = (1.0f);
|
|
// [Range(0f, 1f)] public float sightWeight = 1f; // the weight of aiming down the sight (multiplied by aimWeight)
|
|
__this->___sightWeight_5 = (1.0f);
|
|
// [Range(0f, 180f)] public float maxAngle = 80f; // The maximum angular offset of the aiming direction from the character forward. Character will be rotated to comply.
|
|
__this->___maxAngle_6 = (80.0f);
|
|
// [Range(0f, 1f)] public float cameraRecoilWeight = 0.5f; // How much of the recoil motion is added to the camera?
|
|
__this->___cameraRecoilWeight_16 = (0.5f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.FPSCharacter::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSCharacter_Start_m1E1CE8F2111623C484B0C319B92D84F01E9D8E6B (FPSCharacter_tAAA07597C04B8DCF6DFBD0D8FDF13A2BBCB553AC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisFPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784_m14019706B4729CBBE808C1AC63FFA13B34A432DB_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// animator = GetComponent<Animator>();
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_0;
|
|
L_0 = Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE(__this, Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE_RuntimeMethod_var);
|
|
__this->___animator_6 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___animator_6), (void*)L_0);
|
|
// FPSAiming = GetComponent<FPSAiming>();
|
|
FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* L_1;
|
|
L_1 = Component_GetComponent_TisFPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784_m14019706B4729CBBE808C1AC63FFA13B34A432DB(__this, Component_GetComponent_TisFPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784_m14019706B4729CBBE808C1AC63FFA13B34A432DB_RuntimeMethod_var);
|
|
__this->___FPSAiming_7 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___FPSAiming_7), (void*)L_1);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FPSCharacter::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSCharacter_Update_m6F0235F4C1384A2A6C118952A732AB11E6C3BCE6 (FPSCharacter_tAAA07597C04B8DCF6DFBD0D8FDF13A2BBCB553AC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5D2E3D85D1C3D4F42FAE33FB35C01C48241E0B32);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float G_B2_0 = 0.0f;
|
|
FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* G_B2_1 = NULL;
|
|
float G_B1_0 = 0.0f;
|
|
FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* G_B1_1 = NULL;
|
|
float G_B3_0 = 0.0f;
|
|
float G_B3_1 = 0.0f;
|
|
FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* G_B3_2 = NULL;
|
|
{
|
|
// FPSAiming.sightWeight = Mathf.SmoothDamp(FPSAiming.sightWeight, (Input.GetMouseButton(1)? 1f: 0f), ref sVel, 0.1f);
|
|
FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* L_0 = __this->___FPSAiming_7;
|
|
FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* L_1 = __this->___FPSAiming_7;
|
|
NullCheck(L_1);
|
|
float L_2 = L_1->___sightWeight_5;
|
|
bool L_3;
|
|
L_3 = Input_GetMouseButton_m4995DD4A2D4F916565C1B1B5AAF7DF17C126B3EA(1, NULL);
|
|
G_B1_0 = L_2;
|
|
G_B1_1 = L_0;
|
|
if (L_3)
|
|
{
|
|
G_B2_0 = L_2;
|
|
G_B2_1 = L_0;
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = (0.0f);
|
|
G_B3_1 = G_B1_0;
|
|
G_B3_2 = G_B1_1;
|
|
goto IL_0025;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
G_B3_0 = (1.0f);
|
|
G_B3_1 = G_B2_0;
|
|
G_B3_2 = G_B2_1;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
float* L_4 = (&__this->___sVel_5);
|
|
float L_5;
|
|
L_5 = Mathf_SmoothDamp_m3A255A356924421B4042AAD1623EF46F92A08C91_inline(G_B3_1, G_B3_0, L_4, (0.100000001f), NULL);
|
|
NullCheck(G_B3_2);
|
|
G_B3_2->___sightWeight_5 = L_5;
|
|
// if (FPSAiming.sightWeight < 0.001f) FPSAiming.sightWeight = 0f;
|
|
FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* L_6 = __this->___FPSAiming_7;
|
|
NullCheck(L_6);
|
|
float L_7 = L_6->___sightWeight_5;
|
|
if ((!(((float)L_7) < ((float)(0.00100000005f)))))
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
{
|
|
// if (FPSAiming.sightWeight < 0.001f) FPSAiming.sightWeight = 0f;
|
|
FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* L_8 = __this->___FPSAiming_7;
|
|
NullCheck(L_8);
|
|
L_8->___sightWeight_5 = (0.0f);
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// if (FPSAiming.sightWeight > 0.999f) FPSAiming.sightWeight = 1f;
|
|
FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* L_9 = __this->___FPSAiming_7;
|
|
NullCheck(L_9);
|
|
float L_10 = L_9->___sightWeight_5;
|
|
if ((!(((float)L_10) > ((float)(0.999000013f)))))
|
|
{
|
|
goto IL_007e;
|
|
}
|
|
}
|
|
{
|
|
// if (FPSAiming.sightWeight > 0.999f) FPSAiming.sightWeight = 1f;
|
|
FPSAiming_t83092E46BC6FA0BF71EB230D361DBA758079F784* L_11 = __this->___FPSAiming_7;
|
|
NullCheck(L_11);
|
|
L_11->___sightWeight_5 = (1.0f);
|
|
}
|
|
|
|
IL_007e:
|
|
{
|
|
// animator.SetFloat("Speed", walkSpeed);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_12 = __this->___animator_6;
|
|
float L_13 = __this->___walkSpeed_4;
|
|
NullCheck(L_12);
|
|
Animator_SetFloat_m10C78733FAFC7AFEDBDACC48B7C66D3A35A0A7FE(L_12, _stringLiteral5D2E3D85D1C3D4F42FAE33FB35C01C48241E0B32, L_13, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FPSCharacter::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSCharacter_OnGUI_m28AAD107AF4A3B301E86C781E8268AD05C3A6326 (FPSCharacter_tAAA07597C04B8DCF6DFBD0D8FDF13A2BBCB553AC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GUI_tA9CDB3D69DB13D51AD83ABDB587EF95947EC2D2A_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral12E66FB3D22236F24A2BC6ED9A0A8598FC76FC0B);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// GUI.Label(new Rect(Screen.width - 210, 10, 200, 25), "Hold RMB to aim down the sight");
|
|
int32_t L_0;
|
|
L_0 = Screen_get_width_mF608FF3252213E7EFA1F0D2F744C28110E9E5AC9(NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&L_1), ((float)((int32_t)il2cpp_codegen_subtract(L_0, ((int32_t)210)))), (10.0f), (200.0f), (25.0f), /*hidden argument*/NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(GUI_tA9CDB3D69DB13D51AD83ABDB587EF95947EC2D2A_il2cpp_TypeInfo_var);
|
|
GUI_Label_m4A951E57C7DCCF95A0306240144CA2713F546526(L_1, _stringLiteral12E66FB3D22236F24A2BC6ED9A0A8598FC76FC0B, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.FPSCharacter::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FPSCharacter__ctor_m25915354B52155DDFCA3BD0306E02E8E100F0A92 (FPSCharacter_tAAA07597C04B8DCF6DFBD0D8FDF13A2BBCB553AC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// [Range(0f, 1f)] public float walkSpeed = 0.5f;
|
|
__this->___walkSpeed_4 = (0.5f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.HitReactionTrigger::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HitReactionTrigger_Update_mC3F4D88B39CA660B5DEB3A506D4DBE2F9AC4DE21 (HitReactionTrigger_tD6947DD69F327F41307446A2D27E8C94445FA046* __this, const RuntimeMethod* method)
|
|
{
|
|
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// if (Input.GetMouseButtonDown(0)) {
|
|
bool L_0;
|
|
L_0 = Input_GetMouseButtonDown_m8DFC792D15FFF15D311614D5CC6C5D055E5A1DE3(0, NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_1;
|
|
L_1 = Camera_get_main_m52C992F18E05355ABB9EEB64A4BF2215E12762DF(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Input_get_mousePosition_mFF21FBD2647DAE2A23BD4C45571CA95D05A0A42C(NULL);
|
|
NullCheck(L_1);
|
|
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 L_3;
|
|
L_3 = Camera_ScreenPointToRay_m2887B9A49880B7AB670C57D66B67D6A6689FE315(L_1, L_2, NULL);
|
|
V_0 = L_3;
|
|
// RaycastHit hit = new RaycastHit();
|
|
il2cpp_codegen_initobj((&V_1), sizeof(RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5));
|
|
// if (Physics.Raycast(ray, out hit, 100f)) {
|
|
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 L_4 = V_0;
|
|
bool L_5;
|
|
L_5 = Physics_Raycast_m839BA104A76B928A03F075C622923C6FCD2F8685(L_4, (&V_1), (100.0f), NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// hitReaction.Hit(hit.collider, ray.direction * hitForce, hit.point);
|
|
HitReaction_tDD0B4FEAA374B21E4C529B96DEE282F633CC21E1* L_6 = __this->___hitReaction_4;
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_7;
|
|
L_7 = RaycastHit_get_collider_m84B160439BBEAB6D9E94B799F720E25C9E2D444D((&V_1), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Ray_get_direction_m21C2D22D3BD4A683BD4DC191AB22DD05F5EC2086((&V_0), NULL);
|
|
float L_9 = __this->___hitForce_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_8, L_9, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39((&V_1), NULL);
|
|
NullCheck(L_6);
|
|
HitReaction_Hit_m4A6E9EEBE5276054D4528399C54FDA9D876BB3EA(L_6, L_7, L_10, L_11, NULL);
|
|
// colliderName = hit.collider.name;
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_12;
|
|
L_12 = RaycastHit_get_collider_m84B160439BBEAB6D9E94B799F720E25C9E2D444D((&V_1), NULL);
|
|
NullCheck(L_12);
|
|
String_t* L_13;
|
|
L_13 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_12, NULL);
|
|
__this->___colliderName_6 = L_13;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___colliderName_6), (void*)L_13);
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.HitReactionTrigger::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HitReactionTrigger_OnGUI_mCE23A55DCFDB8DD6F200870C514DC07693D60776 (HitReactionTrigger_tD6947DD69F327F41307446A2D27E8C94445FA046* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral37564C7A8F8783C5ABCE419B99E2251CA6571569);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF9E4C3B5C3166D85BC1C56AFC4D9F965A73F297A);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// GUILayout.Label("LMB to shoot the Dummy, RMB to rotate the camera.");
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_0;
|
|
L_0 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
GUILayout_Label_m1709C16A433383CCFC1FEA0E585E14CBD78CD94B(_stringLiteralF9E4C3B5C3166D85BC1C56AFC4D9F965A73F297A, L_0, NULL);
|
|
// if (colliderName != string.Empty) GUILayout.Label("Last Bone Hit: " + colliderName);
|
|
String_t* L_1 = __this->___colliderName_6;
|
|
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
bool L_3;
|
|
L_3 = String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6(L_1, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
// if (colliderName != string.Empty) GUILayout.Label("Last Bone Hit: " + colliderName);
|
|
String_t* L_4 = __this->___colliderName_6;
|
|
String_t* L_5;
|
|
L_5 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral37564C7A8F8783C5ABCE419B99E2251CA6571569, L_4, NULL);
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_6;
|
|
L_6 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
GUILayout_Label_m1709C16A433383CCFC1FEA0E585E14CBD78CD94B(L_5, L_6, NULL);
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.HitReactionTrigger::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HitReactionTrigger__ctor_mE75EBF61191C779D73EFC3C5C2410C19660F8C6C (HitReactionTrigger_tD6947DD69F327F41307446A2D27E8C94445FA046* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float hitForce = 1f;
|
|
__this->___hitForce_5 = (1.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.HoldingHands::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HoldingHands_Start_m9129E006A1810043CFD25C475F477DB2B3DACEAB (HoldingHands_tC0400A85CCB40126FEBA66CC9988DB0A8D787D20* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// rightHandRotation = Quaternion.Inverse(rightHandChar.solver.rightHandEffector.bone.rotation) * transform.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___rightHandChar_4;
|
|
NullCheck(L_0);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_1 = L_0->___solver_11;
|
|
NullCheck(L_1);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_2;
|
|
L_2 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_1, NULL);
|
|
NullCheck(L_2);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = L_2->___bone_0;
|
|
NullCheck(L_3);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
|
|
L_4 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_3, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
|
|
L_5 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_4, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
|
|
L_6 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_6);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_6, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
|
|
L_8 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_5, L_7, NULL);
|
|
__this->___rightHandRotation_10 = L_8;
|
|
// leftHandRotation = Quaternion.Inverse(leftHandChar.solver.leftHandEffector.bone.rotation) * transform.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_9 = __this->___leftHandChar_5;
|
|
NullCheck(L_9);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_10 = L_9->___solver_11;
|
|
NullCheck(L_10);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_11;
|
|
L_11 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_10, NULL);
|
|
NullCheck(L_11);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12 = L_11->___bone_0;
|
|
NullCheck(L_12);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13;
|
|
L_13 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_12, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
|
|
L_14 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_13, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15;
|
|
L_15 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_15);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
|
|
L_16 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_15, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_17;
|
|
L_17 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_14, L_16, NULL);
|
|
__this->___leftHandRotation_11 = L_17;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.HoldingHands::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HoldingHands_LateUpdate_m474721CDAF82B8CCA5F6FBD9650E5FD0A4439204 (HoldingHands_tC0400A85CCB40126FEBA66CC9988DB0A8D787D20* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Vector3 targetPosition = Vector3.Lerp(rightHandChar.solver.rightHandEffector.bone.position, leftHandChar.solver.leftHandEffector.bone.position, crossFade);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___rightHandChar_4;
|
|
NullCheck(L_0);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_1 = L_0->___solver_11;
|
|
NullCheck(L_1);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_2;
|
|
L_2 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_1, NULL);
|
|
NullCheck(L_2);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = L_2->___bone_0;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_3, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_5 = __this->___leftHandChar_5;
|
|
NullCheck(L_5);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_6 = L_5->___solver_11;
|
|
NullCheck(L_6);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_7;
|
|
L_7 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_6, NULL);
|
|
NullCheck(L_7);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = L_7->___bone_0;
|
|
NullCheck(L_8);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_8, NULL);
|
|
float L_10 = __this->___crossFade_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_4, L_9, L_10, NULL);
|
|
V_0 = L_11;
|
|
// transform.position = Vector3.Lerp(transform.position, targetPosition, Time.deltaTime * speed);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12;
|
|
L_12 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13;
|
|
L_13 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_13);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_13, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_0;
|
|
float L_16;
|
|
L_16 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_17 = __this->___speed_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_14, L_15, ((float)il2cpp_codegen_multiply(L_16, L_17)), NULL);
|
|
NullCheck(L_12);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_12, L_18, NULL);
|
|
// transform.rotation = Quaternion.Slerp(rightHandChar.solver.rightHandEffector.bone.rotation * rightHandRotation, leftHandChar.solver.leftHandEffector.bone.rotation * leftHandRotation, crossFade);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19;
|
|
L_19 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_20 = __this->___rightHandChar_4;
|
|
NullCheck(L_20);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_21 = L_20->___solver_11;
|
|
NullCheck(L_21);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_22;
|
|
L_22 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_21, NULL);
|
|
NullCheck(L_22);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_23 = L_22->___bone_0;
|
|
NullCheck(L_23);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24;
|
|
L_24 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_23, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25 = __this->___rightHandRotation_10;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26;
|
|
L_26 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_24, L_25, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_27 = __this->___leftHandChar_5;
|
|
NullCheck(L_27);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_28 = L_27->___solver_11;
|
|
NullCheck(L_28);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_29;
|
|
L_29 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_28, NULL);
|
|
NullCheck(L_29);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_30 = L_29->___bone_0;
|
|
NullCheck(L_30);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31;
|
|
L_31 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_30, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = __this->___leftHandRotation_11;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33;
|
|
L_33 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_31, L_32, NULL);
|
|
float L_34 = __this->___crossFade_8;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_35;
|
|
L_35 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_26, L_33, L_34, NULL);
|
|
NullCheck(L_19);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_19, L_35, NULL);
|
|
// rightHandChar.solver.rightHandEffector.position = rightHandTarget.position;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_36 = __this->___rightHandChar_4;
|
|
NullCheck(L_36);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_37 = L_36->___solver_11;
|
|
NullCheck(L_37);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_38;
|
|
L_38 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_37, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_39 = __this->___rightHandTarget_6;
|
|
NullCheck(L_39);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
|
|
L_40 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_39, NULL);
|
|
NullCheck(L_38);
|
|
L_38->___position_4 = L_40;
|
|
// rightHandChar.solver.rightHandEffector.rotation = rightHandTarget.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_41 = __this->___rightHandChar_4;
|
|
NullCheck(L_41);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_42 = L_41->___solver_11;
|
|
NullCheck(L_42);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_43;
|
|
L_43 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_42, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_44 = __this->___rightHandTarget_6;
|
|
NullCheck(L_44);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_45;
|
|
L_45 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_44, NULL);
|
|
NullCheck(L_43);
|
|
L_43->___rotation_5 = L_45;
|
|
// leftHandChar.solver.leftHandEffector.position = leftHandTarget.position;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_46 = __this->___leftHandChar_5;
|
|
NullCheck(L_46);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_47 = L_46->___solver_11;
|
|
NullCheck(L_47);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_48;
|
|
L_48 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_47, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_49 = __this->___leftHandTarget_7;
|
|
NullCheck(L_49);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
|
|
L_50 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_49, NULL);
|
|
NullCheck(L_48);
|
|
L_48->___position_4 = L_50;
|
|
// leftHandChar.solver.leftHandEffector.rotation = leftHandTarget.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_51 = __this->___leftHandChar_5;
|
|
NullCheck(L_51);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_52 = L_51->___solver_11;
|
|
NullCheck(L_52);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_53;
|
|
L_53 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_52, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_54 = __this->___leftHandTarget_7;
|
|
NullCheck(L_54);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_55;
|
|
L_55 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_54, NULL);
|
|
NullCheck(L_53);
|
|
L_53->___rotation_5 = L_55;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.HoldingHands::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HoldingHands__ctor_mECB13DE3A6ACE97F3F052A79819D16D4BB28B1B2 (HoldingHands_tC0400A85CCB40126FEBA66CC9988DB0A8D787D20* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float speed = 10f; // Speed of smoothly lerping the hands target
|
|
__this->___speed_9 = (10.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.InteractionC2CDemo::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionC2CDemo_OnGUI_m3A4889E1F817EC11311F43D4A162AEA330F17CEC (InteractionC2CDemo_tEE609D1D60F8FB5AE8824B02D083CC16A6EAA0C8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6066AE5835C0F1EF855E9E2B2D9FC85AF34BCF9F);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (GUILayout.Button("Shake Hands")) {
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_0;
|
|
L_0 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_1;
|
|
L_1 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteral6066AE5835C0F1EF855E9E2B2D9FC85AF34BCF9F, L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
// character1.StartInteraction(FullBodyBipedEffector.RightHand, handShake, true);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_2 = __this->___character1_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_3 = __this->___handShake_6;
|
|
NullCheck(L_2);
|
|
bool L_4;
|
|
L_4 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_2, 6, L_3, (bool)1, NULL);
|
|
// character2.StartInteraction(FullBodyBipedEffector.RightHand, handShake, true);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_5 = __this->___character2_5;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_6 = __this->___handShake_6;
|
|
NullCheck(L_5);
|
|
bool L_7;
|
|
L_7 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_5, 6, L_6, (bool)1, NULL);
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.InteractionC2CDemo::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionC2CDemo_LateUpdate_mA0FFE035B366E0F8BF178D86790BD9641A5D6334 (InteractionC2CDemo_tEE609D1D60F8FB5AE8824B02D083CC16A6EAA0C8* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Vector3 handsCenter = Vector3.Lerp(character1.ik.solver.rightHandEffector.bone.position, character2.ik.solver.rightHandEffector.bone.position, 0.5f);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_0 = __this->___character1_4;
|
|
NullCheck(L_0);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_1;
|
|
L_1 = InteractionSystem_get_ik_m82A1FABCA49ED47E63901B9258EBAB49BE95EFD8_inline(L_0, NULL);
|
|
NullCheck(L_1);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_2 = L_1->___solver_11;
|
|
NullCheck(L_2);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_3;
|
|
L_3 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_2, NULL);
|
|
NullCheck(L_3);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = L_3->___bone_0;
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_4, NULL);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_6 = __this->___character2_5;
|
|
NullCheck(L_6);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_7;
|
|
L_7 = InteractionSystem_get_ik_m82A1FABCA49ED47E63901B9258EBAB49BE95EFD8_inline(L_6, NULL);
|
|
NullCheck(L_7);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_8 = L_7->___solver_11;
|
|
NullCheck(L_8);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_9;
|
|
L_9 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_8, NULL);
|
|
NullCheck(L_9);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = L_9->___bone_0;
|
|
NullCheck(L_10);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_10, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_5, L_11, (0.5f), NULL);
|
|
V_0 = L_12;
|
|
// handShake.transform.position = handsCenter;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_13 = __this->___handShake_6;
|
|
NullCheck(L_13);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14;
|
|
L_14 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_13, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_0;
|
|
NullCheck(L_14);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_14, L_15, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.InteractionC2CDemo::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionC2CDemo__ctor_m1C610A70C3BDEA8502931CA84A0C9B440061C537 (InteractionC2CDemo_tEE609D1D60F8FB5AE8824B02D083CC16A6EAA0C8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.InteractionDemo::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionDemo_OnGUI_mB7C7A6C2667A22B07ED3ABEF0FA8624B42E5A388 (InteractionDemo_tACDB69C5426B768A766351CC5AEECD236C567E6C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral07D65ACCCCB291AA8B2FBB8F6EA12784AD451B9E);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5622342F1405750DC0BFECD22BAFE1752EC515D9);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5846C622AD3991FF48E4838CDEBE0AE4D6DA048B);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral67ED6A85FFC520CA251832C1F127C81CCDAA741E);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8B5E17974DC6D4B26728482EBF164B288736F4C6);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9FA47FF0267D21FA99A57AD5A5037411DD7F693E);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAC61293B877F112A96B3F102361A1746AA8273CB);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBBF775021115C3F1E01EAED9D6F3183304674FB7);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// interrupt = GUILayout.Toggle(interrupt, "Interrupt");
|
|
bool L_0 = __this->___interrupt_5;
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_1;
|
|
L_1 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_2;
|
|
L_2 = GUILayout_Toggle_m59FC4209A021B0E6FBB880941B791487D359DBF7(L_0, _stringLiteralAC61293B877F112A96B3F102361A1746AA8273CB, L_1, NULL);
|
|
__this->___interrupt_5 = L_2;
|
|
// if (isSitting) {
|
|
bool L_3 = __this->___isSitting_12;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0054;
|
|
}
|
|
}
|
|
{
|
|
// if (!interactionSystem.inInteraction && GUILayout.Button("Stand Up")) {
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_4 = __this->___interactionSystem_4;
|
|
NullCheck(L_4);
|
|
bool L_5;
|
|
L_5 = InteractionSystem_get_inInteraction_m63211EF55C4A833B16ECF8818B1C0FE8B457D571(L_4, NULL);
|
|
if (L_5)
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
}
|
|
{
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_6;
|
|
L_6 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_7;
|
|
L_7 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteral9FA47FF0267D21FA99A57AD5A5037411DD7F693E, L_6, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.ResumeAll();
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_8 = __this->___interactionSystem_4;
|
|
NullCheck(L_8);
|
|
InteractionSystem_ResumeAll_m826BDB423151107A8CBD20960CBA64045FCDAC8D(L_8, NULL);
|
|
// isSitting = false;
|
|
__this->___isSitting_12 = (bool)0;
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0054:
|
|
{
|
|
// if (GUILayout.Button("Pick Up Ball")) {
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_9;
|
|
L_9 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_10;
|
|
L_10 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteralBBF775021115C3F1E01EAED9D6F3183304674FB7, L_9, NULL);
|
|
if (!L_10)
|
|
{
|
|
goto IL_007e;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.RightHand, ball, interrupt);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_11 = __this->___interactionSystem_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_12 = __this->___ball_6;
|
|
bool L_13 = __this->___interrupt_5;
|
|
NullCheck(L_11);
|
|
bool L_14;
|
|
L_14 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_11, 6, L_12, L_13, NULL);
|
|
}
|
|
|
|
IL_007e:
|
|
{
|
|
// if (GUILayout.Button("Button Left Hand")) {
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_15;
|
|
L_15 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_16;
|
|
L_16 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteral67ED6A85FFC520CA251832C1F127C81CCDAA741E, L_15, NULL);
|
|
if (!L_16)
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.LeftHand, button, interrupt);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_17 = __this->___interactionSystem_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_18 = __this->___button_9;
|
|
bool L_19 = __this->___interrupt_5;
|
|
NullCheck(L_17);
|
|
bool L_20;
|
|
L_20 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_17, 5, L_18, L_19, NULL);
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// if (GUILayout.Button("Button Right Hand")) {
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_21;
|
|
L_21 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_22;
|
|
L_22 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteral5846C622AD3991FF48E4838CDEBE0AE4D6DA048B, L_21, NULL);
|
|
if (!L_22)
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.RightHand, button, interrupt);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_23 = __this->___interactionSystem_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_24 = __this->___button_9;
|
|
bool L_25 = __this->___interrupt_5;
|
|
NullCheck(L_23);
|
|
bool L_26;
|
|
L_26 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_23, 6, L_24, L_25, NULL);
|
|
}
|
|
|
|
IL_00d2:
|
|
{
|
|
// if (GUILayout.Button("Put Out Cigarette")) {
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_27;
|
|
L_27 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_28;
|
|
L_28 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteral5622342F1405750DC0BFECD22BAFE1752EC515D9, L_27, NULL);
|
|
if (!L_28)
|
|
{
|
|
goto IL_00fc;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.RightFoot, cigarette, interrupt);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_29 = __this->___interactionSystem_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_30 = __this->___cigarette_10;
|
|
bool L_31 = __this->___interrupt_5;
|
|
NullCheck(L_29);
|
|
bool L_32;
|
|
L_32 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_29, 8, L_30, L_31, NULL);
|
|
}
|
|
|
|
IL_00fc:
|
|
{
|
|
// if (GUILayout.Button("Open Door")) {
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_33;
|
|
L_33 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_34;
|
|
L_34 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteral8B5E17974DC6D4B26728482EBF164B288736F4C6, L_33, NULL);
|
|
if (!L_34)
|
|
{
|
|
goto IL_0126;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.LeftHand, door, interrupt);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_35 = __this->___interactionSystem_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_36 = __this->___door_11;
|
|
bool L_37 = __this->___interrupt_5;
|
|
NullCheck(L_35);
|
|
bool L_38;
|
|
L_38 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_35, 5, L_36, L_37, NULL);
|
|
}
|
|
|
|
IL_0126:
|
|
{
|
|
// if (!interactionSystem.inInteraction && GUILayout.Button("Sit Down")) {
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_39 = __this->___interactionSystem_4;
|
|
NullCheck(L_39);
|
|
bool L_40;
|
|
L_40 = InteractionSystem_get_inInteraction_m63211EF55C4A833B16ECF8818B1C0FE8B457D571(L_39, NULL);
|
|
if (L_40)
|
|
{
|
|
goto IL_01e7;
|
|
}
|
|
}
|
|
{
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_41;
|
|
L_41 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_42;
|
|
L_42 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteral07D65ACCCCB291AA8B2FBB8F6EA12784AD451B9E, L_41, NULL);
|
|
if (!L_42)
|
|
{
|
|
goto IL_01e7;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.Body, benchMain, interrupt);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_43 = __this->___interactionSystem_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_44 = __this->___benchMain_7;
|
|
bool L_45 = __this->___interrupt_5;
|
|
NullCheck(L_43);
|
|
bool L_46;
|
|
L_46 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_43, 0, L_44, L_45, NULL);
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.LeftThigh, benchMain, interrupt);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_47 = __this->___interactionSystem_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_48 = __this->___benchMain_7;
|
|
bool L_49 = __this->___interrupt_5;
|
|
NullCheck(L_47);
|
|
bool L_50;
|
|
L_50 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_47, 3, L_48, L_49, NULL);
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.RightThigh, benchMain, interrupt);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_51 = __this->___interactionSystem_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_52 = __this->___benchMain_7;
|
|
bool L_53 = __this->___interrupt_5;
|
|
NullCheck(L_51);
|
|
bool L_54;
|
|
L_54 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_51, 4, L_52, L_53, NULL);
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.LeftFoot, benchMain, interrupt);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_55 = __this->___interactionSystem_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_56 = __this->___benchMain_7;
|
|
bool L_57 = __this->___interrupt_5;
|
|
NullCheck(L_55);
|
|
bool L_58;
|
|
L_58 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_55, 7, L_56, L_57, NULL);
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.LeftHand, benchHands, interrupt);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_59 = __this->___interactionSystem_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_60 = __this->___benchHands_8;
|
|
bool L_61 = __this->___interrupt_5;
|
|
NullCheck(L_59);
|
|
bool L_62;
|
|
L_62 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_59, 5, L_60, L_61, NULL);
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.RightHand, benchHands, interrupt);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_63 = __this->___interactionSystem_4;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_64 = __this->___benchHands_8;
|
|
bool L_65 = __this->___interrupt_5;
|
|
NullCheck(L_63);
|
|
bool L_66;
|
|
L_66 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_63, 6, L_64, L_65, NULL);
|
|
// isSitting = true;
|
|
__this->___isSitting_12 = (bool)1;
|
|
}
|
|
|
|
IL_01e7:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.InteractionDemo::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionDemo__ctor_m9BD70F60B857A77A8B7041EE7058051C059B55AB (InteractionDemo_tACDB69C5426B768A766351CC5AEECD236C567E6C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.InteractionSystemTestGUI::Awake()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionSystemTestGUI_Awake_m9FCD7DB72F56B8686C00EB6024A07EB337939B8E (InteractionSystemTestGUI_t69783522BBD59178B399ABC830EED56B358FAEDD* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisInteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595_m2C929736175975A7364A00BC4EB93536B5B64E60_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// interactionSystem = GetComponent<InteractionSystem>();
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_0;
|
|
L_0 = Component_GetComponent_TisInteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595_m2C929736175975A7364A00BC4EB93536B5B64E60(__this, Component_GetComponent_TisInteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595_m2C929736175975A7364A00BC4EB93536B5B64E60_RuntimeMethod_var);
|
|
__this->___interactionSystem_6 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___interactionSystem_6), (void*)L_0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.InteractionSystemTestGUI::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionSystemTestGUI_OnGUI_m8A4C573FA1C67DC810FD5589A18364A50B6A63DC (InteractionSystemTestGUI_t69783522BBD59178B399ABC830EED56B358FAEDD* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7E6424D40EA3C089A59F1939BDBFA11E9930C8B6);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC6D7C0CAFD0FD7EA7198E1C7A50D357691535253);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCE03A6D66404314B15DD459D12987FF69E8AE5F9);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
FullBodyBipedEffectorU5BU5D_tD981A1794CC680A87699938F371D208E46245BA4* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// if (interactionSystem == null) return;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_0 = __this->___interactionSystem_6;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (interactionSystem == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// if (GUILayout.Button("Start Interaction With " + interactionObject.name)) {
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_2 = __this->___interactionObject_4;
|
|
NullCheck(L_2);
|
|
String_t* L_3;
|
|
L_3 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_2, NULL);
|
|
String_t* L_4;
|
|
L_4 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteralC6D7C0CAFD0FD7EA7198E1C7A50D357691535253, L_3, NULL);
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_5;
|
|
L_5 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_6;
|
|
L_6 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(L_4, L_5, NULL);
|
|
if (!L_6)
|
|
{
|
|
goto IL_0070;
|
|
}
|
|
}
|
|
{
|
|
// if (effectors.Length == 0) Debug.Log("Please select the effectors to interact with.");
|
|
FullBodyBipedEffectorU5BU5D_tD981A1794CC680A87699938F371D208E46245BA4* L_7 = __this->___effectors_5;
|
|
NullCheck(L_7);
|
|
if ((((RuntimeArray*)L_7)->max_length))
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
// if (effectors.Length == 0) Debug.Log("Please select the effectors to interact with.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(_stringLiteral7E6424D40EA3C089A59F1939BDBFA11E9930C8B6, NULL);
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// foreach (FullBodyBipedEffector e in effectors) {
|
|
FullBodyBipedEffectorU5BU5D_tD981A1794CC680A87699938F371D208E46245BA4* L_8 = __this->___effectors_5;
|
|
V_0 = L_8;
|
|
V_1 = 0;
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// foreach (FullBodyBipedEffector e in effectors) {
|
|
FullBodyBipedEffectorU5BU5D_tD981A1794CC680A87699938F371D208E46245BA4* L_9 = V_0;
|
|
int32_t L_10 = V_1;
|
|
NullCheck(L_9);
|
|
int32_t L_11 = L_10;
|
|
int32_t L_12 = (int32_t)(L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
|
|
V_2 = L_12;
|
|
// interactionSystem.StartInteraction(e, interactionObject, true);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_13 = __this->___interactionSystem_6;
|
|
int32_t L_14 = V_2;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_15 = __this->___interactionObject_4;
|
|
NullCheck(L_13);
|
|
bool L_16;
|
|
L_16 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_13, L_14, L_15, (bool)1, NULL);
|
|
int32_t L_17 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_17, 1));
|
|
}
|
|
|
|
IL_006a:
|
|
{
|
|
// foreach (FullBodyBipedEffector e in effectors) {
|
|
int32_t L_18 = V_1;
|
|
FullBodyBipedEffectorU5BU5D_tD981A1794CC680A87699938F371D208E46245BA4* L_19 = V_0;
|
|
NullCheck(L_19);
|
|
if ((((int32_t)L_18) < ((int32_t)((int32_t)(((RuntimeArray*)L_19)->max_length)))))
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
|
|
IL_0070:
|
|
{
|
|
// if (effectors.Length == 0) return;
|
|
FullBodyBipedEffectorU5BU5D_tD981A1794CC680A87699938F371D208E46245BA4* L_20 = __this->___effectors_5;
|
|
NullCheck(L_20);
|
|
if ((((RuntimeArray*)L_20)->max_length))
|
|
{
|
|
goto IL_007a;
|
|
}
|
|
}
|
|
{
|
|
// if (effectors.Length == 0) return;
|
|
return;
|
|
}
|
|
|
|
IL_007a:
|
|
{
|
|
// if (interactionSystem.IsPaused(effectors[0])) {
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_21 = __this->___interactionSystem_6;
|
|
FullBodyBipedEffectorU5BU5D_tD981A1794CC680A87699938F371D208E46245BA4* L_22 = __this->___effectors_5;
|
|
NullCheck(L_22);
|
|
int32_t L_23 = 0;
|
|
int32_t L_24 = (int32_t)(L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
|
|
NullCheck(L_21);
|
|
bool L_25;
|
|
L_25 = InteractionSystem_IsPaused_mEDE73455724EB8888893ABB3BCF80CE91A8371B5(L_21, L_24, NULL);
|
|
if (!L_25)
|
|
{
|
|
goto IL_00bb;
|
|
}
|
|
}
|
|
{
|
|
// if (GUILayout.Button("Resume Interaction With " + interactionObject.name)) {
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_26 = __this->___interactionObject_4;
|
|
NullCheck(L_26);
|
|
String_t* L_27;
|
|
L_27 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_26, NULL);
|
|
String_t* L_28;
|
|
L_28 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteralCE03A6D66404314B15DD459D12987FF69E8AE5F9, L_27, NULL);
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_29;
|
|
L_29 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_30;
|
|
L_30 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(L_28, L_29, NULL);
|
|
if (!L_30)
|
|
{
|
|
goto IL_00bb;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.ResumeAll();
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_31 = __this->___interactionSystem_6;
|
|
NullCheck(L_31);
|
|
InteractionSystem_ResumeAll_m826BDB423151107A8CBD20960CBA64045FCDAC8D(L_31, NULL);
|
|
}
|
|
|
|
IL_00bb:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.InteractionSystemTestGUI::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InteractionSystemTestGUI__ctor_mBFC33858F5DCACACAC57DB2866A127EAD713F688 (InteractionSystemTestGUI_t69783522BBD59178B399ABC830EED56B358FAEDD* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.KissingRig::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KissingRig_Start_m0399DE35564FB1602B9D6839D670D5ED3B61A560 (KissingRig_tFADAEF80BC8322C4AABBD5819D9E49384476A220* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// partner1.Initiate();
|
|
Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* L_0 = __this->___partner1_4;
|
|
NullCheck(L_0);
|
|
Partner_Initiate_m2A4824C9AE36CC48226A3A3A2FAADD2161EB4781(L_0, NULL);
|
|
// partner2.Initiate();
|
|
Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* L_1 = __this->___partner2_5;
|
|
NullCheck(L_1);
|
|
Partner_Initiate_m2A4824C9AE36CC48226A3A3A2FAADD2161EB4781(L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.KissingRig::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KissingRig_LateUpdate_m4A28A206DC99DA29D47625B839602323F37C0373 (KissingRig_tFADAEF80BC8322C4AABBD5819D9E49384476A220* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// for (int i = 0; i < iterations; i++) {
|
|
V_0 = 0;
|
|
goto IL_002a;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// partner1.Update(weight);
|
|
Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* L_0 = __this->___partner1_4;
|
|
float L_1 = __this->___weight_6;
|
|
NullCheck(L_0);
|
|
Partner_Update_mCDD24FF45791CD5F4663190191A6AA27EA81071B(L_0, L_1, NULL);
|
|
// partner2.Update(weight);
|
|
Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* L_2 = __this->___partner2_5;
|
|
float L_3 = __this->___weight_6;
|
|
NullCheck(L_2);
|
|
Partner_Update_mCDD24FF45791CD5F4663190191A6AA27EA81071B(L_2, L_3, NULL);
|
|
// for (int i = 0; i < iterations; i++) {
|
|
int32_t L_4 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_4, 1));
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// for (int i = 0; i < iterations; i++) {
|
|
int32_t L_5 = V_0;
|
|
int32_t L_6 = __this->___iterations_7;
|
|
if ((((int32_t)L_5) < ((int32_t)L_6)))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.KissingRig::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KissingRig__ctor_m54FA4A073334530A0A7FD8E4734692ED04855ED2 (KissingRig_tFADAEF80BC8322C4AABBD5819D9E49384476A220* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int iterations = 3; // The number of iterating this rig.
|
|
__this->___iterations_7 = 3;
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.KissingRig/Partner::Initiate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Partner_Initiate_m2A4824C9AE36CC48226A3A3A2FAADD2161EB4781 (Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ik.enabled = false;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_0;
|
|
NullCheck(L_0);
|
|
Behaviour_set_enabled_mF1DCFE60EB09E0529FE9476CA804A3AA2D72B16A(L_0, (bool)0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.KissingRig/Partner::Update(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Partner_Update_mCDD24FF45791CD5F4663190191A6AA27EA81071B (Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* __this, float ___0_weight, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ik.solver.leftShoulderEffector.positionWeight = weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_0;
|
|
NullCheck(L_0);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_1 = L_0->___solver_11;
|
|
NullCheck(L_1);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_2;
|
|
L_2 = IKSolverFullBodyBiped_get_leftShoulderEffector_m5B500D488CCB816846DEF6F9920E55849E1FF17D(L_1, NULL);
|
|
float L_3 = ___0_weight;
|
|
NullCheck(L_2);
|
|
L_2->___positionWeight_2 = L_3;
|
|
// ik.solver.rightShoulderEffector.positionWeight = weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_4 = __this->___ik_0;
|
|
NullCheck(L_4);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_5 = L_4->___solver_11;
|
|
NullCheck(L_5);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_6;
|
|
L_6 = IKSolverFullBodyBiped_get_rightShoulderEffector_m857EA0866A539F70708E4062B1053F3B0352AE4F(L_5, NULL);
|
|
float L_7 = ___0_weight;
|
|
NullCheck(L_6);
|
|
L_6->___positionWeight_2 = L_7;
|
|
// ik.solver.leftHandEffector.positionWeight = weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_8 = __this->___ik_0;
|
|
NullCheck(L_8);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_9 = L_8->___solver_11;
|
|
NullCheck(L_9);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_10;
|
|
L_10 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_9, NULL);
|
|
float L_11 = ___0_weight;
|
|
NullCheck(L_10);
|
|
L_10->___positionWeight_2 = L_11;
|
|
// ik.solver.rightHandEffector.positionWeight = weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_12 = __this->___ik_0;
|
|
NullCheck(L_12);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_13 = L_12->___solver_11;
|
|
NullCheck(L_13);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_14;
|
|
L_14 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_13, NULL);
|
|
float L_15 = ___0_weight;
|
|
NullCheck(L_14);
|
|
L_14->___positionWeight_2 = L_15;
|
|
// ik.solver.leftHandEffector.rotationWeight = weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_16 = __this->___ik_0;
|
|
NullCheck(L_16);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_17 = L_16->___solver_11;
|
|
NullCheck(L_17);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_18;
|
|
L_18 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_17, NULL);
|
|
float L_19 = ___0_weight;
|
|
NullCheck(L_18);
|
|
L_18->___rotationWeight_3 = L_19;
|
|
// ik.solver.rightHandEffector.rotationWeight = weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_20 = __this->___ik_0;
|
|
NullCheck(L_20);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_21 = L_20->___solver_11;
|
|
NullCheck(L_21);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_22;
|
|
L_22 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_21, NULL);
|
|
float L_23 = ___0_weight;
|
|
NullCheck(L_22);
|
|
L_22->___rotationWeight_3 = L_23;
|
|
// ik.solver.bodyEffector.positionWeight = weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_24 = __this->___ik_0;
|
|
NullCheck(L_24);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_25 = L_24->___solver_11;
|
|
NullCheck(L_25);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_26;
|
|
L_26 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_25, NULL);
|
|
float L_27 = ___0_weight;
|
|
NullCheck(L_26);
|
|
L_26->___positionWeight_2 = L_27;
|
|
// InverseTransformEffector(FullBodyBipedEffector.LeftShoulder, mouth, mouthTarget.position, weight);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_28 = __this->___mouth_1;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = __this->___mouthTarget_2;
|
|
NullCheck(L_29);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_29, NULL);
|
|
float L_31 = ___0_weight;
|
|
Partner_InverseTransformEffector_m1CC09A2B279795001788C61FAF5DD54EF7AED663(__this, 1, L_28, L_30, L_31, NULL);
|
|
// InverseTransformEffector(FullBodyBipedEffector.RightShoulder, mouth, mouthTarget.position, weight);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_32 = __this->___mouth_1;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_33 = __this->___mouthTarget_2;
|
|
NullCheck(L_33);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
|
|
L_34 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_33, NULL);
|
|
float L_35 = ___0_weight;
|
|
Partner_InverseTransformEffector_m1CC09A2B279795001788C61FAF5DD54EF7AED663(__this, 2, L_32, L_34, L_35, NULL);
|
|
// InverseTransformEffector(FullBodyBipedEffector.Body, mouth, mouthTarget.position, weight);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36 = __this->___mouth_1;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37 = __this->___mouthTarget_2;
|
|
NullCheck(L_37);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
|
|
L_38 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_37, NULL);
|
|
float L_39 = ___0_weight;
|
|
Partner_InverseTransformEffector_m1CC09A2B279795001788C61FAF5DD54EF7AED663(__this, 0, L_36, L_38, L_39, NULL);
|
|
// ik.solver.bodyEffector.position = Vector3.Lerp(new Vector3(ik.solver.bodyEffector.position.x, ik.solver.bodyEffector.bone.position.y, ik.solver.bodyEffector.position.z), ik.solver.bodyEffector.position, bodyWeightVertical * weight);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_40 = __this->___ik_0;
|
|
NullCheck(L_40);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_41 = L_40->___solver_11;
|
|
NullCheck(L_41);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_42;
|
|
L_42 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_41, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_43 = __this->___ik_0;
|
|
NullCheck(L_43);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_44 = L_43->___solver_11;
|
|
NullCheck(L_44);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_45;
|
|
L_45 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_44, NULL);
|
|
NullCheck(L_45);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_46 = (&L_45->___position_4);
|
|
float L_47 = L_46->___x_2;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_48 = __this->___ik_0;
|
|
NullCheck(L_48);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_49 = L_48->___solver_11;
|
|
NullCheck(L_49);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_50;
|
|
L_50 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_49, NULL);
|
|
NullCheck(L_50);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_51 = L_50->___bone_0;
|
|
NullCheck(L_51);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
|
|
L_52 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_51, NULL);
|
|
float L_53 = L_52.___y_3;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_54 = __this->___ik_0;
|
|
NullCheck(L_54);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_55 = L_54->___solver_11;
|
|
NullCheck(L_55);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_56;
|
|
L_56 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_55, NULL);
|
|
NullCheck(L_56);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_57 = (&L_56->___position_4);
|
|
float L_58 = L_57->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
|
|
memset((&L_59), 0, sizeof(L_59));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_59), L_47, L_53, L_58, /*hidden argument*/NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_60 = __this->___ik_0;
|
|
NullCheck(L_60);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_61 = L_60->___solver_11;
|
|
NullCheck(L_61);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_62;
|
|
L_62 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_61, NULL);
|
|
NullCheck(L_62);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = L_62->___position_4;
|
|
float L_64 = __this->___bodyWeightVertical_6;
|
|
float L_65 = ___0_weight;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66;
|
|
L_66 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_59, L_63, ((float)il2cpp_codegen_multiply(L_64, L_65)), NULL);
|
|
NullCheck(L_42);
|
|
L_42->___position_4 = L_66;
|
|
// ik.solver.bodyEffector.position = Vector3.Lerp(new Vector3(ik.solver.bodyEffector.bone.position.x, ik.solver.bodyEffector.position.y, ik.solver.bodyEffector.bone.position.z), ik.solver.bodyEffector.position, bodyWeightHorizontal * weight);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_67 = __this->___ik_0;
|
|
NullCheck(L_67);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_68 = L_67->___solver_11;
|
|
NullCheck(L_68);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_69;
|
|
L_69 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_68, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_70 = __this->___ik_0;
|
|
NullCheck(L_70);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_71 = L_70->___solver_11;
|
|
NullCheck(L_71);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_72;
|
|
L_72 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_71, NULL);
|
|
NullCheck(L_72);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_73 = L_72->___bone_0;
|
|
NullCheck(L_73);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74;
|
|
L_74 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_73, NULL);
|
|
float L_75 = L_74.___x_2;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_76 = __this->___ik_0;
|
|
NullCheck(L_76);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_77 = L_76->___solver_11;
|
|
NullCheck(L_77);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_78;
|
|
L_78 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_77, NULL);
|
|
NullCheck(L_78);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_79 = (&L_78->___position_4);
|
|
float L_80 = L_79->___y_3;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_81 = __this->___ik_0;
|
|
NullCheck(L_81);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_82 = L_81->___solver_11;
|
|
NullCheck(L_82);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_83;
|
|
L_83 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_82, NULL);
|
|
NullCheck(L_83);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_84 = L_83->___bone_0;
|
|
NullCheck(L_84);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85;
|
|
L_85 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_84, NULL);
|
|
float L_86 = L_85.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87;
|
|
memset((&L_87), 0, sizeof(L_87));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_87), L_75, L_80, L_86, /*hidden argument*/NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_88 = __this->___ik_0;
|
|
NullCheck(L_88);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_89 = L_88->___solver_11;
|
|
NullCheck(L_89);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_90;
|
|
L_90 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_89, NULL);
|
|
NullCheck(L_90);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = L_90->___position_4;
|
|
float L_92 = __this->___bodyWeightHorizontal_5;
|
|
float L_93 = ___0_weight;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94;
|
|
L_94 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_87, L_91, ((float)il2cpp_codegen_multiply(L_92, L_93)), NULL);
|
|
NullCheck(L_69);
|
|
L_69->___position_4 = L_94;
|
|
// ik.solver.leftHandEffector.position = touchTargetLeftHand.position;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_95 = __this->___ik_0;
|
|
NullCheck(L_95);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_96 = L_95->___solver_11;
|
|
NullCheck(L_96);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_97;
|
|
L_97 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_96, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_98 = __this->___touchTargetLeftHand_3;
|
|
NullCheck(L_98);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99;
|
|
L_99 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_98, NULL);
|
|
NullCheck(L_97);
|
|
L_97->___position_4 = L_99;
|
|
// ik.solver.rightHandEffector.position = touchTargetRightHand.position;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_100 = __this->___ik_0;
|
|
NullCheck(L_100);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_101 = L_100->___solver_11;
|
|
NullCheck(L_101);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_102;
|
|
L_102 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_101, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_103 = __this->___touchTargetRightHand_4;
|
|
NullCheck(L_103);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104;
|
|
L_104 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_103, NULL);
|
|
NullCheck(L_102);
|
|
L_102->___position_4 = L_104;
|
|
// ik.solver.leftHandEffector.rotation = touchTargetLeftHand.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_105 = __this->___ik_0;
|
|
NullCheck(L_105);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_106 = L_105->___solver_11;
|
|
NullCheck(L_106);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_107;
|
|
L_107 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_106, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_108 = __this->___touchTargetLeftHand_3;
|
|
NullCheck(L_108);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_109;
|
|
L_109 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_108, NULL);
|
|
NullCheck(L_107);
|
|
L_107->___rotation_5 = L_109;
|
|
// ik.solver.rightHandEffector.rotation = touchTargetRightHand.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_110 = __this->___ik_0;
|
|
NullCheck(L_110);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_111 = L_110->___solver_11;
|
|
NullCheck(L_111);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_112;
|
|
L_112 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_111, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_113 = __this->___touchTargetRightHand_4;
|
|
NullCheck(L_113);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_114;
|
|
L_114 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_113, NULL);
|
|
NullCheck(L_112);
|
|
L_112->___rotation_5 = L_114;
|
|
// neckRotation = neck.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_115;
|
|
L_115 = Partner_get_neck_m6CE9404E47489AAF69BF6ABD30641C32DA678122(__this, NULL);
|
|
NullCheck(L_115);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_116;
|
|
L_116 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_115, NULL);
|
|
__this->___neckRotation_10 = L_116;
|
|
// ik.solver.Update();
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_117 = __this->___ik_0;
|
|
NullCheck(L_117);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_118 = L_117->___solver_11;
|
|
NullCheck(L_118);
|
|
IKSolver_Update_mBB60E821EF454BBA16876C5565DED4D90D1F7E25(L_118, NULL);
|
|
// neck.rotation = Quaternion.Slerp(neck.rotation, neckRotation, neckRotationWeight * weight);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_119;
|
|
L_119 = Partner_get_neck_m6CE9404E47489AAF69BF6ABD30641C32DA678122(__this, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_120;
|
|
L_120 = Partner_get_neck_m6CE9404E47489AAF69BF6ABD30641C32DA678122(__this, NULL);
|
|
NullCheck(L_120);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_121;
|
|
L_121 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_120, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_122 = __this->___neckRotation_10;
|
|
float L_123 = __this->___neckRotationWeight_7;
|
|
float L_124 = ___0_weight;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_125;
|
|
L_125 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_121, L_122, ((float)il2cpp_codegen_multiply(L_123, L_124)), NULL);
|
|
NullCheck(L_119);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_119, L_125, NULL);
|
|
// ik.references.head.localRotation = Quaternion.AngleAxis(headTiltAngle * weight, headTiltAxis) * ik.references.head.localRotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_126 = __this->___ik_0;
|
|
NullCheck(L_126);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_127 = L_126->___references_10;
|
|
NullCheck(L_127);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_128 = L_127->___head_14;
|
|
float L_129 = __this->___headTiltAngle_8;
|
|
float L_130 = ___0_weight;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_131 = __this->___headTiltAxis_9;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_132;
|
|
L_132 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(((float)il2cpp_codegen_multiply(L_129, L_130)), L_131, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_133 = __this->___ik_0;
|
|
NullCheck(L_133);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_134 = L_133->___references_10;
|
|
NullCheck(L_134);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_135 = L_134->___head_14;
|
|
NullCheck(L_135);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_136;
|
|
L_136 = Transform_get_localRotation_mD53D37611A5DAE93EC6C7BBCAC337408C5CACA77(L_135, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_137;
|
|
L_137 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_132, L_136, NULL);
|
|
NullCheck(L_128);
|
|
Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA(L_128, L_137, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Transform RootMotion.Demos.KissingRig/Partner::get_neck()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Partner_get_neck_m6CE9404E47489AAF69BF6ABD30641C32DA678122 (Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return ik.solver.spineMapping.spineBones[ik.solver.spineMapping.spineBones.Length - 1];
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_0;
|
|
NullCheck(L_0);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_1 = L_0->___solver_11;
|
|
NullCheck(L_1);
|
|
IKMappingSpine_tF147A1F674EFB7E3FA2DF5EF35A9E2A3F78B66FB* L_2 = ((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_1)->___spineMapping_13;
|
|
NullCheck(L_2);
|
|
TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_3 = L_2->___spineBones_0;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_4 = __this->___ik_0;
|
|
NullCheck(L_4);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_5 = L_4->___solver_11;
|
|
NullCheck(L_5);
|
|
IKMappingSpine_tF147A1F674EFB7E3FA2DF5EF35A9E2A3F78B66FB* L_6 = ((IKSolverFullBody_t878CB6552032C1020A2BDDF6D73E41A91FAB4C42*)L_5)->___spineMapping_13;
|
|
NullCheck(L_6);
|
|
TransformU5BU5D_tBB9C5F5686CAE82E3D97D43DF0F3D68ABF75EC24* L_7 = L_6->___spineBones_0;
|
|
NullCheck(L_7);
|
|
NullCheck(L_3);
|
|
int32_t L_8 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_7)->max_length)), 1));
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
return L_9;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.KissingRig/Partner::InverseTransformEffector(RootMotion.FinalIK.FullBodyBipedEffector,UnityEngine.Transform,UnityEngine.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Partner_InverseTransformEffector_m1CC09A2B279795001788C61FAF5DD54EF7AED663 (Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* __this, int32_t ___0_effector, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___1_target, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_targetPosition, float ___3_weight, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Vector3 toEffector = ik.solver.GetEffector(effector).bone.position - target.position;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_0;
|
|
NullCheck(L_0);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_1 = L_0->___solver_11;
|
|
int32_t L_2 = ___0_effector;
|
|
NullCheck(L_1);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_3;
|
|
L_3 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_1, L_2, NULL);
|
|
NullCheck(L_3);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = L_3->___bone_0;
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_4, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = ___1_target;
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_5, L_7, NULL);
|
|
V_0 = L_8;
|
|
// ik.solver.GetEffector(effector).position = Vector3.Lerp(ik.solver.GetEffector(effector).bone.position, targetPosition + toEffector, weight);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_9 = __this->___ik_0;
|
|
NullCheck(L_9);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_10 = L_9->___solver_11;
|
|
int32_t L_11 = ___0_effector;
|
|
NullCheck(L_10);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_12;
|
|
L_12 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_10, L_11, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_13 = __this->___ik_0;
|
|
NullCheck(L_13);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_14 = L_13->___solver_11;
|
|
int32_t L_15 = ___0_effector;
|
|
NullCheck(L_14);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_16;
|
|
L_16 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_14, L_15, NULL);
|
|
NullCheck(L_16);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = L_16->___bone_0;
|
|
NullCheck(L_17);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_17, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = ___2_targetPosition;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
L_21 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_19, L_20, NULL);
|
|
float L_22 = ___3_weight;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_18, L_21, L_22, NULL);
|
|
NullCheck(L_12);
|
|
L_12->___position_4 = L_23;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.KissingRig/Partner::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Partner__ctor_mC410EE03EFA2750E40E211E57F1C4892EB862AA0 (Partner_tBC756A33EBBEEEE4BEB3BF4D543D8B7B113124FD* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float bodyWeightHorizontal = 0.4f; // The body effector horizontal weight
|
|
__this->___bodyWeightHorizontal_5 = (0.400000006f);
|
|
// public float bodyWeightVertical = 1f; // The body effector vertical weight
|
|
__this->___bodyWeightVertical_6 = (1.0f);
|
|
// public float neckRotationWeight = 0.3f; // The neck rotation weight
|
|
__this->___neckRotationWeight_7 = (0.300000012f);
|
|
// public float headTiltAngle = 10f; // Tilting the head
|
|
__this->___headTiltAngle_8 = (10.0f);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.MotionAbsorb::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MotionAbsorb_Start_m6D3F64A28211FE7540BA0ADBDBDEEEAD6414ADC1 (MotionAbsorb_t5DBE549F1D756E0BE73E606693ED0B7C8D1622EC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MotionAbsorb_AfterIK_m4C199253B2328FB60A5A44D9211CB67E27D0C382_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// base.Start();
|
|
OffsetModifier_Start_m1FA29F992B9D4E6F639F42419CDF61727B2A3B51(__this, NULL);
|
|
// ik.solver.OnPostUpdate += AfterIK;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_0);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_1 = L_0->___solver_11;
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_2 = L_1;
|
|
NullCheck(L_2);
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_3 = ((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_2)->___OnPostUpdate_7;
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_4 = (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)il2cpp_codegen_object_new(UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971(L_4, __this, (intptr_t)((void*)MotionAbsorb_AfterIK_m4C199253B2328FB60A5A44D9211CB67E27D0C382_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_5;
|
|
L_5 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_3, L_4, NULL);
|
|
NullCheck(L_2);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_2)->___OnPostUpdate_7 = ((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_5, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_2)->___OnPostUpdate_7), (void*)((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_5, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var)));
|
|
// initialMode = mode;
|
|
int32_t L_6 = __this->___mode_7;
|
|
__this->___initialMode_13 = L_6;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorb::OnCollisionEnter(UnityEngine.Collision)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MotionAbsorb_OnCollisionEnter_mA630634AB79760D272B9C9B41F1D8FCBC19A8D8D (MotionAbsorb_t5DBE549F1D756E0BE73E606693ED0B7C8D1622EC* __this, Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0* ___0_c, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (timer > 0f) return;
|
|
float L_0 = __this->___timer_11;
|
|
if ((!(((float)L_0) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (timer > 0f) return;
|
|
return;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// timer = 1f;
|
|
__this->___timer_11 = (1.0f);
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetToBone(ik.solver, mode);
|
|
V_0 = 0;
|
|
goto IL_003f;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetToBone(ik.solver, mode);
|
|
AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E* L_1 = __this->___absorbers_8;
|
|
int32_t L_2 = V_0;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_5 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_5);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_6 = L_5->___solver_11;
|
|
int32_t L_7 = __this->___mode_7;
|
|
NullCheck(L_4);
|
|
Absorber_SetToBone_m5A4E7322A4DB2546C60DBBE9BACF6FA28CE2F808(L_4, L_6, L_7, NULL);
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetToBone(ik.solver, mode);
|
|
int32_t L_8 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_8, 1));
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetToBone(ik.solver, mode);
|
|
int32_t L_9 = V_0;
|
|
AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E* L_10 = __this->___absorbers_8;
|
|
NullCheck(L_10);
|
|
if ((((int32_t)L_9) < ((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorb::OnModifyOffset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MotionAbsorb_OnModifyOffset_m115A4F1B5C4C1ABD4955A443CAADC32675B794CD (MotionAbsorb_t5DBE549F1D756E0BE73E606693ED0B7C8D1622EC* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// if (timer <= 0f) return;
|
|
float L_0 = __this->___timer_11;
|
|
if ((!(((float)L_0) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (timer <= 0f) return;
|
|
return;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// mode = initialMode;
|
|
int32_t L_1 = __this->___initialMode_13;
|
|
__this->___mode_7 = L_1;
|
|
// timer -= Time.deltaTime * falloffSpeed;
|
|
float L_2 = __this->___timer_11;
|
|
float L_3;
|
|
L_3 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_4 = __this->___falloffSpeed_10;
|
|
__this->___timer_11 = ((float)il2cpp_codegen_subtract(L_2, ((float)il2cpp_codegen_multiply(L_3, L_4))));
|
|
// w = falloff.Evaluate(timer);
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_5 = __this->___falloff_9;
|
|
float L_6 = __this->___timer_11;
|
|
NullCheck(L_5);
|
|
float L_7;
|
|
L_7 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_5, L_6, NULL);
|
|
__this->___w_12 = L_7;
|
|
// if (mode == Mode.Position) {
|
|
int32_t L_8 = __this->___mode_7;
|
|
if (L_8)
|
|
{
|
|
goto IL_0080;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].UpdateEffectorWeights(w * weight);
|
|
V_0 = 0;
|
|
goto IL_0074;
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].UpdateEffectorWeights(w * weight);
|
|
AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E* L_9 = __this->___absorbers_8;
|
|
int32_t L_10 = V_0;
|
|
NullCheck(L_9);
|
|
int32_t L_11 = L_10;
|
|
Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
|
|
float L_13 = __this->___w_12;
|
|
float L_14 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
NullCheck(L_12);
|
|
Absorber_UpdateEffectorWeights_m61595620888C8A6652385CC944FC0202B2186796(L_12, ((float)il2cpp_codegen_multiply(L_13, L_14)), NULL);
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].UpdateEffectorWeights(w * weight);
|
|
int32_t L_15 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_15, 1));
|
|
}
|
|
|
|
IL_0074:
|
|
{
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].UpdateEffectorWeights(w * weight);
|
|
int32_t L_16 = V_0;
|
|
AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E* L_17 = __this->___absorbers_8;
|
|
NullCheck(L_17);
|
|
if ((((int32_t)L_16) < ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))))
|
|
{
|
|
goto IL_0056;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_0080:
|
|
{
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetPosition(w * weight);
|
|
V_1 = 0;
|
|
goto IL_00a2;
|
|
}
|
|
|
|
IL_0084:
|
|
{
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetPosition(w * weight);
|
|
AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E* L_18 = __this->___absorbers_8;
|
|
int32_t L_19 = V_1;
|
|
NullCheck(L_18);
|
|
int32_t L_20 = L_19;
|
|
Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
|
|
float L_22 = __this->___w_12;
|
|
float L_23 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
NullCheck(L_21);
|
|
Absorber_SetPosition_mB803F249E4A243579A9BA802EAB5A964904DD554(L_21, ((float)il2cpp_codegen_multiply(L_22, L_23)), NULL);
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetPosition(w * weight);
|
|
int32_t L_24 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_24, 1));
|
|
}
|
|
|
|
IL_00a2:
|
|
{
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetPosition(w * weight);
|
|
int32_t L_25 = V_1;
|
|
AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E* L_26 = __this->___absorbers_8;
|
|
NullCheck(L_26);
|
|
if ((((int32_t)L_25) < ((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length)))))
|
|
{
|
|
goto IL_0084;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorb::AfterIK()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MotionAbsorb_AfterIK_m4C199253B2328FB60A5A44D9211CB67E27D0C382 (MotionAbsorb_t5DBE549F1D756E0BE73E606693ED0B7C8D1622EC* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (timer <= 0f) return;
|
|
float L_0 = __this->___timer_11;
|
|
if ((!(((float)L_0) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (timer <= 0f) return;
|
|
return;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// if (mode == Mode.Position) return;
|
|
int32_t L_1 = __this->___mode_7;
|
|
if (L_1)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// if (mode == Mode.Position) return;
|
|
return;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetRotation(w * weight);
|
|
V_0 = 0;
|
|
goto IL_0039;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetRotation(w * weight);
|
|
AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E* L_2 = __this->___absorbers_8;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
float L_6 = __this->___w_12;
|
|
float L_7 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
NullCheck(L_5);
|
|
Absorber_SetRotation_m1F0CB0467234AC393AED3CA521A80C2DDCD8033A(L_5, ((float)il2cpp_codegen_multiply(L_6, L_7)), NULL);
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetRotation(w * weight);
|
|
int32_t L_8 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_8, 1));
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// for (int i = 0; i < absorbers.Length; i++) absorbers[i].SetRotation(w * weight);
|
|
int32_t L_9 = V_0;
|
|
AbsorberU5BU5D_tE8811B26DADD9CFACC9F178A704FC56F16376F8E* L_10 = __this->___absorbers_8;
|
|
NullCheck(L_10);
|
|
if ((((int32_t)L_9) < ((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorb::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MotionAbsorb_OnDestroy_m2A124B2344B58549D8A0B42F857EE78C780A68DA (MotionAbsorb_t5DBE549F1D756E0BE73E606693ED0B7C8D1622EC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MotionAbsorb_AfterIK_m4C199253B2328FB60A5A44D9211CB67E27D0C382_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// base.OnDestroy();
|
|
OffsetModifier_OnDestroy_m92E05F8F451ED61F2B6B7753F4B464BA217DCF30(__this, NULL);
|
|
// if (ik != null) ik.solver.OnPostUpdate -= AfterIK;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
// if (ik != null) ik.solver.OnPostUpdate -= AfterIK;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_2 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_2);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_3 = L_2->___solver_11;
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_4 = L_3;
|
|
NullCheck(L_4);
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_5 = ((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_4)->___OnPostUpdate_7;
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_6 = (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)il2cpp_codegen_object_new(UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971(L_6, __this, (intptr_t)((void*)MotionAbsorb_AfterIK_m4C199253B2328FB60A5A44D9211CB67E27D0C382_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_7;
|
|
L_7 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_5, L_6, NULL);
|
|
NullCheck(L_4);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_4)->___OnPostUpdate_7 = ((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_4)->___OnPostUpdate_7), (void*)((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var)));
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorb::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MotionAbsorb__ctor_m200130309427D87E0522DD2EECA19B547CD63942 (MotionAbsorb_t5DBE549F1D756E0BE73E606693ED0B7C8D1622EC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float falloffSpeed = 1f;
|
|
__this->___falloffSpeed_10 = (1.0f);
|
|
OffsetModifier__ctor_m35CC529F7B5A1450DB1AABC123CD8FEAFBC75E1A(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.MotionAbsorb/Absorber::SetToBone(RootMotion.FinalIK.IKSolverFullBodyBiped,RootMotion.Demos.MotionAbsorb/Mode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Absorber_SetToBone_m5A4E7322A4DB2546C60DBBE9BACF6FA28CE2F808 (Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* __this, IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* ___0_solver, int32_t ___1_mode, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// e = solver.GetEffector(effector);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_0 = ___0_solver;
|
|
int32_t L_1 = __this->___effector_0;
|
|
NullCheck(L_0);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_2;
|
|
L_2 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_0, L_1, NULL);
|
|
__this->___e_4 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___e_4), (void*)L_2);
|
|
int32_t L_3 = ___1_mode;
|
|
if (!L_3)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_4 = ___1_mode;
|
|
if ((((int32_t)L_4) == ((int32_t)1)))
|
|
{
|
|
goto IL_0051;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// e.position = e.bone.position;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_5 = __this->___e_4;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_6 = __this->___e_4;
|
|
NullCheck(L_6);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = L_6->___bone_0;
|
|
NullCheck(L_7);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_7, NULL);
|
|
NullCheck(L_5);
|
|
L_5->___position_4 = L_8;
|
|
// e.rotation = e.bone.rotation;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_9 = __this->___e_4;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_10 = __this->___e_4;
|
|
NullCheck(L_10);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = L_10->___bone_0;
|
|
NullCheck(L_11);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
|
|
L_12 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_11, NULL);
|
|
NullCheck(L_9);
|
|
L_9->___rotation_5 = L_12;
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0051:
|
|
{
|
|
// position = e.bone.position;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_13 = __this->___e_4;
|
|
NullCheck(L_13);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = L_13->___bone_0;
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_14, NULL);
|
|
__this->___position_2 = L_15;
|
|
// rotation = e.bone.rotation;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_16 = __this->___e_4;
|
|
NullCheck(L_16);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = L_16->___bone_0;
|
|
NullCheck(L_17);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
|
|
L_18 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_17, NULL);
|
|
__this->___rotation_3 = L_18;
|
|
// return;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorb/Absorber::UpdateEffectorWeights(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Absorber_UpdateEffectorWeights_m61595620888C8A6652385CC944FC0202B2186796 (Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* __this, float ___0_w, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// e.positionWeight = w * weight;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_0 = __this->___e_4;
|
|
float L_1 = ___0_w;
|
|
float L_2 = __this->___weight_1;
|
|
NullCheck(L_0);
|
|
L_0->___positionWeight_2 = ((float)il2cpp_codegen_multiply(L_1, L_2));
|
|
// e.rotationWeight = w * weight;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_3 = __this->___e_4;
|
|
float L_4 = ___0_w;
|
|
float L_5 = __this->___weight_1;
|
|
NullCheck(L_3);
|
|
L_3->___rotationWeight_3 = ((float)il2cpp_codegen_multiply(L_4, L_5));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorb/Absorber::SetPosition(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Absorber_SetPosition_mB803F249E4A243579A9BA802EAB5A964904DD554 (Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* __this, float ___0_w, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// e.positionOffset += (position - e.bone.position) * w * weight;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_0 = __this->___e_4;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = L_1->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___position_2;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_4 = __this->___e_4;
|
|
NullCheck(L_4);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = L_4->___bone_0;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_3, L_6, NULL);
|
|
float L_8 = ___0_w;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_7, L_8, NULL);
|
|
float L_10 = __this->___weight_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_9, L_10, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_2, L_11, NULL);
|
|
NullCheck(L_1);
|
|
L_1->___positionOffset_6 = L_12;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorb/Absorber::SetRotation(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Absorber_SetRotation_m1F0CB0467234AC393AED3CA521A80C2DDCD8033A (Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* __this, float ___0_w, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// e.bone.rotation = Quaternion.Slerp(e.bone.rotation, rotation, w * weight);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_0 = __this->___e_4;
|
|
NullCheck(L_0);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = L_0->___bone_0;
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_2 = __this->___e_4;
|
|
NullCheck(L_2);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = L_2->___bone_0;
|
|
NullCheck(L_3);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
|
|
L_4 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_3, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = __this->___rotation_3;
|
|
float L_6 = ___0_w;
|
|
float L_7 = __this->___weight_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
|
|
L_8 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_4, L_5, ((float)il2cpp_codegen_multiply(L_6, L_7)), NULL);
|
|
NullCheck(L_1);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_1, L_8, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorb/Absorber::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Absorber__ctor_m5A0FE47D4EDCF828D1D3446BF86B69880FA18554 (Absorber_t41F9AA94D6B41F5B63748FB99C2DE2EBAB4622DF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float weight = 1f;
|
|
__this->___weight_1 = (1.0f);
|
|
// private Quaternion rotation = Quaternion.identity;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0;
|
|
L_0 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
__this->___rotation_3 = L_0;
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.MotionAbsorbCharacter::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MotionAbsorbCharacter_Start_m40B4EE7255D3EC9CF01D5404CBA5539CED1C594A (MotionAbsorbCharacter_t079CD5DFEB1F5DC0129E622D992E47E893F2F101* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// cubeDefaultPosition = cube.position;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___cube_6;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_0, NULL);
|
|
__this->___cubeDefaultPosition_9 = L_1;
|
|
// cubeRigidbody = cube.GetComponent<Rigidbody>();
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___cube_6;
|
|
NullCheck(L_2);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_3;
|
|
L_3 = Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8(L_2, Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
__this->___cubeRigidbody_11 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___cubeRigidbody_11), (void*)L_3);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorbCharacter::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MotionAbsorbCharacter_Update_m9C2AB9D3C4A3C3AD11F837DA9B23F3E31C4F60DC (MotionAbsorbCharacter_t079CD5DFEB1F5DC0129E622D992E47E893F2F101* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// info = animator.GetCurrentAnimatorStateInfo(0);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_0 = __this->___animator_4;
|
|
NullCheck(L_0);
|
|
AnimatorStateInfo_t1F47379289C7CE7FD588FBC3BBD79A777243B6B2 L_1;
|
|
L_1 = Animator_GetCurrentAnimatorStateInfo_mD5B526FA605F6CFBC31B7DE36740F6AD1E534CAD(L_0, 0, NULL);
|
|
__this->___info_10 = L_1;
|
|
// motionAbsorb.weight = motionAbsorbWeight.Evaluate(info.normalizedTime - (int)info.normalizedTime);
|
|
MotionAbsorb_t5DBE549F1D756E0BE73E606693ED0B7C8D1622EC* L_2 = __this->___motionAbsorb_5;
|
|
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354* L_3 = __this->___motionAbsorbWeight_8;
|
|
AnimatorStateInfo_t1F47379289C7CE7FD588FBC3BBD79A777243B6B2* L_4 = (&__this->___info_10);
|
|
float L_5;
|
|
L_5 = AnimatorStateInfo_get_normalizedTime_m087C7E5A72122ADF18EBB4AC8391103B9119CCC6(L_4, NULL);
|
|
AnimatorStateInfo_t1F47379289C7CE7FD588FBC3BBD79A777243B6B2* L_6 = (&__this->___info_10);
|
|
float L_7;
|
|
L_7 = AnimatorStateInfo_get_normalizedTime_m087C7E5A72122ADF18EBB4AC8391103B9119CCC6(L_6, NULL);
|
|
NullCheck(L_3);
|
|
float L_8;
|
|
L_8 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_3, ((float)il2cpp_codegen_subtract(L_5, ((float)il2cpp_codegen_cast_double_to_int<int32_t>(L_7)))), NULL);
|
|
NullCheck(L_2);
|
|
((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)L_2)->___weight_4 = L_8;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorbCharacter::SwingStart()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MotionAbsorbCharacter_SwingStart_mFE20363F1F37822A57811267D058B794EE3DA668 (MotionAbsorbCharacter_t079CD5DFEB1F5DC0129E622D992E47E893F2F101* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// cubeRigidbody.MovePosition(cubeDefaultPosition + UnityEngine.Random.insideUnitSphere * cubeRandomPosition);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_0 = __this->___cubeRigidbody_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = __this->___cubeDefaultPosition_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Random_get_insideUnitSphere_mA488D6859560B73565B8D890ED6B39DB4091C54F(NULL);
|
|
float L_3 = __this->___cubeRandomPosition_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_2, L_3, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_1, L_4, NULL);
|
|
NullCheck(L_0);
|
|
Rigidbody_MovePosition_mB2CD29ABC8F59AC338C0A3A5A6B75C38FDA92CA9(L_0, L_5, NULL);
|
|
// cubeRigidbody.MoveRotation(Quaternion.identity);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_6 = __this->___cubeRigidbody_11;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
NullCheck(L_6);
|
|
Rigidbody_MoveRotation_m85825C7206E770E39DED9EE6D792702F577A891D(L_6, L_7, NULL);
|
|
// cubeRigidbody.velocity = Vector3.zero;
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_8 = __this->___cubeRigidbody_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
NullCheck(L_8);
|
|
Rigidbody_set_velocity_mE4031DF1C2C1CCE889F2AC9D8871D83795BB0D62(L_8, L_9, NULL);
|
|
// cubeRigidbody.angularVelocity = Vector3.zero;
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_10 = __this->___cubeRigidbody_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
NullCheck(L_10);
|
|
Rigidbody_set_angularVelocity_m23266B4E52BF0D2E65CC984AC73CC40B8D4A27E0(L_10, L_11, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.MotionAbsorbCharacter::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MotionAbsorbCharacter__ctor_m85C5511B723A5BBBA1054B0F2FAFD3763D02F7CF (MotionAbsorbCharacter_t079CD5DFEB1F5DC0129E622D992E47E893F2F101* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float cubeRandomPosition = 0.1f; // Randomizing cube position after each hit
|
|
__this->___cubeRandomPosition_7 = (0.100000001f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.OffsetEffector::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffsetEffector_Start_mC0E8645AEDA6FFCAB3F7D549655F16CF9E4F457D (OffsetEffector_t85C22B70BC2CE1EFCE561609C8D4AD6438315F0E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* V_2 = NULL;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_3 = NULL;
|
|
{
|
|
// base.Start();
|
|
OffsetModifier_Start_m1FA29F992B9D4E6F639F42419CDF61727B2A3B51(__this, NULL);
|
|
// if (anchor != null)
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___anchor_7;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0056;
|
|
}
|
|
}
|
|
{
|
|
// posRelToAnchor = anchor.InverseTransformPoint(transform.position);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___anchor_7;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3;
|
|
L_3 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_3, NULL);
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_2, L_4, NULL);
|
|
__this->___posRelToAnchor_9 = L_5;
|
|
// rotRelToAnchor = Quaternion.Inverse(anchor.rotation) * transform.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = __this->___anchor_7;
|
|
NullCheck(L_6);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_6, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
|
|
L_8 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_7, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9;
|
|
L_9 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_9);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
|
|
L_10 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_9, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
|
|
L_11 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_8, L_10, NULL);
|
|
__this->___rotRelToAnchor_10 = L_11;
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// foreach (EffectorLink e in effectorLinks) {
|
|
EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF* L_12 = __this->___effectorLinks_8;
|
|
V_0 = L_12;
|
|
V_1 = 0;
|
|
goto IL_00ba;
|
|
}
|
|
|
|
IL_0061:
|
|
{
|
|
// foreach (EffectorLink e in effectorLinks) {
|
|
EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF* L_13 = V_0;
|
|
int32_t L_14 = V_1;
|
|
NullCheck(L_13);
|
|
int32_t L_15 = L_14;
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
|
|
V_2 = L_16;
|
|
// var bone = ik.solver.GetEffector(e.effectorType).bone;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_17 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_17);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_18 = L_17->___solver_11;
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* L_19 = V_2;
|
|
NullCheck(L_19);
|
|
int32_t L_20 = L_19->___effectorType_0;
|
|
NullCheck(L_18);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_21;
|
|
L_21 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_18, L_20, NULL);
|
|
NullCheck(L_21);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = L_21->___bone_0;
|
|
V_3 = L_22;
|
|
// e.localPosition = transform.InverseTransformPoint(bone.position);
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* L_23 = V_2;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24;
|
|
L_24 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_25 = V_3;
|
|
NullCheck(L_25);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_25, NULL);
|
|
NullCheck(L_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
|
|
L_27 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_24, L_26, NULL);
|
|
NullCheck(L_23);
|
|
L_23->___localPosition_2 = L_27;
|
|
// if (e.effectorType == FullBodyBipedEffector.Body) ik.solver.bodyEffector.effectChildNodes = false;
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* L_28 = V_2;
|
|
NullCheck(L_28);
|
|
int32_t L_29 = L_28->___effectorType_0;
|
|
if (L_29)
|
|
{
|
|
goto IL_00b6;
|
|
}
|
|
}
|
|
{
|
|
// if (e.effectorType == FullBodyBipedEffector.Body) ik.solver.bodyEffector.effectChildNodes = false;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_30 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_30);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_31 = L_30->___solver_11;
|
|
NullCheck(L_31);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_32;
|
|
L_32 = IKSolverFullBodyBiped_get_bodyEffector_m453A029B8AD978266B390B3CBA2CA3A340526E85(L_31, NULL);
|
|
NullCheck(L_32);
|
|
L_32->___effectChildNodes_8 = (bool)0;
|
|
}
|
|
|
|
IL_00b6:
|
|
{
|
|
int32_t L_33 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_33, 1));
|
|
}
|
|
|
|
IL_00ba:
|
|
{
|
|
// foreach (EffectorLink e in effectorLinks) {
|
|
int32_t L_34 = V_1;
|
|
EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF* L_35 = V_0;
|
|
NullCheck(L_35);
|
|
if ((((int32_t)L_34) < ((int32_t)((int32_t)(((RuntimeArray*)L_35)->max_length)))))
|
|
{
|
|
goto IL_0061;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.OffsetEffector::OnModifyOffset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffsetEffector_OnModifyOffset_mB73B56F3187BEFE813EFD0A8937F27B6A3809B0A (OffsetEffector_t85C22B70BC2CE1EFCE561609C8D4AD6438315F0E* __this, const RuntimeMethod* method)
|
|
{
|
|
EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* V_2 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
{
|
|
// foreach (EffectorLink e in effectorLinks) {
|
|
EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF* L_0 = __this->___effectorLinks_8;
|
|
V_0 = L_0;
|
|
V_1 = 0;
|
|
goto IL_00aa;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// foreach (EffectorLink e in effectorLinks) {
|
|
EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF* L_1 = V_0;
|
|
int32_t L_2 = V_1;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
V_2 = L_4;
|
|
// Vector3 positionTarget = transform.TransformPoint(e.localPosition);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5;
|
|
L_5 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* L_6 = V_2;
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = L_6->___localPosition_2;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_5, L_7, NULL);
|
|
V_3 = L_8;
|
|
// ik.solver.GetEffector(e.effectorType).positionOffset += (positionTarget - (ik.solver.GetEffector(e.effectorType).bone.position + ik.solver.GetEffector(e.effectorType).positionOffset)) * weight * e.weightMultiplier;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_9 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_9);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_10 = L_9->___solver_11;
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* L_11 = V_2;
|
|
NullCheck(L_11);
|
|
int32_t L_12 = L_11->___effectorType_0;
|
|
NullCheck(L_10);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_13;
|
|
L_13 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_10, L_12, NULL);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_14 = L_13;
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = L_14->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_3;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_17 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_17);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_18 = L_17->___solver_11;
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* L_19 = V_2;
|
|
NullCheck(L_19);
|
|
int32_t L_20 = L_19->___effectorType_0;
|
|
NullCheck(L_18);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_21;
|
|
L_21 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_18, L_20, NULL);
|
|
NullCheck(L_21);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = L_21->___bone_0;
|
|
NullCheck(L_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_22, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_24 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___ik_5;
|
|
NullCheck(L_24);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_25 = L_24->___solver_11;
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* L_26 = V_2;
|
|
NullCheck(L_26);
|
|
int32_t L_27 = L_26->___effectorType_0;
|
|
NullCheck(L_25);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_28;
|
|
L_28 = IKSolverFullBodyBiped_GetEffector_m54F1CAD6B2B41B86335952B734EA4231A08EF357(L_25, L_27, NULL);
|
|
NullCheck(L_28);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = L_28->___positionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_23, L_29, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
|
|
L_31 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_16, L_30, NULL);
|
|
float L_32 = ((OffsetModifier_tECCF24BBB380D6498A5E75B12864B9D89CF166F8*)__this)->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_31, L_32, NULL);
|
|
EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* L_34 = V_2;
|
|
NullCheck(L_34);
|
|
float L_35 = L_34->___weightMultiplier_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
|
|
L_36 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_33, L_35, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
|
|
L_37 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_36, NULL);
|
|
NullCheck(L_14);
|
|
L_14->___positionOffset_6 = L_37;
|
|
int32_t L_38 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
}
|
|
|
|
IL_00aa:
|
|
{
|
|
// foreach (EffectorLink e in effectorLinks) {
|
|
int32_t L_39 = V_1;
|
|
EffectorLinkU5BU5D_tF60C9181DAFE7FDCDB11E28B54CE08FE106456DF* L_40 = V_0;
|
|
NullCheck(L_40);
|
|
if ((((int32_t)L_39) < ((int32_t)((int32_t)(((RuntimeArray*)L_40)->max_length)))))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.OffsetEffector::Anchor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffsetEffector_Anchor_m38745E690821FCA0DDD896644104873A109156FF (OffsetEffector_t85C22B70BC2CE1EFCE561609C8D4AD6438315F0E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (anchor == null) return;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___anchor_7;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (anchor == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// transform.position = anchor.TransformPoint(posRelToAnchor);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2;
|
|
L_2 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = __this->___anchor_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = __this->___posRelToAnchor_9;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_3, L_4, NULL);
|
|
NullCheck(L_2);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_2, L_5, NULL);
|
|
// transform.rotation = anchor.rotation * rotRelToAnchor;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
|
|
L_6 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = __this->___anchor_7;
|
|
NullCheck(L_7);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
|
|
L_8 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_7, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = __this->___rotRelToAnchor_10;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
|
|
L_10 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_8, L_9, NULL);
|
|
NullCheck(L_6);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_6, L_10, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.OffsetEffector::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffsetEffector__ctor_m7E6CE8DC334E45416A5FE24EE7CF70D47FD9AA74 (OffsetEffector_t85C22B70BC2CE1EFCE561609C8D4AD6438315F0E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// private Quaternion rotRelToAnchor = Quaternion.identity;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0;
|
|
L_0 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
__this->___rotRelToAnchor_10 = L_0;
|
|
OffsetModifier__ctor_m35CC529F7B5A1450DB1AABC123CD8FEAFBC75E1A(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.OffsetEffector/EffectorLink::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink__ctor_mF6A0CB38FBA9B8EE59C30A8D517DEA2C9CE8F149 (EffectorLink_t84E7B4467329AD87F323AE7AA010CF25E630C4D1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float weightMultiplier = 1f;
|
|
__this->___weightMultiplier_1 = (1.0f);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.PendulumExample::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PendulumExample_Start_mF0A021EA4DEC8FD11ADEA4908209A15C333D51E2 (PendulumExample_t8EB41555C1BD4E5CF58203F94125972FC818050B* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisFixedJoint_tA10A077292A86BA2A2AB3542E3441610055F806E_m55087CF9E0B9B9026B0844811592B36880109159_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// ik = GetComponent<FullBodyBipedIK>();
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0;
|
|
L_0 = Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177(__this, Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177_RuntimeMethod_var);
|
|
__this->___ik_17 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___ik_17), (void*)L_0);
|
|
// Quaternion targetRotation = target.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = __this->___target_8;
|
|
NullCheck(L_1);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
|
|
L_2 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_1, NULL);
|
|
V_0 = L_2;
|
|
// target.rotation = leftHandTarget.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = __this->___target_8;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___leftHandTarget_9;
|
|
NullCheck(L_4);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
|
|
L_5 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_4, NULL);
|
|
NullCheck(L_3);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_3, L_5, NULL);
|
|
// FixedJoint j = target.gameObject.AddComponent<FixedJoint>();
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = __this->___target_8;
|
|
NullCheck(L_6);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_7;
|
|
L_7 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_6, NULL);
|
|
NullCheck(L_7);
|
|
FixedJoint_tA10A077292A86BA2A2AB3542E3441610055F806E* L_8;
|
|
L_8 = GameObject_AddComponent_TisFixedJoint_tA10A077292A86BA2A2AB3542E3441610055F806E_m55087CF9E0B9B9026B0844811592B36880109159(L_7, GameObject_AddComponent_TisFixedJoint_tA10A077292A86BA2A2AB3542E3441610055F806E_m55087CF9E0B9B9026B0844811592B36880109159_RuntimeMethod_var);
|
|
// j.connectedBody = leftHandTarget.GetComponent<Rigidbody>();
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = __this->___leftHandTarget_9;
|
|
NullCheck(L_9);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_10;
|
|
L_10 = Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8(L_9, Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
NullCheck(L_8);
|
|
Joint_set_connectedBody_mE9E631476E9D4264E8DC0D6307146F5EB64D3ED4(L_8, L_10, NULL);
|
|
// target.GetComponent<Rigidbody>().MoveRotation(targetRotation);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = __this->___target_8;
|
|
NullCheck(L_11);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_12;
|
|
L_12 = Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8(L_11, Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13 = V_0;
|
|
NullCheck(L_12);
|
|
Rigidbody_MoveRotation_m85825C7206E770E39DED9EE6D792702F577A891D(L_12, L_13, NULL);
|
|
// rootRelativeToPelvis = Quaternion.Inverse(pelvisTarget.rotation) * transform.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = __this->___pelvisTarget_13;
|
|
NullCheck(L_14);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
|
|
L_15 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_14, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
|
|
L_16 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_15, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17;
|
|
L_17 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_17);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
|
|
L_18 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_17, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19;
|
|
L_19 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_16, L_18, NULL);
|
|
__this->___rootRelativeToPelvis_18 = L_19;
|
|
// pelvisToRoot = Quaternion.Inverse(ik.references.pelvis.rotation) * (transform.position - ik.references.pelvis.position);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_20 = __this->___ik_17;
|
|
NullCheck(L_20);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_21 = L_20->___references_10;
|
|
NullCheck(L_21);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22 = L_21->___pelvis_1;
|
|
NullCheck(L_22);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_23;
|
|
L_23 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_22, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24;
|
|
L_24 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_23, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_25;
|
|
L_25 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_25);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_25, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_27 = __this->___ik_17;
|
|
NullCheck(L_27);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_28 = L_27->___references_10;
|
|
NullCheck(L_28);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = L_28->___pelvis_1;
|
|
NullCheck(L_29);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_29, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
|
|
L_31 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_26, L_30, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_24, L_31, NULL);
|
|
__this->___pelvisToRoot_19 = L_32;
|
|
// rootTargetPosition = transform.position;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_33;
|
|
L_33 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_33);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
|
|
L_34 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_33, NULL);
|
|
__this->___rootTargetPosition_6 = L_34;
|
|
// rootTargetRotation = transform.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_35;
|
|
L_35 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_35);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36;
|
|
L_36 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_35, NULL);
|
|
__this->___rootTargetRotation_7 = L_36;
|
|
// lastWeight = weight;
|
|
float L_37 = __this->___weight_4;
|
|
__this->___lastWeight_20 = L_37;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PendulumExample::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PendulumExample_LateUpdate_m6A7EA47074557EF964986B15E83AE61DEF3A1D20 (PendulumExample_t8EB41555C1BD4E5CF58203F94125972FC818050B* __this, const RuntimeMethod* method)
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
// if (weight > 0f) {
|
|
float L_0 = __this->___weight_4;
|
|
if ((!(((float)L_0) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
// ik.solver.leftHandEffector.positionWeight = weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_1 = __this->___ik_17;
|
|
NullCheck(L_1);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_2 = L_1->___solver_11;
|
|
NullCheck(L_2);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_3;
|
|
L_3 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_2, NULL);
|
|
float L_4 = __this->___weight_4;
|
|
NullCheck(L_3);
|
|
L_3->___positionWeight_2 = L_4;
|
|
// ik.solver.leftHandEffector.rotationWeight = weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_5 = __this->___ik_17;
|
|
NullCheck(L_5);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_6 = L_5->___solver_11;
|
|
NullCheck(L_6);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_7;
|
|
L_7 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_6, NULL);
|
|
float L_8 = __this->___weight_4;
|
|
NullCheck(L_7);
|
|
L_7->___rotationWeight_3 = L_8;
|
|
goto IL_00a8;
|
|
}
|
|
|
|
IL_0045:
|
|
{
|
|
// rootTargetPosition = transform.position;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9;
|
|
L_9 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
|
|
__this->___rootTargetPosition_6 = L_10;
|
|
// rootTargetRotation = transform.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11;
|
|
L_11 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_11);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
|
|
L_12 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_11, NULL);
|
|
__this->___rootTargetRotation_7 = L_12;
|
|
// if (lastWeight > 0f) {
|
|
float L_13 = __this->___lastWeight_20;
|
|
if ((!(((float)L_13) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
// ik.solver.leftHandEffector.positionWeight = 0f;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_14 = __this->___ik_17;
|
|
NullCheck(L_14);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_15 = L_14->___solver_11;
|
|
NullCheck(L_15);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_16;
|
|
L_16 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_15, NULL);
|
|
NullCheck(L_16);
|
|
L_16->___positionWeight_2 = (0.0f);
|
|
// ik.solver.leftHandEffector.rotationWeight = 0f;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_17 = __this->___ik_17;
|
|
NullCheck(L_17);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_18 = L_17->___solver_11;
|
|
NullCheck(L_18);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_19;
|
|
L_19 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_18, NULL);
|
|
NullCheck(L_19);
|
|
L_19->___rotationWeight_3 = (0.0f);
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// lastWeight = weight;
|
|
float L_20 = __this->___weight_4;
|
|
__this->___lastWeight_20 = L_20;
|
|
// if (weight <= 0f) return;
|
|
float L_21 = __this->___weight_4;
|
|
if ((!(((float)L_21) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_00c2;
|
|
}
|
|
}
|
|
{
|
|
// if (weight <= 0f) return;
|
|
return;
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// transform.position = Vector3.Lerp(rootTargetPosition, pelvisTarget.position + pelvisTarget.rotation * pelvisToRoot * hangingDistanceMlp, weight);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22;
|
|
L_22 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = __this->___rootTargetPosition_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24 = __this->___pelvisTarget_13;
|
|
NullCheck(L_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_24, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_26 = __this->___pelvisTarget_13;
|
|
NullCheck(L_26);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27;
|
|
L_27 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_26, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = __this->___pelvisToRoot_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_27, L_28, NULL);
|
|
float L_30 = __this->___hangingDistanceMlp_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
|
|
L_31 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_29, L_30, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_25, L_31, NULL);
|
|
float L_33 = __this->___weight_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
|
|
L_34 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_23, L_32, L_33, NULL);
|
|
NullCheck(L_22);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_22, L_34, NULL);
|
|
// transform.rotation = Quaternion.Lerp(rootTargetRotation, pelvisTarget.rotation * rootRelativeToPelvis, weight);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_35;
|
|
L_35 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36 = __this->___rootTargetRotation_7;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_37 = __this->___pelvisTarget_13;
|
|
NullCheck(L_37);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38;
|
|
L_38 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_37, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39 = __this->___rootRelativeToPelvis_18;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_40;
|
|
L_40 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_38, L_39, NULL);
|
|
float L_41 = __this->___weight_4;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_42;
|
|
L_42 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_36, L_40, L_41, NULL);
|
|
NullCheck(L_35);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_35, L_42, NULL);
|
|
// ik.solver.leftHandEffector.position = leftHandTarget.position;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_43 = __this->___ik_17;
|
|
NullCheck(L_43);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_44 = L_43->___solver_11;
|
|
NullCheck(L_44);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_45;
|
|
L_45 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_44, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_46 = __this->___leftHandTarget_9;
|
|
NullCheck(L_46);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
|
|
L_47 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_46, NULL);
|
|
NullCheck(L_45);
|
|
L_45->___position_4 = L_47;
|
|
// ik.solver.leftHandEffector.rotation = leftHandTarget.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_48 = __this->___ik_17;
|
|
NullCheck(L_48);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_49 = L_48->___solver_11;
|
|
NullCheck(L_49);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_50;
|
|
L_50 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_49, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_51 = __this->___leftHandTarget_9;
|
|
NullCheck(L_51);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52;
|
|
L_52 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_51, NULL);
|
|
NullCheck(L_50);
|
|
L_50->___rotation_5 = L_52;
|
|
// Vector3 dir = ik.references.pelvis.rotation * pelvisDownAxis;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_53 = __this->___ik_17;
|
|
NullCheck(L_53);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_54 = L_53->___references_10;
|
|
NullCheck(L_54);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_55 = L_54->___pelvis_1;
|
|
NullCheck(L_55);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56;
|
|
L_56 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_55, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = __this->___pelvisDownAxis_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_56, L_57, NULL);
|
|
// Quaternion rightArmRot = Quaternion.FromToRotation(dir, rightHandTarget.position - headTarget.position);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59 = L_58;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_60 = __this->___rightHandTarget_10;
|
|
NullCheck(L_60);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
|
|
L_61 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_60, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_62 = __this->___headTarget_15;
|
|
NullCheck(L_62);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
|
|
L_63 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_62, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
|
|
L_64 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_61, L_63, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65;
|
|
L_65 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_59, L_64, NULL);
|
|
V_0 = L_65;
|
|
// ik.references.rightUpperArm.rotation = Quaternion.Lerp(Quaternion.identity, rightArmRot, weight) * ik.references.rightUpperArm.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_66 = __this->___ik_17;
|
|
NullCheck(L_66);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_67 = L_66->___references_10;
|
|
NullCheck(L_67);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_68 = L_67->___rightUpperArm_11;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_69;
|
|
L_69 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_70 = V_0;
|
|
float L_71 = __this->___weight_4;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_72;
|
|
L_72 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_69, L_70, L_71, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_73 = __this->___ik_17;
|
|
NullCheck(L_73);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_74 = L_73->___references_10;
|
|
NullCheck(L_74);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_75 = L_74->___rightUpperArm_11;
|
|
NullCheck(L_75);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_76;
|
|
L_76 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_75, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_77;
|
|
L_77 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_72, L_76, NULL);
|
|
NullCheck(L_68);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_68, L_77, NULL);
|
|
// Quaternion leftLegRot = Quaternion.FromToRotation(dir, leftFootTarget.position - bodyTarget.position);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = L_59;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_79 = __this->___leftFootTarget_11;
|
|
NullCheck(L_79);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
|
|
L_80 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_79, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_81 = __this->___bodyTarget_14;
|
|
NullCheck(L_81);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
|
|
L_82 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_81, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83;
|
|
L_83 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_80, L_82, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_84;
|
|
L_84 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_78, L_83, NULL);
|
|
V_1 = L_84;
|
|
// ik.references.leftThigh.rotation = Quaternion.Lerp(Quaternion.identity, leftLegRot, weight) * ik.references.leftThigh.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_85 = __this->___ik_17;
|
|
NullCheck(L_85);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_86 = L_85->___references_10;
|
|
NullCheck(L_86);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_87 = L_86->___leftThigh_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_88;
|
|
L_88 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_89 = V_1;
|
|
float L_90 = __this->___weight_4;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_91;
|
|
L_91 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_88, L_89, L_90, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_92 = __this->___ik_17;
|
|
NullCheck(L_92);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_93 = L_92->___references_10;
|
|
NullCheck(L_93);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_94 = L_93->___leftThigh_2;
|
|
NullCheck(L_94);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_95;
|
|
L_95 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_94, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_96;
|
|
L_96 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_91, L_95, NULL);
|
|
NullCheck(L_87);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_87, L_96, NULL);
|
|
// Quaternion rightLegRot = Quaternion.FromToRotation(dir, rightFootTarget.position - bodyTarget.position);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_97 = __this->___rightFootTarget_12;
|
|
NullCheck(L_97);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98;
|
|
L_98 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_97, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_99 = __this->___bodyTarget_14;
|
|
NullCheck(L_99);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100;
|
|
L_100 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_99, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101;
|
|
L_101 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_98, L_100, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_102;
|
|
L_102 = Quaternion_FromToRotation_mCB3100F93637E72455388B901C36EF8A25DFDB9A(L_78, L_101, NULL);
|
|
V_2 = L_102;
|
|
// ik.references.rightThigh.rotation = Quaternion.Lerp(Quaternion.identity, rightLegRot, weight) * ik.references.rightThigh.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_103 = __this->___ik_17;
|
|
NullCheck(L_103);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_104 = L_103->___references_10;
|
|
NullCheck(L_104);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_105 = L_104->___rightThigh_5;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_106;
|
|
L_106 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_107 = V_2;
|
|
float L_108 = __this->___weight_4;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_109;
|
|
L_109 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_106, L_107, L_108, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_110 = __this->___ik_17;
|
|
NullCheck(L_110);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_111 = L_110->___references_10;
|
|
NullCheck(L_111);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_112 = L_111->___rightThigh_5;
|
|
NullCheck(L_112);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_113;
|
|
L_113 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_112, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_114;
|
|
L_114 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_109, L_113, NULL);
|
|
NullCheck(L_105);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_105, L_114, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PendulumExample::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PendulumExample__ctor_mA4B7BDACE10CF0944111EC17FA6C4AAEB730BB94 (PendulumExample_t8EB41555C1BD4E5CF58203F94125972FC818050B* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// [Range(0f, 1f)] public float weight = 1f;
|
|
__this->___weight_4 = (1.0f);
|
|
// public float hangingDistanceMlp = 1.3f;
|
|
__this->___hangingDistanceMlp_5 = (1.29999995f);
|
|
// public Vector3 pelvisDownAxis = Vector3.right;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
|
|
__this->___pelvisDownAxis_16 = L_0;
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.PickUp2Handed::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUp2Handed_OnGUI_m086C28189CD6F4F07F20AC5E4D88E2E8AB66E5B4 (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral10A6CB6DDD01AB51AEB502A6C417942F5A3F1964);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDD50517361A6FBB36D470BF1FC1A25EFCE78364F);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE5BA4B48B0256F3AE41DDA5D688560BF9243E96A);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralED16EDC2D5C7D06442C9D1E147494C7BF4D5D513);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// GUILayout.BeginHorizontal();
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_0;
|
|
L_0 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
GUILayout_BeginHorizontal_m1BBD7EE29640BF48BED72DE582702809E6B22219(L_0, NULL);
|
|
// GUILayout.Space(GUIspace);
|
|
int32_t L_1 = __this->___GUIspace_4;
|
|
GUILayout_Space_m9254FBF173F9260DDB6C83C0066447FC9D9CA597(((float)L_1), NULL);
|
|
// if (!holding) {
|
|
bool L_2;
|
|
L_2 = PickUp2Handed_get_holding_m94A8E1CAB0B4FA81774944F890B1CD0837265486(__this, NULL);
|
|
if (L_2)
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
// if (GUILayout.Button("Pick Up " + obj.name)) {
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_3 = __this->___obj_6;
|
|
NullCheck(L_3);
|
|
String_t* L_4;
|
|
L_4 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_3, NULL);
|
|
String_t* L_5;
|
|
L_5 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteralED16EDC2D5C7D06442C9D1E147494C7BF4D5D513, L_4, NULL);
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_6;
|
|
L_6 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_7;
|
|
L_7 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(L_5, L_6, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_00f6;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.LeftHand, obj, false);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_8 = __this->___interactionSystem_5;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_9 = __this->___obj_6;
|
|
NullCheck(L_8);
|
|
bool L_10;
|
|
L_10 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_8, 5, L_9, (bool)0, NULL);
|
|
// interactionSystem.StartInteraction(FullBodyBipedEffector.RightHand, obj, false);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_11 = __this->___interactionSystem_5;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_12 = __this->___obj_6;
|
|
NullCheck(L_11);
|
|
bool L_13;
|
|
L_13 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_11, 6, L_12, (bool)0, NULL);
|
|
goto IL_00f6;
|
|
}
|
|
|
|
IL_006f:
|
|
{
|
|
// GUILayout.BeginVertical();
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_14;
|
|
L_14 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
GUILayout_BeginVertical_m1B2B474EF5A3CD257EC0474D17F78A149DC14D88(L_14, NULL);
|
|
// if (holdingRight)
|
|
bool L_15;
|
|
L_15 = PickUp2Handed_get_holdingRight_m793660C5BE036DB142A225D7E4A0181EC8AF984F(__this, NULL);
|
|
if (!L_15)
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
// if (GUILayout.Button("Release Right"))
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_16;
|
|
L_16 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_17;
|
|
L_17 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteralE5BA4B48B0256F3AE41DDA5D688560BF9243E96A, L_16, NULL);
|
|
if (!L_17)
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.ResumeInteraction(FullBodyBipedEffector.RightHand);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_18 = __this->___interactionSystem_5;
|
|
NullCheck(L_18);
|
|
bool L_19;
|
|
L_19 = InteractionSystem_ResumeInteraction_m1F41C3CBAE23F126894BE8EF7CF7CB2B395297CC(L_18, 6, NULL);
|
|
}
|
|
|
|
IL_009f:
|
|
{
|
|
// if (holdingLeft)
|
|
bool L_20;
|
|
L_20 = PickUp2Handed_get_holdingLeft_mB46B2F7633843CC9F9F0DB7D50C96B4D9657CFDE(__this, NULL);
|
|
if (!L_20)
|
|
{
|
|
goto IL_00c5;
|
|
}
|
|
}
|
|
{
|
|
// if (GUILayout.Button("Release Left"))
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_21;
|
|
L_21 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_22;
|
|
L_22 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteral10A6CB6DDD01AB51AEB502A6C417942F5A3F1964, L_21, NULL);
|
|
if (!L_22)
|
|
{
|
|
goto IL_00c5;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.ResumeInteraction(FullBodyBipedEffector.LeftHand);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_23 = __this->___interactionSystem_5;
|
|
NullCheck(L_23);
|
|
bool L_24;
|
|
L_24 = InteractionSystem_ResumeInteraction_m1F41C3CBAE23F126894BE8EF7CF7CB2B395297CC(L_23, 5, NULL);
|
|
}
|
|
|
|
IL_00c5:
|
|
{
|
|
// if (GUILayout.Button("Drop " + obj.name)) {
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_25 = __this->___obj_6;
|
|
NullCheck(L_25);
|
|
String_t* L_26;
|
|
L_26 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_25, NULL);
|
|
String_t* L_27;
|
|
L_27 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteralDD50517361A6FBB36D470BF1FC1A25EFCE78364F, L_26, NULL);
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_28;
|
|
L_28 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_29;
|
|
L_29 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(L_27, L_28, NULL);
|
|
if (!L_29)
|
|
{
|
|
goto IL_00f1;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.ResumeAll();
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_30 = __this->___interactionSystem_5;
|
|
NullCheck(L_30);
|
|
InteractionSystem_ResumeAll_m826BDB423151107A8CBD20960CBA64045FCDAC8D(L_30, NULL);
|
|
}
|
|
|
|
IL_00f1:
|
|
{
|
|
// GUILayout.EndVertical();
|
|
GUILayout_EndVertical_m2D981AC3EA3F7273CBFEE6C30C14DC90044AE87C(NULL);
|
|
}
|
|
|
|
IL_00f6:
|
|
{
|
|
// GUILayout.EndHorizontal();
|
|
GUILayout_EndHorizontal_m694C622FEE40FFF0DD77EFFD026F899C193507C0(NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PickUp2Handed::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUp2Handed_Start_mA8DC69CA5735F487322D5CADC5DD29051F9FB3AC (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PickUp2Handed_OnDrop_m2E017B739A09B494BF733D38D64A65F8A4389E98_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PickUp2Handed_OnPause_m3E4F7C72F201288C75AE65BCC975082D08F0BF0D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PickUp2Handed_OnStart_mF0DCCB74CDBCEE30611048D06E6585D077F7511C_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// interactionSystem.OnInteractionStart += OnStart;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_0 = __this->___interactionSystem_5;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_2 = L_1->___OnInteractionStart_15;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_3 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_3, __this, (intptr_t)((void*)PickUp2Handed_OnStart_mF0DCCB74CDBCEE30611048D06E6585D077F7511C_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_4;
|
|
L_4 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_2, L_3, NULL);
|
|
NullCheck(L_1);
|
|
L_1->___OnInteractionStart_15 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_4, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___OnInteractionStart_15), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_4, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// interactionSystem.OnInteractionPause += OnPause;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_5 = __this->___interactionSystem_5;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_6 = L_5;
|
|
NullCheck(L_6);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_7 = L_6->___OnInteractionPause_16;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_8 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_8);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_8, __this, (intptr_t)((void*)PickUp2Handed_OnPause_m3E4F7C72F201288C75AE65BCC975082D08F0BF0D_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_9;
|
|
L_9 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_7, L_8, NULL);
|
|
NullCheck(L_6);
|
|
L_6->___OnInteractionPause_16 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_9, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_6->___OnInteractionPause_16), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_9, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// interactionSystem.OnInteractionResume += OnDrop;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_10 = __this->___interactionSystem_5;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_11 = L_10;
|
|
NullCheck(L_11);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_12 = L_11->___OnInteractionResume_18;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_13 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_13);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_13, __this, (intptr_t)((void*)PickUp2Handed_OnDrop_m2E017B739A09B494BF733D38D64A65F8A4389E98_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_14;
|
|
L_14 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_12, L_13, NULL);
|
|
NullCheck(L_11);
|
|
L_11->___OnInteractionResume_18 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_14, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_11->___OnInteractionResume_18), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_14, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PickUp2Handed::OnPause(RootMotion.FinalIK.FullBodyBipedEffector,RootMotion.FinalIK.InteractionObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUp2Handed_OnPause_m3E4F7C72F201288C75AE65BCC975082D08F0BF0D (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, int32_t ___0_effectorType, InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___1_interactionObject, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* V_0 = NULL;
|
|
{
|
|
// if (effectorType != FullBodyBipedEffector.LeftHand) return;
|
|
int32_t L_0 = ___0_effectorType;
|
|
if ((((int32_t)L_0) == ((int32_t)5)))
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// if (effectorType != FullBodyBipedEffector.LeftHand) return;
|
|
return;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// if (interactionObject != obj) return;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_1 = ___1_interactionObject;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_2 = __this->___obj_6;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// if (interactionObject != obj) return;
|
|
return;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// obj.transform.parent = interactionSystem.transform;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_4 = __this->___obj_6;
|
|
NullCheck(L_4);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5;
|
|
L_5 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_4, NULL);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_6 = __this->___interactionSystem_5;
|
|
NullCheck(L_6);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7;
|
|
L_7 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_6, NULL);
|
|
NullCheck(L_5);
|
|
Transform_set_parent_m9BD5E563B539DD5BEC342736B03F97B38A243234(L_5, L_7, NULL);
|
|
// var r = obj.GetComponent<Rigidbody>();
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_8 = __this->___obj_6;
|
|
NullCheck(L_8);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_9;
|
|
L_9 = Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8(L_8, Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
V_0 = L_9;
|
|
// if (r != null) r.isKinematic = true;
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_10 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_11;
|
|
L_11 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_004b;
|
|
}
|
|
}
|
|
{
|
|
// if (r != null) r.isKinematic = true;
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_12 = V_0;
|
|
NullCheck(L_12);
|
|
Rigidbody_set_isKinematic_m6C3FD3EA358DADA3B191F2449CF1C4F8B22695ED(L_12, (bool)1, NULL);
|
|
}
|
|
|
|
IL_004b:
|
|
{
|
|
// pickUpPosition = obj.transform.position;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_13 = __this->___obj_6;
|
|
NullCheck(L_13);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14;
|
|
L_14 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_13, NULL);
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_14, NULL);
|
|
__this->___pickUpPosition_12 = L_15;
|
|
// pickUpRotation = obj.transform.rotation;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_16 = __this->___obj_6;
|
|
NullCheck(L_16);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17;
|
|
L_17 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_16, NULL);
|
|
NullCheck(L_17);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
|
|
L_18 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_17, NULL);
|
|
__this->___pickUpRotation_13 = L_18;
|
|
// holdWeight = 0f;
|
|
__this->___holdWeight_10 = (0.0f);
|
|
// holdWeightVel = 0f;
|
|
__this->___holdWeightVel_11 = (0.0f);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PickUp2Handed::OnStart(RootMotion.FinalIK.FullBodyBipedEffector,RootMotion.FinalIK.InteractionObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUp2Handed_OnStart_mF0DCCB74CDBCEE30611048D06E6585D077F7511C (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, int32_t ___0_effectorType, InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___1_interactionObject, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (effectorType != FullBodyBipedEffector.LeftHand) return;
|
|
int32_t L_0 = ___0_effectorType;
|
|
if ((((int32_t)L_0) == ((int32_t)5)))
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// if (effectorType != FullBodyBipedEffector.LeftHand) return;
|
|
return;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// if (interactionObject != obj) return;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_1 = ___1_interactionObject;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_2 = __this->___obj_6;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// if (interactionObject != obj) return;
|
|
return;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// RotatePivot();
|
|
VirtualActionInvoker0::Invoke(4 /* System.Void RootMotion.Demos.PickUp2Handed::RotatePivot() */, __this);
|
|
// holdPoint.rotation = obj.transform.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___holdPoint_8;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_5 = __this->___obj_6;
|
|
NullCheck(L_5);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
|
|
L_6 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_5, NULL);
|
|
NullCheck(L_6);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_6, NULL);
|
|
NullCheck(L_4);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_4, L_7, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PickUp2Handed::OnDrop(RootMotion.FinalIK.FullBodyBipedEffector,RootMotion.FinalIK.InteractionObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUp2Handed_OnDrop_m2E017B739A09B494BF733D38D64A65F8A4389E98 (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, int32_t ___0_effectorType, InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___1_interactionObject, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (holding) return;
|
|
bool L_0;
|
|
L_0 = PickUp2Handed_get_holding_m94A8E1CAB0B4FA81774944F890B1CD0837265486(__this, NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (holding) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (interactionObject != obj) return;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_1 = ___1_interactionObject;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_2 = __this->___obj_6;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// if (interactionObject != obj) return;
|
|
return;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// obj.transform.parent = null;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_4 = __this->___obj_6;
|
|
NullCheck(L_4);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5;
|
|
L_5 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_4, NULL);
|
|
NullCheck(L_5);
|
|
Transform_set_parent_m9BD5E563B539DD5BEC342736B03F97B38A243234(L_5, (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL, NULL);
|
|
// if (obj.GetComponent<Rigidbody>() != null) obj.GetComponent<Rigidbody>().isKinematic = false;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_6 = __this->___obj_6;
|
|
NullCheck(L_6);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_7;
|
|
L_7 = Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8(L_6, Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_8;
|
|
L_8 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_8)
|
|
{
|
|
goto IL_004d;
|
|
}
|
|
}
|
|
{
|
|
// if (obj.GetComponent<Rigidbody>() != null) obj.GetComponent<Rigidbody>().isKinematic = false;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_9 = __this->___obj_6;
|
|
NullCheck(L_9);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_10;
|
|
L_10 = Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8(L_9, Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
NullCheck(L_10);
|
|
Rigidbody_set_isKinematic_m6C3FD3EA358DADA3B191F2449CF1C4F8B22695ED(L_10, (bool)0, NULL);
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PickUp2Handed::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUp2Handed_LateUpdate_mFF19AA76F826267D7669F7E7C872E1E0676C4608 (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (holding) {
|
|
bool L_0;
|
|
L_0 = PickUp2Handed_get_holding_m94A8E1CAB0B4FA81774944F890B1CD0837265486(__this, NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_0082;
|
|
}
|
|
}
|
|
{
|
|
// holdWeight = Mathf.SmoothDamp(holdWeight, 1f, ref holdWeightVel, pickUpTime);
|
|
float L_1 = __this->___holdWeight_10;
|
|
float* L_2 = (&__this->___holdWeightVel_11);
|
|
float L_3 = __this->___pickUpTime_9;
|
|
float L_4;
|
|
L_4 = Mathf_SmoothDamp_m3A255A356924421B4042AAD1623EF46F92A08C91_inline(L_1, (1.0f), L_2, L_3, NULL);
|
|
__this->___holdWeight_10 = L_4;
|
|
// obj.transform.position = Vector3.Lerp(pickUpPosition, holdPoint.position, holdWeight);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_5 = __this->___obj_6;
|
|
NullCheck(L_5);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
|
|
L_6 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_5, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = __this->___pickUpPosition_12;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = __this->___holdPoint_8;
|
|
NullCheck(L_8);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_8, NULL);
|
|
float L_10 = __this->___holdWeight_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_7, L_9, L_10, NULL);
|
|
NullCheck(L_6);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_6, L_11, NULL);
|
|
// obj.transform.rotation = Quaternion.Lerp(pickUpRotation, holdPoint.rotation, holdWeight);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_12 = __this->___obj_6;
|
|
NullCheck(L_12);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13;
|
|
L_13 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_12, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = __this->___pickUpRotation_13;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = __this->___holdPoint_8;
|
|
NullCheck(L_15);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
|
|
L_16 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_15, NULL);
|
|
float L_17 = __this->___holdWeight_10;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
|
|
L_18 = Quaternion_Lerp_m259606226726C2F46E079A5A688B9E24FF7E9A0D(L_14, L_16, L_17, NULL);
|
|
NullCheck(L_13);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_13, L_18, NULL);
|
|
}
|
|
|
|
IL_0082:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RootMotion.Demos.PickUp2Handed::get_holding()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PickUp2Handed_get_holding_m94A8E1CAB0B4FA81774944F890B1CD0837265486 (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return holdingLeft || holdingRight;
|
|
bool L_0;
|
|
L_0 = PickUp2Handed_get_holdingLeft_mB46B2F7633843CC9F9F0DB7D50C96B4D9657CFDE(__this, NULL);
|
|
if (L_0)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
bool L_1;
|
|
L_1 = PickUp2Handed_get_holdingRight_m793660C5BE036DB142A225D7E4A0181EC8AF984F(__this, NULL);
|
|
return L_1;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean RootMotion.Demos.PickUp2Handed::get_holdingLeft()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PickUp2Handed_get_holdingLeft_mB46B2F7633843CC9F9F0DB7D50C96B4D9657CFDE (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return interactionSystem.IsPaused(FullBodyBipedEffector.LeftHand) && interactionSystem.GetInteractionObject(FullBodyBipedEffector.LeftHand) == obj;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_0 = __this->___interactionSystem_5;
|
|
NullCheck(L_0);
|
|
bool L_1;
|
|
L_1 = InteractionSystem_IsPaused_mEDE73455724EB8888893ABB3BCF80CE91A8371B5(L_0, 5, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_2 = __this->___interactionSystem_5;
|
|
NullCheck(L_2);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_3;
|
|
L_3 = InteractionSystem_GetInteractionObject_m6F2C18E761E07EB41775B88EA3030EB5EB461267(L_2, 5, NULL);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_4 = __this->___obj_6;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_5;
|
|
L_5 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_3, L_4, NULL);
|
|
return L_5;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean RootMotion.Demos.PickUp2Handed::get_holdingRight()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PickUp2Handed_get_holdingRight_m793660C5BE036DB142A225D7E4A0181EC8AF984F (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return interactionSystem.IsPaused(FullBodyBipedEffector.RightHand) && interactionSystem.GetInteractionObject(FullBodyBipedEffector.RightHand) == obj;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_0 = __this->___interactionSystem_5;
|
|
NullCheck(L_0);
|
|
bool L_1;
|
|
L_1 = InteractionSystem_IsPaused_mEDE73455724EB8888893ABB3BCF80CE91A8371B5(L_0, 6, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_2 = __this->___interactionSystem_5;
|
|
NullCheck(L_2);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_3;
|
|
L_3 = InteractionSystem_GetInteractionObject_m6F2C18E761E07EB41775B88EA3030EB5EB461267(L_2, 6, NULL);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_4 = __this->___obj_6;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_5;
|
|
L_5 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_3, L_4, NULL);
|
|
return L_5;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PickUp2Handed::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUp2Handed_OnDestroy_mCFEA6FFC60DEF3827E761747E39E23D12DF656EE (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PickUp2Handed_OnDrop_m2E017B739A09B494BF733D38D64A65F8A4389E98_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PickUp2Handed_OnPause_m3E4F7C72F201288C75AE65BCC975082D08F0BF0D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PickUp2Handed_OnStart_mF0DCCB74CDBCEE30611048D06E6585D077F7511C_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (interactionSystem == null) return;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_0 = __this->___interactionSystem_5;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (interactionSystem == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// interactionSystem.OnInteractionStart -= OnStart;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_2 = __this->___interactionSystem_5;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_3 = L_2;
|
|
NullCheck(L_3);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_4 = L_3->___OnInteractionStart_15;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_5 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_5, __this, (intptr_t)((void*)PickUp2Handed_OnStart_mF0DCCB74CDBCEE30611048D06E6585D077F7511C_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_6;
|
|
L_6 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_4, L_5, NULL);
|
|
NullCheck(L_3);
|
|
L_3->___OnInteractionStart_15 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_6, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_3->___OnInteractionStart_15), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_6, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// interactionSystem.OnInteractionPause -= OnPause;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_7 = __this->___interactionSystem_5;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_8 = L_7;
|
|
NullCheck(L_8);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_9 = L_8->___OnInteractionPause_16;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_10 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_10);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_10, __this, (intptr_t)((void*)PickUp2Handed_OnPause_m3E4F7C72F201288C75AE65BCC975082D08F0BF0D_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_11;
|
|
L_11 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_9, L_10, NULL);
|
|
NullCheck(L_8);
|
|
L_8->___OnInteractionPause_16 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_11, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_8->___OnInteractionPause_16), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_11, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// interactionSystem.OnInteractionResume -= OnDrop;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_12 = __this->___interactionSystem_5;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_13 = L_12;
|
|
NullCheck(L_13);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_14 = L_13->___OnInteractionResume_18;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_15 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_15);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_15, __this, (intptr_t)((void*)PickUp2Handed_OnDrop_m2E017B739A09B494BF733D38D64A65F8A4389E98_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_16;
|
|
L_16 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_14, L_15, NULL);
|
|
NullCheck(L_13);
|
|
L_13->___OnInteractionResume_18 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_16, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_13->___OnInteractionResume_18), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_16, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PickUp2Handed::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUp2Handed__ctor_mFF65BE79D975FF8B6C0F7CF13E048609B6267697 (PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float pickUpTime = 0.3f; // Maximum lerp speed of the object. Decrease this value to give the object more weight
|
|
__this->___pickUpTime_9 = (0.300000012f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.PickUpBox::RotatePivot()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUpBox_RotatePivot_m3F78120E7CE897234CD18CF84AADFB935C9982D2 (PickUpBox_t1F95B66E0F383CDA69FB5956DD869CE3A17F2BBD* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
{
|
|
// Vector3 characterDirection = (pivot.position - interactionSystem.transform.position).normalized;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = ((PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C*)__this)->___pivot_7;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_0, NULL);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_2 = ((PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C*)__this)->___interactionSystem_5;
|
|
NullCheck(L_2);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3;
|
|
L_3 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_2, NULL);
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_3, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_1, L_4, NULL);
|
|
V_3 = L_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_3), NULL);
|
|
V_0 = L_6;
|
|
// characterDirection.y = 0f;
|
|
(&V_0)->___y_3 = (0.0f);
|
|
// Vector3 characterDirectionLocal = obj.transform.InverseTransformDirection(characterDirection);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_7 = ((PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C*)__this)->___obj_6;
|
|
NullCheck(L_7);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8;
|
|
L_8 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_7, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = V_0;
|
|
NullCheck(L_8);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Transform_InverseTransformDirection_m69C077B881A98B08C7F231EFC49429C906FBC575(L_8, L_9, NULL);
|
|
// Vector3 axis = QuaTools.GetAxis(characterDirectionLocal);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = QuaTools_GetAxis_m0ADF359B16933E2943269A5BED42F6D5699587C2(L_10, NULL);
|
|
V_1 = L_11;
|
|
// Vector3 upAxis = QuaTools.GetAxis(obj.transform.InverseTransformDirection(interactionSystem.transform.up));
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_12 = ((PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C*)__this)->___obj_6;
|
|
NullCheck(L_12);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_13;
|
|
L_13 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_12, NULL);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_14 = ((PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C*)__this)->___interactionSystem_5;
|
|
NullCheck(L_14);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15;
|
|
L_15 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_14, NULL);
|
|
NullCheck(L_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_15, NULL);
|
|
NullCheck(L_13);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Transform_InverseTransformDirection_m69C077B881A98B08C7F231EFC49429C906FBC575(L_13, L_16, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = QuaTools_GetAxis_m0ADF359B16933E2943269A5BED42F6D5699587C2(L_17, NULL);
|
|
V_2 = L_18;
|
|
// pivot.localRotation = Quaternion.LookRotation(axis, upAxis);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = ((PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C*)__this)->___pivot_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = V_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
|
|
L_22 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_20, L_21, NULL);
|
|
NullCheck(L_19);
|
|
Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA(L_19, L_22, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PickUpBox::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUpBox__ctor_mA6ABE763B72696635BBBD70F4CEFC5F18D61FBF9 (PickUpBox_t1F95B66E0F383CDA69FB5956DD869CE3A17F2BBD* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
PickUp2Handed__ctor_mFF65BE79D975FF8B6C0F7CF13E048609B6267697(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.PickUpSphere::RotatePivot()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUpSphere_RotatePivot_mF88B7687BFDB75AB60977A171AC70979E860E606 (PickUpSphere_t1156B1E114160E0BE24296FCAC02DD10D834103A* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// Vector3 handsCenter = Vector3.Lerp(interactionSystem.ik.solver.leftHandEffector.bone.position, interactionSystem.ik.solver.rightHandEffector.bone.position, 0.5f);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_0 = ((PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C*)__this)->___interactionSystem_5;
|
|
NullCheck(L_0);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_1;
|
|
L_1 = InteractionSystem_get_ik_m82A1FABCA49ED47E63901B9258EBAB49BE95EFD8_inline(L_0, NULL);
|
|
NullCheck(L_1);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_2 = L_1->___solver_11;
|
|
NullCheck(L_2);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_3;
|
|
L_3 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_2, NULL);
|
|
NullCheck(L_3);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = L_3->___bone_0;
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_4, NULL);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_6 = ((PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C*)__this)->___interactionSystem_5;
|
|
NullCheck(L_6);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_7;
|
|
L_7 = InteractionSystem_get_ik_m82A1FABCA49ED47E63901B9258EBAB49BE95EFD8_inline(L_6, NULL);
|
|
NullCheck(L_7);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_8 = L_7->___solver_11;
|
|
NullCheck(L_8);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_9;
|
|
L_9 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_8, NULL);
|
|
NullCheck(L_9);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = L_9->___bone_0;
|
|
NullCheck(L_10);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_10, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_5, L_11, (0.5f), NULL);
|
|
V_0 = L_12;
|
|
// Vector3 dir = obj.transform.position - handsCenter;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_13 = ((PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C*)__this)->___obj_6;
|
|
NullCheck(L_13);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14;
|
|
L_14 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_13, NULL);
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_14, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_15, L_16, NULL);
|
|
V_1 = L_17;
|
|
// pivot.rotation = Quaternion.LookRotation(dir);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = ((PickUp2Handed_tFD396CEFC2C80C8F6A777A470033C817DF89E87C*)__this)->___pivot_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20;
|
|
L_20 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_19, NULL);
|
|
NullCheck(L_18);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_18, L_20, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PickUpSphere::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PickUpSphere__ctor_m69301BEE4BBEC4437605723CDFC467C8BD18E9E0 (PickUpSphere_t1156B1E114160E0BE24296FCAC02DD10D834103A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
PickUp2Handed__ctor_mFF65BE79D975FF8B6C0F7CF13E048609B6267697(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.RagdollUtilityDemo::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RagdollUtilityDemo_OnGUI_m36A7BFEEF5B71D9880955898E0E38CC3B5A0CB13 (RagdollUtilityDemo_t817A76B0E6C564ECCAD44A7802E65E773430A56D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB01FF696B87C164310EAEBF70491B47261EEA837);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// GUILayout.Label(" Press R to switch to ragdoll. " +
|
|
// "\n Weigh in one of the FBBIK effectors to make kinematic changes to the ragdoll pose." +
|
|
// "\n A to blend back to animation");
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_0;
|
|
L_0 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
GUILayout_Label_m1709C16A433383CCFC1FEA0E585E14CBD78CD94B(_stringLiteralB01FF696B87C164310EAEBF70491B47261EEA837, L_0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.RagdollUtilityDemo::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RagdollUtilityDemo_Update_m4C6E2952809515D80216E5ED82F1F0ECFB6DE27B (RagdollUtilityDemo_t817A76B0E6C564ECCAD44A7802E65E773430A56D* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// if (Input.GetKeyDown(KeyCode.R)) ragdollUtility.EnableRagdoll();
|
|
bool L_0;
|
|
L_0 = Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2(((int32_t)114), NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// if (Input.GetKeyDown(KeyCode.R)) ragdollUtility.EnableRagdoll();
|
|
RagdollUtility_t8C17408AF12ADC7F3A7332141C92F3F2B88D994A* L_1 = __this->___ragdollUtility_4;
|
|
NullCheck(L_1);
|
|
RagdollUtility_EnableRagdoll_m98D4B0D069391E6E531960897462EDCFB71FC721(L_1, NULL);
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// if (Input.GetKeyDown(KeyCode.A)) {
|
|
bool L_2;
|
|
L_2 = Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2(((int32_t)97), NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0077;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 toPelvis = pelvis.position - root.position;
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_3 = __this->___pelvis_6;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Rigidbody_get_position_m4ECB79BDBBF8FD1EA572EDB792D3330DDED24691(L_3, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = __this->___root_5;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_4, L_6, NULL);
|
|
V_0 = L_7;
|
|
// root.position += toPelvis;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = __this->___root_5;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9 = L_8;
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_10, L_11, NULL);
|
|
NullCheck(L_9);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_9, L_12, NULL);
|
|
// pelvis.transform.position -= toPelvis;
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_13 = __this->___pelvis_6;
|
|
NullCheck(L_13);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14;
|
|
L_14 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_13, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = L_14;
|
|
NullCheck(L_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_15, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_16, L_17, NULL);
|
|
NullCheck(L_15);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_15, L_18, NULL);
|
|
// ragdollUtility.DisableRagdoll();
|
|
RagdollUtility_t8C17408AF12ADC7F3A7332141C92F3F2B88D994A* L_19 = __this->___ragdollUtility_4;
|
|
NullCheck(L_19);
|
|
RagdollUtility_DisableRagdoll_mF117AEE39A0860BB61552DD90AFAA746D6E487FB(L_19, NULL);
|
|
}
|
|
|
|
IL_0077:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.RagdollUtilityDemo::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RagdollUtilityDemo__ctor_mA12B3A3852AE359F6C02A558FC82AA041A7BD9A1 (RagdollUtilityDemo_t817A76B0E6C564ECCAD44A7802E65E773430A56D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.RecoilTest::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecoilTest_Start_m7F92AACF0A1A38B29E2E2DD92C863243E2599C86 (RecoilTest_t839FBDF4069A23F482DCFC45105A2DCE4B6EA10F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRecoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE_m07F19F290BD00442E59F6BBA365D1E99EA2915C1_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// recoil = GetComponent<Recoil>();
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_0;
|
|
L_0 = Component_GetComponent_TisRecoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE_m07F19F290BD00442E59F6BBA365D1E99EA2915C1(__this, Component_GetComponent_TisRecoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE_m07F19F290BD00442E59F6BBA365D1E99EA2915C1_RuntimeMethod_var);
|
|
__this->___recoil_5 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___recoil_5), (void*)L_0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.RecoilTest::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecoilTest_Update_mF22122E64024B5D5FFBE3D94635390D8B139125F (RecoilTest_t839FBDF4069A23F482DCFC45105A2DCE4B6EA10F* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (Input.GetKeyDown(KeyCode.R) || Input.GetMouseButtonDown(0)) recoil.Fire(magnitude);
|
|
bool L_0;
|
|
L_0 = Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2(((int32_t)114), NULL);
|
|
if (L_0)
|
|
{
|
|
goto IL_0011;
|
|
}
|
|
}
|
|
{
|
|
bool L_1;
|
|
L_1 = Input_GetMouseButtonDown_m8DFC792D15FFF15D311614D5CC6C5D055E5A1DE3(0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
// if (Input.GetKeyDown(KeyCode.R) || Input.GetMouseButtonDown(0)) recoil.Fire(magnitude);
|
|
Recoil_t8FB087B8712A9F8B4BC40916254DB16E5F744CDE* L_2 = __this->___recoil_5;
|
|
float L_3 = __this->___magnitude_4;
|
|
NullCheck(L_2);
|
|
Recoil_Fire_m588D5E3702D883B463E8129DB2E2085AACAA901D(L_2, L_3, NULL);
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.RecoilTest::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecoilTest_OnGUI_mA4B70C98A81EC06850241730F170D6CC644928A6 (RecoilTest_t839FBDF4069A23F482DCFC45105A2DCE4B6EA10F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral871605CCF8E01BFB7E3E6A589A6B1B84D1FF258A);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// GUILayout.Label("Press R or LMB for procedural recoil.");
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_0;
|
|
L_0 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
GUILayout_Label_m1709C16A433383CCFC1FEA0E585E14CBD78CD94B(_stringLiteral871605CCF8E01BFB7E3E6A589A6B1B84D1FF258A, L_0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.RecoilTest::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecoilTest__ctor_mD2EE07388C0CC8AC74EC88A077D0B1631CEE60F8 (RecoilTest_t839FBDF4069A23F482DCFC45105A2DCE4B6EA10F* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float magnitude = 1f;
|
|
__this->___magnitude_4 = (1.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.ResetInteractionObject::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ResetInteractionObject_Start_mC3243C8363134CE3D37EF030022F207FDF60D303 (ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// defaultPosition = transform.position;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
|
|
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_0, NULL);
|
|
__this->___defaultPosition_5 = L_1;
|
|
// defaultRotation = transform.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2;
|
|
L_2 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_2);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
|
|
L_3 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_2, NULL);
|
|
__this->___defaultRotation_6 = L_3;
|
|
// defaultParent = transform.parent;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4;
|
|
L_4 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_4);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5;
|
|
L_5 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_4, NULL);
|
|
__this->___defaultParent_7 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___defaultParent_7), (void*)L_5);
|
|
// r = GetComponent<Rigidbody>();
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_6;
|
|
L_6 = Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8(__this, Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
__this->___r_8 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___r_8), (void*)L_6);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.ResetInteractionObject::OnPickUp(UnityEngine.Transform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ResetInteractionObject_OnPickUp_m9AC37A4DF84B4AA495DE8A832F279D1AFF292A74 (ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_t, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (!enabled) return;
|
|
bool L_0;
|
|
L_0 = Behaviour_get_enabled_mAAC9F15E9EBF552217A5AE2681589CC0BFA300C1(__this, NULL);
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (!enabled) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// StopAllCoroutines();
|
|
MonoBehaviour_StopAllCoroutines_m872033451D42013A99867D09337490017E9ED318(__this, NULL);
|
|
// StartCoroutine(ResetObject(Time.time + resetDelay));
|
|
float L_1;
|
|
L_1 = Time_get_time_m3A271BB1B20041144AC5B7863B71AB1F0150374B(NULL);
|
|
float L_2 = __this->___resetDelay_4;
|
|
RuntimeObject* L_3;
|
|
L_3 = ResetInteractionObject_ResetObject_mE3EAF4DFED1976BB1D3D5F37DDE3F0C539823EFF(__this, ((float)il2cpp_codegen_add(L_1, L_2)), NULL);
|
|
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B* L_4;
|
|
L_4 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_3, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator RootMotion.Demos.ResetInteractionObject::ResetObject(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ResetInteractionObject_ResetObject_mE3EAF4DFED1976BB1D3D5F37DDE3F0C539823EFF (ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* __this, float ___0_resetTime, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439* L_0 = (U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439*)il2cpp_codegen_object_new(U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CResetObjectU3Ed__7__ctor_m0AE05A35287FBD8E277DC1C0EE4423F167BFC505(L_0, 0, NULL);
|
|
U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E4__this_3 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_3), (void*)__this);
|
|
U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439* L_2 = L_1;
|
|
float L_3 = ___0_resetTime;
|
|
NullCheck(L_2);
|
|
L_2->___resetTime_2 = L_3;
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.ResetInteractionObject::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ResetInteractionObject__ctor_m30933D11F13F4638C0305D8B147C66054A9730CD (ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float resetDelay = 1f; // Time since interaction trigger to reset this Transform
|
|
__this->___resetDelay_4 = (1.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CResetObjectU3Ed__7__ctor_m0AE05A35287FBD8E277DC1C0EE4423F167BFC505 (U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
int32_t L_0 = ___0_U3CU3E1__state;
|
|
__this->___U3CU3E1__state_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CResetObjectU3Ed__7_System_IDisposable_Dispose_m2419CC2B56A7F365704035E5F3D4105B1905DC84 (U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CResetObjectU3Ed__7_MoveNext_m9985E6695838DE51646B29FBA0C3AC91F8199B3B (U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisPoser_tDF8B767BC6593233BEED1C025429B0FD41B97B50_m1EB031B4E9450742E7A35BC9E04E59E38A08234E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* V_1 = NULL;
|
|
Poser_tDF8B767BC6593233BEED1C025429B0FD41B97B50* V_2 = NULL;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* L_1 = __this->___U3CU3E4__this_3;
|
|
V_1 = L_1;
|
|
int32_t L_2 = V_0;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_3 = V_0;
|
|
if ((((int32_t)L_3) == ((int32_t)1)))
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
goto IL_0037;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// while (Time.time < resetTime) yield return null;
|
|
__this->___U3CU3E2__current_1 = NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
// while (Time.time < resetTime) yield return null;
|
|
float L_4;
|
|
L_4 = Time_get_time_m3A271BB1B20041144AC5B7863B71AB1F0150374B(NULL);
|
|
float L_5 = __this->___resetTime_2;
|
|
if ((((float)L_4) < ((float)L_5)))
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
// var poser = transform.parent.GetComponent<Poser>();
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* L_6 = V_1;
|
|
NullCheck(L_6);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7;
|
|
L_7 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_6, NULL);
|
|
NullCheck(L_7);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8;
|
|
L_8 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_7, NULL);
|
|
NullCheck(L_8);
|
|
Poser_tDF8B767BC6593233BEED1C025429B0FD41B97B50* L_9;
|
|
L_9 = Component_GetComponent_TisPoser_tDF8B767BC6593233BEED1C025429B0FD41B97B50_m1EB031B4E9450742E7A35BC9E04E59E38A08234E(L_8, Component_GetComponent_TisPoser_tDF8B767BC6593233BEED1C025429B0FD41B97B50_m1EB031B4E9450742E7A35BC9E04E59E38A08234E_RuntimeMethod_var);
|
|
V_2 = L_9;
|
|
// if (poser != null) {
|
|
Poser_tDF8B767BC6593233BEED1C025429B0FD41B97B50* L_10 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_11;
|
|
L_11 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_0070;
|
|
}
|
|
}
|
|
{
|
|
// poser.poseRoot = null;
|
|
Poser_tDF8B767BC6593233BEED1C025429B0FD41B97B50* L_12 = V_2;
|
|
NullCheck(L_12);
|
|
L_12->___poseRoot_10 = (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_12->___poseRoot_10), (void*)(Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL);
|
|
// poser.weight = 0f;
|
|
Poser_tDF8B767BC6593233BEED1C025429B0FD41B97B50* L_13 = V_2;
|
|
NullCheck(L_13);
|
|
L_13->___weight_11 = (0.0f);
|
|
}
|
|
|
|
IL_0070:
|
|
{
|
|
// transform.parent = defaultParent;
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* L_14 = V_1;
|
|
NullCheck(L_14);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15;
|
|
L_15 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_14, NULL);
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* L_16 = V_1;
|
|
NullCheck(L_16);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = L_16->___defaultParent_7;
|
|
NullCheck(L_15);
|
|
Transform_set_parent_m9BD5E563B539DD5BEC342736B03F97B38A243234(L_15, L_17, NULL);
|
|
// transform.position = defaultPosition;
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* L_18 = V_1;
|
|
NullCheck(L_18);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19;
|
|
L_19 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_18, NULL);
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* L_20 = V_1;
|
|
NullCheck(L_20);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = L_20->___defaultPosition_5;
|
|
NullCheck(L_19);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_19, L_21, NULL);
|
|
// transform.rotation = defaultRotation;
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* L_22 = V_1;
|
|
NullCheck(L_22);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_23;
|
|
L_23 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_22, NULL);
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* L_24 = V_1;
|
|
NullCheck(L_24);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25 = L_24->___defaultRotation_6;
|
|
NullCheck(L_23);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_23, L_25, NULL);
|
|
// if (r != null) r.isKinematic = false;
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* L_26 = V_1;
|
|
NullCheck(L_26);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_27 = L_26->___r_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_28;
|
|
L_28 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_27, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_28)
|
|
{
|
|
goto IL_00bd;
|
|
}
|
|
}
|
|
{
|
|
// if (r != null) r.isKinematic = false;
|
|
ResetInteractionObject_t90E1DBC49F01C253FB3373C93E3100BD82487B47* L_29 = V_1;
|
|
NullCheck(L_29);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_30 = L_29->___r_8;
|
|
NullCheck(L_30);
|
|
Rigidbody_set_isKinematic_m6C3FD3EA358DADA3B191F2449CF1C4F8B22695ED(L_30, (bool)0, NULL);
|
|
}
|
|
|
|
IL_00bd:
|
|
{
|
|
// }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Object RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CResetObjectU3Ed__7_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m8824E2321FCC3A7AA7CD5F3F453358998452067F (U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CResetObjectU3Ed__7_System_Collections_IEnumerator_Reset_m683F5DDF5D2F561960B255157E1813E63AF96594 (U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_0);
|
|
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CResetObjectU3Ed__7_System_Collections_IEnumerator_Reset_m683F5DDF5D2F561960B255157E1813E63AF96594_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object RootMotion.Demos.ResetInteractionObject/<ResetObject>d__7::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CResetObjectU3Ed__7_System_Collections_IEnumerator_get_Current_m8147EACE6F38464EB84E95FCA31AF32046B76D8C (U3CResetObjectU3Ed__7_t45091A27B20B80A69571F9B6C03717B39672E439* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.SoccerDemo::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SoccerDemo_Start_m0F2CE32872E9DBDA34285D60E1AEE6ACC4C8880F (SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// animator = GetComponent<Animator>();
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_0;
|
|
L_0 = Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE(__this, Component_GetComponent_TisAnimator_t8A52E42AE54F76681838FE9E632683EF3952E883_m1C9FCB4BBE56BEC6BDEF6E4BA1E5DFF91614D7CE_RuntimeMethod_var);
|
|
__this->___animator_4 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___animator_4), (void*)L_0);
|
|
// defaultPosition = transform.position;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1;
|
|
L_1 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_1, NULL);
|
|
__this->___defaultPosition_5 = L_2;
|
|
// defaultRotation = transform.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3;
|
|
L_3 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_3);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
|
|
L_4 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_3, NULL);
|
|
__this->___defaultRotation_6 = L_4;
|
|
// StartCoroutine(ResetDelayed());
|
|
RuntimeObject* L_5;
|
|
L_5 = SoccerDemo_ResetDelayed_m6C3DCEB9196B0F20C971841481D2015B7AE7E748(__this, NULL);
|
|
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B* L_6;
|
|
L_6 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_5, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator RootMotion.Demos.SoccerDemo::ResetDelayed()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* SoccerDemo_ResetDelayed_m6C3DCEB9196B0F20C971841481D2015B7AE7E748 (SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25* L_0 = (U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25*)il2cpp_codegen_object_new(U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CResetDelayedU3Ed__4__ctor_mA29A27DB32A8987E33A8ECB54C49B7F9296A50B5(L_0, 0, NULL);
|
|
U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E4__this_2 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.SoccerDemo::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SoccerDemo__ctor_mD23FC317F567E4DD3417CE8B97ED713D33ED91B9 (SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CResetDelayedU3Ed__4__ctor_mA29A27DB32A8987E33A8ECB54C49B7F9296A50B5 (U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
int32_t L_0 = ___0_U3CU3E1__state;
|
|
__this->___U3CU3E1__state_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CResetDelayedU3Ed__4_System_IDisposable_Dispose_m9BC3C1BC42AB498EC12AD398901293833687E37B (U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CResetDelayedU3Ed__4_MoveNext_mA466324061E53F1382C46A4BEC172F98B2AC1F31 (U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral03CD5361DDC7B2ECF6222BAA5A64F7ADD074F839);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* V_1 = NULL;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* L_1 = __this->___U3CU3E4__this_2;
|
|
V_1 = L_1;
|
|
int32_t L_2 = V_0;
|
|
switch (L_2)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0096;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// yield return new WaitForSeconds(3f);
|
|
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3* L_3 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3*)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_3, (3.0f), NULL);
|
|
__this->___U3CU3E2__current_1 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_3);
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// transform.position = defaultPosition;
|
|
SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* L_4 = V_1;
|
|
NullCheck(L_4);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5;
|
|
L_5 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_4, NULL);
|
|
SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* L_6 = V_1;
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = L_6->___defaultPosition_5;
|
|
NullCheck(L_5);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_5, L_7, NULL);
|
|
// transform.rotation = defaultRotation;
|
|
SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* L_8 = V_1;
|
|
NullCheck(L_8);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9;
|
|
L_9 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_8, NULL);
|
|
SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* L_10 = V_1;
|
|
NullCheck(L_10);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11 = L_10->___defaultRotation_6;
|
|
NullCheck(L_9);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_9, L_11, NULL);
|
|
// animator.CrossFade("SoccerKick", 0f, 0, 0f);
|
|
SoccerDemo_tECD41C0AC0A6103E2D54AE1C3FD58CD20AD8DA28* L_12 = V_1;
|
|
NullCheck(L_12);
|
|
Animator_t8A52E42AE54F76681838FE9E632683EF3952E883* L_13 = L_12->___animator_4;
|
|
NullCheck(L_13);
|
|
Animator_CrossFade_m2D91D6C458B15B186365EED0C13A178342789084(L_13, _stringLiteral03CD5361DDC7B2ECF6222BAA5A64F7ADD074F839, (0.0f), 0, (0.0f), NULL);
|
|
// yield return null;
|
|
__this->___U3CU3E2__current_1 = NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 2;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0096:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// while (true) {
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
// System.Object RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CResetDelayedU3Ed__4_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_mEA7CE2D16D203B67D1470CE93B8D30DEA764F08B (U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CResetDelayedU3Ed__4_System_Collections_IEnumerator_Reset_m9B55594969968F4D6B39E3B1F6A6BC4DFAAFEEAC (U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_0);
|
|
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CResetDelayedU3Ed__4_System_Collections_IEnumerator_Reset_m9B55594969968F4D6B39E3B1F6A6BC4DFAAFEEAC_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CResetDelayedU3Ed__4_System_Collections_IEnumerator_get_Current_m08A1B85671FA02E7B42B6C5A415D7C8547125AA3 (U3CResetDelayedU3Ed__4_t4D95D80AB29701501FD51AA90DCD4553786EEC25* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.TouchWalls::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TouchWalls_Start_m85733DDD6FC376589D9685571D6BB2CD451A2C85 (TouchWalls_t5AE19654EB9298BC7C4D58EB5761356F2BA30C43* __this, const RuntimeMethod* method)
|
|
{
|
|
EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// foreach (EffectorLink e in effectorLinks) e.Initiate(interactionSystem);
|
|
EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3* L_0 = __this->___effectorLinks_5;
|
|
V_0 = L_0;
|
|
V_1 = 0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// foreach (EffectorLink e in effectorLinks) e.Initiate(interactionSystem);
|
|
EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3* L_1 = V_0;
|
|
int32_t L_2 = V_1;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
// foreach (EffectorLink e in effectorLinks) e.Initiate(interactionSystem);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_5 = __this->___interactionSystem_4;
|
|
NullCheck(L_4);
|
|
EffectorLink_Initiate_m208D5B226820EBE51F47F2C4A432FE85DE11078A(L_4, L_5, NULL);
|
|
int32_t L_6 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// foreach (EffectorLink e in effectorLinks) e.Initiate(interactionSystem);
|
|
int32_t L_7 = V_1;
|
|
EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3* L_8 = V_0;
|
|
NullCheck(L_8);
|
|
if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TouchWalls::FixedUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TouchWalls_FixedUpdate_mFBF1AFD1C92BCF3476B24AF6950B94EAE23F2052 (TouchWalls_t5AE19654EB9298BC7C4D58EB5761356F2BA30C43* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// for (int i = 0; i < effectorLinks.Length; i++) effectorLinks[i].Update(interactionSystem);
|
|
V_0 = 0;
|
|
goto IL_001b;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// for (int i = 0; i < effectorLinks.Length; i++) effectorLinks[i].Update(interactionSystem);
|
|
EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3* L_0 = __this->___effectorLinks_5;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_4 = __this->___interactionSystem_4;
|
|
NullCheck(L_3);
|
|
EffectorLink_Update_m12A037359FF09F731B891DE403E654A1D41ABC1B(L_3, L_4, NULL);
|
|
// for (int i = 0; i < effectorLinks.Length; i++) effectorLinks[i].Update(interactionSystem);
|
|
int32_t L_5 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// for (int i = 0; i < effectorLinks.Length; i++) effectorLinks[i].Update(interactionSystem);
|
|
int32_t L_6 = V_0;
|
|
EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3* L_7 = __this->___effectorLinks_5;
|
|
NullCheck(L_7);
|
|
if ((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TouchWalls::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TouchWalls_OnDestroy_mFABBE835CC21F9FABD005C3F023F46E6255BCF7D (TouchWalls_t5AE19654EB9298BC7C4D58EB5761356F2BA30C43* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (interactionSystem != null) {
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_0 = __this->___interactionSystem_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < effectorLinks.Length; i++) effectorLinks[i].Destroy(interactionSystem);
|
|
V_0 = 0;
|
|
goto IL_0029;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// for (int i = 0; i < effectorLinks.Length; i++) effectorLinks[i].Destroy(interactionSystem);
|
|
EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3* L_2 = __this->___effectorLinks_5;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_6 = __this->___interactionSystem_4;
|
|
NullCheck(L_5);
|
|
EffectorLink_Destroy_m5F347F3E2D426FAB06966F87B58989E6FFCACA38(L_5, L_6, NULL);
|
|
// for (int i = 0; i < effectorLinks.Length; i++) effectorLinks[i].Destroy(interactionSystem);
|
|
int32_t L_7 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// for (int i = 0; i < effectorLinks.Length; i++) effectorLinks[i].Destroy(interactionSystem);
|
|
int32_t L_8 = V_0;
|
|
EffectorLinkU5BU5D_t044CF1E40C1FF2D5D788A3D70FDD30FD5AEC75F3* L_9 = __this->___effectorLinks_5;
|
|
NullCheck(L_9);
|
|
if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TouchWalls::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TouchWalls__ctor_mB423281DD2B46A320C0F840E416166A929CE5A48 (TouchWalls_t5AE19654EB9298BC7C4D58EB5761356F2BA30C43* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::Initiate(RootMotion.FinalIK.InteractionSystem)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink_Initiate_m208D5B226820EBE51F47F2C4A432FE85DE11078A (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___0_interactionSystem, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&EffectorLink_OnInteractionResume_mC80FF393EF713EA33F3A9587C486FFAACCA8507E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&EffectorLink_OnInteractionStart_mF66F0E003306C73229764FCD94E75310BCA4DE89_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&EffectorLink_OnInteractionStop_m86FC3989DD3584FFB1F1C4AFF0C9BAA619297686_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// raycastDirectionLocal = spherecastFrom.InverseTransformDirection(interactionObject.transform.position - spherecastFrom.position);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___spherecastFrom_3;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_1 = __this->___interactionObject_2;
|
|
NullCheck(L_1);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2;
|
|
L_2 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_1, NULL);
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_2, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___spherecastFrom_3;
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_4, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_3, L_5, NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Transform_InverseTransformDirection_m69C077B881A98B08C7F231EFC49429C906FBC575(L_0, L_6, NULL);
|
|
__this->___raycastDirectionLocal_12 = L_7;
|
|
// raycastDistance = Vector3.Distance(spherecastFrom.position, interactionObject.transform.position);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = __this->___spherecastFrom_3;
|
|
NullCheck(L_8);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_8, NULL);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_10 = __this->___interactionObject_2;
|
|
NullCheck(L_10);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11;
|
|
L_11 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_10, NULL);
|
|
NullCheck(L_11);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_11, NULL);
|
|
float L_13;
|
|
L_13 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_9, L_12, NULL);
|
|
__this->___raycastDistance_13 = L_13;
|
|
// interactionSystem.OnInteractionStart += OnInteractionStart;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_14 = ___0_interactionSystem;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_15 = L_14;
|
|
NullCheck(L_15);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_16 = L_15->___OnInteractionStart_15;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_17 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_17);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_17, __this, (intptr_t)((void*)EffectorLink_OnInteractionStart_mF66F0E003306C73229764FCD94E75310BCA4DE89_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_18;
|
|
L_18 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_16, L_17, NULL);
|
|
NullCheck(L_15);
|
|
L_15->___OnInteractionStart_15 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_18, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_15->___OnInteractionStart_15), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_18, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// interactionSystem.OnInteractionResume += OnInteractionResume;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_19 = ___0_interactionSystem;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_20 = L_19;
|
|
NullCheck(L_20);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_21 = L_20->___OnInteractionResume_18;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_22 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_22);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_22, __this, (intptr_t)((void*)EffectorLink_OnInteractionResume_mC80FF393EF713EA33F3A9587C486FFAACCA8507E_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_23;
|
|
L_23 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_21, L_22, NULL);
|
|
NullCheck(L_20);
|
|
L_20->___OnInteractionResume_18 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_23, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_20->___OnInteractionResume_18), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_23, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// interactionSystem.OnInteractionStop += OnInteractionStop;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_24 = ___0_interactionSystem;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_25 = L_24;
|
|
NullCheck(L_25);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_26 = L_25->___OnInteractionStop_19;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_27 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_27);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_27, __this, (intptr_t)((void*)EffectorLink_OnInteractionStop_m86FC3989DD3584FFB1F1C4AFF0C9BAA619297686_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_28;
|
|
L_28 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_26, L_27, NULL);
|
|
NullCheck(L_25);
|
|
L_25->___OnInteractionStop_19 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_28, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_25->___OnInteractionStop_19), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_28, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// hit.normal = Vector3.forward;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_29 = (&__this->___hit_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
RaycastHit_set_normal_m97DDF1CBE8ADF1F72AA30BC83870615ABB38C88B(L_29, L_30, NULL);
|
|
// targetPosition = interactionObject.transform.position;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_31 = __this->___interactionObject_2;
|
|
NullCheck(L_31);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_32;
|
|
L_32 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_31, NULL);
|
|
NullCheck(L_32);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_32, NULL);
|
|
__this->___targetPosition_16 = L_33;
|
|
// targetRotation = interactionObject.transform.rotation;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_34 = __this->___interactionObject_2;
|
|
NullCheck(L_34);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_35;
|
|
L_35 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_34, NULL);
|
|
NullCheck(L_35);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36;
|
|
L_36 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_35, NULL);
|
|
__this->___targetRotation_17 = L_36;
|
|
// initiated = true;
|
|
__this->___initiated_18 = (bool)1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RootMotion.Demos.TouchWalls/EffectorLink::FindWalls(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool EffectorLink_FindWalls_m79C1120C39879C941947C07FB48948C53BDBA240 (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_direction, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// if (!enabled) return false;
|
|
bool L_0 = __this->___enabled_0;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// if (!enabled) return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// bool found = Physics.SphereCast(spherecastFrom.position, spherecastRadius, direction, out hit, raycastDistance * distanceMlp, touchLayers);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = __this->___spherecastFrom_3;
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_1, NULL);
|
|
float L_3 = __this->___spherecastRadius_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_direction;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_5 = (&__this->___hit_15);
|
|
float L_6 = __this->___raycastDistance_13;
|
|
float L_7 = __this->___distanceMlp_6;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_8 = __this->___touchLayers_7;
|
|
int32_t L_9;
|
|
L_9 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_8, NULL);
|
|
bool L_10;
|
|
L_10 = Physics_SphereCast_m2A41FD7023EC5B89B69E0A8948325BEF46D9597C(L_2, L_3, L_4, L_5, ((float)il2cpp_codegen_multiply(L_6, L_7)), L_9, NULL);
|
|
V_0 = L_10;
|
|
// if (hit.distance < minDistance) found = false;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_11 = (&__this->___hit_15);
|
|
float L_12;
|
|
L_12 = RaycastHit_get_distance_m035194B0E9BB6229259CFC43B095A9C8E5011C78(L_11, NULL);
|
|
float L_13 = __this->___minDistance_5;
|
|
if ((!(((float)L_12) < ((float)L_13))))
|
|
{
|
|
goto IL_0055;
|
|
}
|
|
}
|
|
{
|
|
// if (hit.distance < minDistance) found = false;
|
|
V_0 = (bool)0;
|
|
}
|
|
|
|
IL_0055:
|
|
{
|
|
// return found;
|
|
bool L_14 = V_0;
|
|
return L_14;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::Update(RootMotion.FinalIK.InteractionSystem)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink_Update_m12A037359FF09F731B891DE403E654A1D41ABC1B (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___0_interactionSystem, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
bool V_1 = false;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float G_B20_0 = 0.0f;
|
|
{
|
|
// if (!initiated) return;
|
|
bool L_0 = __this->___initiated_18;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (!initiated) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// Vector3 direction = spherecastFrom.TransformDirection(raycastDirectionLocal);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = __this->___spherecastFrom_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___raycastDirectionLocal_12;
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Transform_TransformDirection_m9BE1261DF2D48B7A4A27D31EE24D2D97F89E7757(L_1, L_2, NULL);
|
|
V_0 = L_3;
|
|
// hit.point = spherecastFrom.position + direction;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_4 = (&__this->___hit_15);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = __this->___spherecastFrom_3;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_6, L_7, NULL);
|
|
RaycastHit_set_point_m3B63BEB25A82BFCF9FBB300022D0362BC2CF9E11(L_4, L_8, NULL);
|
|
// bool wallFound = FindWalls(direction);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = V_0;
|
|
bool L_10;
|
|
L_10 = EffectorLink_FindWalls_m79C1120C39879C941947C07FB48948C53BDBA240(__this, L_9, NULL);
|
|
V_1 = L_10;
|
|
// if (!inTouch) {
|
|
bool L_11 = __this->___inTouch_14;
|
|
if (L_11)
|
|
{
|
|
goto IL_00fb;
|
|
}
|
|
}
|
|
{
|
|
// if (wallFound && Time.time > nextSwitchTime) {
|
|
bool L_12 = V_1;
|
|
if (!L_12)
|
|
{
|
|
goto IL_01a9;
|
|
}
|
|
}
|
|
{
|
|
float L_13;
|
|
L_13 = Time_get_time_m3A271BB1B20041144AC5B7863B71AB1F0150374B(NULL);
|
|
float L_14 = __this->___nextSwitchTime_19;
|
|
if ((!(((float)L_13) > ((float)L_14))))
|
|
{
|
|
goto IL_01a9;
|
|
}
|
|
}
|
|
{
|
|
// interactionObject.transform.parent = null;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_15 = __this->___interactionObject_2;
|
|
NullCheck(L_15);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16;
|
|
L_16 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_15, NULL);
|
|
NullCheck(L_16);
|
|
Transform_set_parent_m9BD5E563B539DD5BEC342736B03F97B38A243234(L_16, (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL, NULL);
|
|
// interactionSystem.StartInteraction(effectorType, interactionObject, true);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_17 = ___0_interactionSystem;
|
|
int32_t L_18 = __this->___effectorType_1;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_19 = __this->___interactionObject_2;
|
|
NullCheck(L_17);
|
|
bool L_20;
|
|
L_20 = InteractionSystem_StartInteraction_mB43FA0A3E86CA4A9F77FE47B3280D878516F8091(L_17, L_18, L_19, (bool)1, NULL);
|
|
// nextSwitchTime = Time.time + minSwitchTime / interactionSystem.speed;
|
|
float L_21;
|
|
L_21 = Time_get_time_m3A271BB1B20041144AC5B7863B71AB1F0150374B(NULL);
|
|
float L_22 = __this->___minSwitchTime_9;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_23 = ___0_interactionSystem;
|
|
NullCheck(L_23);
|
|
float L_24 = L_23->___speed_6;
|
|
__this->___nextSwitchTime_19 = ((float)il2cpp_codegen_add(L_21, ((float)(L_22/L_24))));
|
|
// targetPosition = hit.point;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_25 = (&__this->___hit_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39(L_25, NULL);
|
|
__this->___targetPosition_16 = L_26;
|
|
// targetRotation = Quaternion.LookRotation(-hit.normal);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_27 = (&__this->___hit_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = RaycastHit_get_normal_mD8741B70D2039C5CAFC4368D4CE59D89562040B5(L_27, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_28, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30;
|
|
L_30 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_29, NULL);
|
|
__this->___targetRotation_17 = L_30;
|
|
// interactionObject.transform.position = targetPosition;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_31 = __this->___interactionObject_2;
|
|
NullCheck(L_31);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_32;
|
|
L_32 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_31, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = __this->___targetPosition_16;
|
|
NullCheck(L_32);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_32, L_33, NULL);
|
|
// interactionObject.transform.rotation = targetRotation;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_34 = __this->___interactionObject_2;
|
|
NullCheck(L_34);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_35;
|
|
L_35 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_34, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36 = __this->___targetRotation_17;
|
|
NullCheck(L_35);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_35, L_36, NULL);
|
|
goto IL_01a9;
|
|
}
|
|
|
|
IL_00fb:
|
|
{
|
|
// if (!wallFound) {
|
|
bool L_37 = V_1;
|
|
if (L_37)
|
|
{
|
|
goto IL_0107;
|
|
}
|
|
}
|
|
{
|
|
// StopTouch(interactionSystem);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_38 = ___0_interactionSystem;
|
|
EffectorLink_StopTouch_m2AAEA7F014698740158486E147B52C23E257E1B5(__this, L_38, NULL);
|
|
goto IL_0149;
|
|
}
|
|
|
|
IL_0107:
|
|
{
|
|
// if (!interactionSystem.IsPaused(effectorType) || sliding) {
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_39 = ___0_interactionSystem;
|
|
int32_t L_40 = __this->___effectorType_1;
|
|
NullCheck(L_39);
|
|
bool L_41;
|
|
L_41 = InteractionSystem_IsPaused_mEDE73455724EB8888893ABB3BCF80CE91A8371B5(L_39, L_40, NULL);
|
|
if (!L_41)
|
|
{
|
|
goto IL_011d;
|
|
}
|
|
}
|
|
{
|
|
bool L_42 = __this->___sliding_11;
|
|
if (!L_42)
|
|
{
|
|
goto IL_0149;
|
|
}
|
|
}
|
|
|
|
IL_011d:
|
|
{
|
|
// targetPosition = hit.point;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_43 = (&__this->___hit_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
|
|
L_44 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39(L_43, NULL);
|
|
__this->___targetPosition_16 = L_44;
|
|
// targetRotation = Quaternion.LookRotation(-hit.normal);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_45 = (&__this->___hit_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
|
|
L_46 = RaycastHit_get_normal_mD8741B70D2039C5CAFC4368D4CE59D89562040B5(L_45, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
|
|
L_47 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_46, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_48;
|
|
L_48 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_47, NULL);
|
|
__this->___targetRotation_17 = L_48;
|
|
}
|
|
|
|
IL_0149:
|
|
{
|
|
// if (Vector3.Distance(interactionObject.transform.position, hit.point) > releaseDistance) {
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_49 = __this->___interactionObject_2;
|
|
NullCheck(L_49);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_50;
|
|
L_50 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_49, NULL);
|
|
NullCheck(L_50);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
|
|
L_51 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_50, NULL);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_52 = (&__this->___hit_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
|
|
L_53 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39(L_52, NULL);
|
|
float L_54;
|
|
L_54 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_51, L_53, NULL);
|
|
float L_55 = __this->___releaseDistance_10;
|
|
if ((!(((float)L_54) > ((float)L_55))))
|
|
{
|
|
goto IL_01a9;
|
|
}
|
|
}
|
|
{
|
|
// if (wallFound) {
|
|
bool L_56 = V_1;
|
|
if (!L_56)
|
|
{
|
|
goto IL_01a2;
|
|
}
|
|
}
|
|
{
|
|
// targetPosition = hit.point;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_57 = (&__this->___hit_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39(L_57, NULL);
|
|
__this->___targetPosition_16 = L_58;
|
|
// targetRotation = Quaternion.LookRotation(-hit.normal);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_59 = (&__this->___hit_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
|
|
L_60 = RaycastHit_get_normal_mD8741B70D2039C5CAFC4368D4CE59D89562040B5(L_59, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
|
|
L_61 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_60, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_62;
|
|
L_62 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_61, NULL);
|
|
__this->___targetRotation_17 = L_62;
|
|
goto IL_01a9;
|
|
}
|
|
|
|
IL_01a2:
|
|
{
|
|
// StopTouch(interactionSystem);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_63 = ___0_interactionSystem;
|
|
EffectorLink_StopTouch_m2AAEA7F014698740158486E147B52C23E257E1B5(__this, L_63, NULL);
|
|
}
|
|
|
|
IL_01a9:
|
|
{
|
|
// float speedFTarget = !inTouch || (interactionSystem.IsPaused(effectorType) && interactionObject.transform.position == targetPosition)? 0f: 1f;
|
|
bool L_64 = __this->___inTouch_14;
|
|
if (!L_64)
|
|
{
|
|
goto IL_01e3;
|
|
}
|
|
}
|
|
{
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_65 = ___0_interactionSystem;
|
|
int32_t L_66 = __this->___effectorType_1;
|
|
NullCheck(L_65);
|
|
bool L_67;
|
|
L_67 = InteractionSystem_IsPaused_mEDE73455724EB8888893ABB3BCF80CE91A8371B5(L_65, L_66, NULL);
|
|
if (!L_67)
|
|
{
|
|
goto IL_01dc;
|
|
}
|
|
}
|
|
{
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_68 = __this->___interactionObject_2;
|
|
NullCheck(L_68);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_69;
|
|
L_69 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_68, NULL);
|
|
NullCheck(L_69);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70;
|
|
L_70 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_69, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71 = __this->___targetPosition_16;
|
|
bool L_72;
|
|
L_72 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_70, L_71, NULL);
|
|
if (L_72)
|
|
{
|
|
goto IL_01e3;
|
|
}
|
|
}
|
|
|
|
IL_01dc:
|
|
{
|
|
G_B20_0 = (1.0f);
|
|
goto IL_01e8;
|
|
}
|
|
|
|
IL_01e3:
|
|
{
|
|
G_B20_0 = (0.0f);
|
|
}
|
|
|
|
IL_01e8:
|
|
{
|
|
V_2 = G_B20_0;
|
|
// speedF = Mathf.Lerp(speedF, speedFTarget, Time.deltaTime * 3f * interactionSystem.speed);
|
|
float L_73 = __this->___speedF_20;
|
|
float L_74 = V_2;
|
|
float L_75;
|
|
L_75 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_76 = ___0_interactionSystem;
|
|
NullCheck(L_76);
|
|
float L_77 = L_76->___speed_6;
|
|
float L_78;
|
|
L_78 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_73, L_74, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_75, (3.0f))), L_77)), NULL);
|
|
__this->___speedF_20 = L_78;
|
|
// float s = Time.deltaTime * lerpSpeed * speedF * interactionSystem.speed;
|
|
float L_79;
|
|
L_79 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
float L_80 = __this->___lerpSpeed_8;
|
|
float L_81 = __this->___speedF_20;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_82 = ___0_interactionSystem;
|
|
NullCheck(L_82);
|
|
float L_83 = L_82->___speed_6;
|
|
V_3 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_79, L_80)), L_81)), L_83));
|
|
// interactionObject.transform.position = Vector3.Lerp(interactionObject.transform.position, targetPosition, s);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_84 = __this->___interactionObject_2;
|
|
NullCheck(L_84);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_85;
|
|
L_85 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_84, NULL);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_86 = __this->___interactionObject_2;
|
|
NullCheck(L_86);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_87;
|
|
L_87 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_86, NULL);
|
|
NullCheck(L_87);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
|
|
L_88 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_87, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89 = __this->___targetPosition_16;
|
|
float L_90 = V_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91;
|
|
L_91 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_88, L_89, L_90, NULL);
|
|
NullCheck(L_85);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_85, L_91, NULL);
|
|
// interactionObject.transform.rotation = Quaternion.Slerp(interactionObject.transform.rotation, targetRotation, s);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_92 = __this->___interactionObject_2;
|
|
NullCheck(L_92);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_93;
|
|
L_93 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_92, NULL);
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_94 = __this->___interactionObject_2;
|
|
NullCheck(L_94);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_95;
|
|
L_95 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_94, NULL);
|
|
NullCheck(L_95);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_96;
|
|
L_96 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_95, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_97 = __this->___targetRotation_17;
|
|
float L_98 = V_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_99;
|
|
L_99 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_96, L_97, L_98, NULL);
|
|
NullCheck(L_93);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_93, L_99, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::StopTouch(RootMotion.FinalIK.InteractionSystem)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink_StopTouch_m2AAEA7F014698740158486E147B52C23E257E1B5 (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___0_interactionSystem, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// interactionObject.transform.parent = interactionSystem.transform;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_0 = __this->___interactionObject_2;
|
|
NullCheck(L_0);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1;
|
|
L_1 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_0, NULL);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_2 = ___0_interactionSystem;
|
|
NullCheck(L_2);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3;
|
|
L_3 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_2, NULL);
|
|
NullCheck(L_1);
|
|
Transform_set_parent_m9BD5E563B539DD5BEC342736B03F97B38A243234(L_1, L_3, NULL);
|
|
// nextSwitchTime = Time.time + minSwitchTime / interactionSystem.speed;
|
|
float L_4;
|
|
L_4 = Time_get_time_m3A271BB1B20041144AC5B7863B71AB1F0150374B(NULL);
|
|
float L_5 = __this->___minSwitchTime_9;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_6 = ___0_interactionSystem;
|
|
NullCheck(L_6);
|
|
float L_7 = L_6->___speed_6;
|
|
__this->___nextSwitchTime_19 = ((float)il2cpp_codegen_add(L_4, ((float)(L_5/L_7))));
|
|
// if (interactionSystem.IsPaused(effectorType)) interactionSystem.ResumeInteraction(effectorType);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_8 = ___0_interactionSystem;
|
|
int32_t L_9 = __this->___effectorType_1;
|
|
NullCheck(L_8);
|
|
bool L_10;
|
|
L_10 = InteractionSystem_IsPaused_mEDE73455724EB8888893ABB3BCF80CE91A8371B5(L_8, L_9, NULL);
|
|
if (!L_10)
|
|
{
|
|
goto IL_004b;
|
|
}
|
|
}
|
|
{
|
|
// if (interactionSystem.IsPaused(effectorType)) interactionSystem.ResumeInteraction(effectorType);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_11 = ___0_interactionSystem;
|
|
int32_t L_12 = __this->___effectorType_1;
|
|
NullCheck(L_11);
|
|
bool L_13;
|
|
L_13 = InteractionSystem_ResumeInteraction_m1F41C3CBAE23F126894BE8EF7CF7CB2B395297CC(L_11, L_12, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_004b:
|
|
{
|
|
// speedF = 0f;
|
|
__this->___speedF_20 = (0.0f);
|
|
// targetPosition = hit.point;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_14 = (&__this->___hit_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39(L_14, NULL);
|
|
__this->___targetPosition_16 = L_15;
|
|
// targetRotation = Quaternion.LookRotation(-hit.normal);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_16 = (&__this->___hit_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = RaycastHit_get_normal_mD8741B70D2039C5CAFC4368D4CE59D89562040B5(L_16, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_17, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19;
|
|
L_19 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_18, NULL);
|
|
__this->___targetRotation_17 = L_19;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::OnInteractionStart(RootMotion.FinalIK.FullBodyBipedEffector,RootMotion.FinalIK.InteractionObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink_OnInteractionStart_mF66F0E003306C73229764FCD94E75310BCA4DE89 (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, int32_t ___0_effectorType, InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___1_interactionObject, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (effectorType != this.effectorType || interactionObject != this.interactionObject) return;
|
|
int32_t L_0 = ___0_effectorType;
|
|
int32_t L_1 = __this->___effectorType_1;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_2 = ___1_interactionObject;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_3 = __this->___interactionObject_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_4;
|
|
L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_2, L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// if (effectorType != this.effectorType || interactionObject != this.interactionObject) return;
|
|
return;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// inTouch = true;
|
|
__this->___inTouch_14 = (bool)1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::OnInteractionResume(RootMotion.FinalIK.FullBodyBipedEffector,RootMotion.FinalIK.InteractionObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink_OnInteractionResume_mC80FF393EF713EA33F3A9587C486FFAACCA8507E (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, int32_t ___0_effectorType, InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___1_interactionObject, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (effectorType != this.effectorType || interactionObject != this.interactionObject) return;
|
|
int32_t L_0 = ___0_effectorType;
|
|
int32_t L_1 = __this->___effectorType_1;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_2 = ___1_interactionObject;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_3 = __this->___interactionObject_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_4;
|
|
L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_2, L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// if (effectorType != this.effectorType || interactionObject != this.interactionObject) return;
|
|
return;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// inTouch = false;
|
|
__this->___inTouch_14 = (bool)0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::OnInteractionStop(RootMotion.FinalIK.FullBodyBipedEffector,RootMotion.FinalIK.InteractionObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink_OnInteractionStop_m86FC3989DD3584FFB1F1C4AFF0C9BAA619297686 (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, int32_t ___0_effectorType, InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* ___1_interactionObject, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (effectorType != this.effectorType || interactionObject != this.interactionObject) return;
|
|
int32_t L_0 = ___0_effectorType;
|
|
int32_t L_1 = __this->___effectorType_1;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_2 = ___1_interactionObject;
|
|
InteractionObject_tD6AB6FB0F525DC9DB793ABAD03F087C77206E2BE* L_3 = __this->___interactionObject_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_4;
|
|
L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_2, L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// if (effectorType != this.effectorType || interactionObject != this.interactionObject) return;
|
|
return;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// inTouch = false;
|
|
__this->___inTouch_14 = (bool)0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::Destroy(RootMotion.FinalIK.InteractionSystem)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink_Destroy_m5F347F3E2D426FAB06966F87B58989E6FFCACA38 (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* ___0_interactionSystem, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&EffectorLink_OnInteractionResume_mC80FF393EF713EA33F3A9587C486FFAACCA8507E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&EffectorLink_OnInteractionStart_mF66F0E003306C73229764FCD94E75310BCA4DE89_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&EffectorLink_OnInteractionStop_m86FC3989DD3584FFB1F1C4AFF0C9BAA619297686_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (!initiated) return;
|
|
bool L_0 = __this->___initiated_18;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (!initiated) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// interactionSystem.OnInteractionStart -= OnInteractionStart;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_1 = ___0_interactionSystem;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_2 = L_1;
|
|
NullCheck(L_2);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_3 = L_2->___OnInteractionStart_15;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_4 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_4, __this, (intptr_t)((void*)EffectorLink_OnInteractionStart_mF66F0E003306C73229764FCD94E75310BCA4DE89_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_5;
|
|
L_5 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_3, L_4, NULL);
|
|
NullCheck(L_2);
|
|
L_2->___OnInteractionStart_15 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_5, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_2->___OnInteractionStart_15), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_5, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// interactionSystem.OnInteractionResume -= OnInteractionResume;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_6 = ___0_interactionSystem;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_7 = L_6;
|
|
NullCheck(L_7);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_8 = L_7->___OnInteractionResume_18;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_9 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_9);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_9, __this, (intptr_t)((void*)EffectorLink_OnInteractionResume_mC80FF393EF713EA33F3A9587C486FFAACCA8507E_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_10;
|
|
L_10 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_8, L_9, NULL);
|
|
NullCheck(L_7);
|
|
L_7->___OnInteractionResume_18 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_10, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_7->___OnInteractionResume_18), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_10, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// interactionSystem.OnInteractionStop -= OnInteractionStop;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_11 = ___0_interactionSystem;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_12 = L_11;
|
|
NullCheck(L_12);
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_13 = L_12->___OnInteractionStop_19;
|
|
InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4* L_14 = (InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)il2cpp_codegen_object_new(InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_14);
|
|
InteractionDelegate__ctor_mB8716C2637982396C3EA65B8AC0CA5D95AAB91E3(L_14, __this, (intptr_t)((void*)EffectorLink_OnInteractionStop_m86FC3989DD3584FFB1F1C4AFF0C9BAA619297686_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_15;
|
|
L_15 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_13, L_14, NULL);
|
|
NullCheck(L_12);
|
|
L_12->___OnInteractionStop_19 = ((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_15, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_12->___OnInteractionStop_19), (void*)((InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4*)CastclassSealed((RuntimeObject*)L_15, InteractionDelegate_t3B146AB09CC863E86288B1EDE987D6B0E4342CF4_il2cpp_TypeInfo_var)));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TouchWalls/EffectorLink::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EffectorLink__ctor_m8B6CC57DA889A268171895060AF356E6DB6642EA (EffectorLink_tEE82D016F8C3591CE9908463C28C0BE555378768* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool enabled = true; // Can this effector start touching?
|
|
__this->___enabled_0 = (bool)1;
|
|
// public float spherecastRadius = 0.1f; // The radius of sperecasting
|
|
__this->___spherecastRadius_4 = (0.100000001f);
|
|
// public float minDistance = 0.3f; // The minimum spherecast radius to touch
|
|
__this->___minDistance_5 = (0.300000012f);
|
|
// public float distanceMlp = 1f; // Multiplies the distance of the spherecast
|
|
__this->___distanceMlp_6 = (1.0f);
|
|
// public float lerpSpeed = 10f; // The speed of lerping the interaction object
|
|
__this->___lerpSpeed_8 = (10.0f);
|
|
// public float minSwitchTime = 0.2f; // The minimum time to switch between touching
|
|
__this->___minSwitchTime_9 = (0.200000003f);
|
|
// public float releaseDistance= 0.4f; // The distance from the original touch point where the effector will lose contact
|
|
__this->___releaseDistance_10 = (0.400000006f);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.TransferMotion::OnEnable()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TransferMotion_OnEnable_mD6E5333EE3145D39035862E07F31D79C99F92E4C (TransferMotion_t8806D02A8CAB6EBBD9330B7FF9493A0DF49B6B60* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// lastPosition = transform.position;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
|
|
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_0, NULL);
|
|
__this->___lastPosition_6 = L_1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TransferMotion::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TransferMotion_Update_m672A2B7EFD3BB6C45F625AF5B12499EC1FA506B4 (TransferMotion_t8806D02A8CAB6EBBD9330B7FF9493A0DF49B6B60* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Vector3 delta = transform.position - lastPosition;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
|
|
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_0, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___lastPosition_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_1, L_2, NULL);
|
|
V_0 = L_3;
|
|
// to.position += delta * transferMotion;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___to_4;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = L_4;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_5, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
|
|
float L_8 = __this->___transferMotion_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_7, L_8, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_6, L_9, NULL);
|
|
NullCheck(L_5);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_5, L_10, NULL);
|
|
// lastPosition = transform.position;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11;
|
|
L_11 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_11);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_11, NULL);
|
|
__this->___lastPosition_6 = L_12;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TransferMotion::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TransferMotion__ctor_m0182D737D5422EE8D652522C2C9BDB5E6A4385A6 (TransferMotion_t8806D02A8CAB6EBBD9330B7FF9493A0DF49B6B60* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// [Range(0f, 1f)] public float transferMotion = 0.9f;
|
|
__this->___transferMotion_5 = (0.899999976f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.TwoHandedProp::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwoHandedProp_Start_m5EAC4F5C483AAFC8CB2A0F829418CF804596CA9D (TwoHandedProp_t1A1BE0574040B70570E43DC8AD7CFCD7F193DAD2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TwoHandedProp_AfterFBBIK_mB07B9EF6468367EACAF9576D6BFE24856FA2E057_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0E9BB5B50F1726CA15B31FEA2A58A02CB242A443);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// ik = GetComponent<FullBodyBipedIK>();
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0;
|
|
L_0 = Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177(__this, Component_GetComponent_TisFullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31_m60834BF027A2D02975AA8104216D2218DD459177_RuntimeMethod_var);
|
|
__this->___ik_8 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___ik_8), (void*)L_0);
|
|
// ik.solver.OnPostUpdate += AfterFBBIK;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_1 = __this->___ik_8;
|
|
NullCheck(L_1);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_2 = L_1->___solver_11;
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_3 = L_2;
|
|
NullCheck(L_3);
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_4 = ((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_3)->___OnPostUpdate_7;
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_5 = (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)il2cpp_codegen_object_new(UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971(L_5, __this, (intptr_t)((void*)TwoHandedProp_AfterFBBIK_mB07B9EF6468367EACAF9576D6BFE24856FA2E057_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_6;
|
|
L_6 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_4, L_5, NULL);
|
|
NullCheck(L_3);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_3)->___OnPostUpdate_7 = ((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_6, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_3)->___OnPostUpdate_7), (void*)((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_6, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var)));
|
|
// if (ik.solver.rightHandEffector.target == null) Debug.LogError("Right Hand Effector needs a Target in this demo.");
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_7 = __this->___ik_8;
|
|
NullCheck(L_7);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_8 = L_7->___solver_11;
|
|
NullCheck(L_8);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_9;
|
|
L_9 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_8, NULL);
|
|
NullCheck(L_9);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_10 = L_9->___target_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_11;
|
|
L_11 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// if (ik.solver.rightHandEffector.target == null) Debug.LogError("Right Hand Effector needs a Target in this demo.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral0E9BB5B50F1726CA15B31FEA2A58A02CB242A443, NULL);
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TwoHandedProp::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwoHandedProp_LateUpdate_m37BD1201D19C4BA92434CE1F7995ADBF278A9AEE (TwoHandedProp_t1A1BE0574040B70570E43DC8AD7CFCD7F193DAD2* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// targetPosRelativeToRight = ik.references.rightHand.InverseTransformPoint(leftHandTarget.position);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_8;
|
|
NullCheck(L_0);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_1 = L_0->___references_10;
|
|
NullCheck(L_1);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = L_1->___rightHand_13;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = __this->___leftHandTarget_5;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_3, NULL);
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_2, L_4, NULL);
|
|
__this->___targetPosRelativeToRight_9 = L_5;
|
|
// targetRotRelativeToRight = Quaternion.Inverse(ik.references.rightHand.rotation) * leftHandTarget.rotation;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_6 = __this->___ik_8;
|
|
NullCheck(L_6);
|
|
BipedReferences_tB81EAC296E626B0341A07AAD3A63E245F1519171* L_7 = L_6->___references_10;
|
|
NullCheck(L_7);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = L_7->___rightHand_13;
|
|
NullCheck(L_8);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
|
|
L_9 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_8, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
|
|
L_10 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_9, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_11 = __this->___leftHandTarget_5;
|
|
NullCheck(L_11);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
|
|
L_12 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_11, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13;
|
|
L_13 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_10, L_12, NULL);
|
|
__this->___targetRotRelativeToRight_10 = L_13;
|
|
// ik.solver.leftHandEffector.position = ik.solver.rightHandEffector.target.position + ik.solver.rightHandEffector.target.rotation * targetPosRelativeToRight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_14 = __this->___ik_8;
|
|
NullCheck(L_14);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_15 = L_14->___solver_11;
|
|
NullCheck(L_15);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_16;
|
|
L_16 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_15, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_17 = __this->___ik_8;
|
|
NullCheck(L_17);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_18 = L_17->___solver_11;
|
|
NullCheck(L_18);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_19;
|
|
L_19 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_18, NULL);
|
|
NullCheck(L_19);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_20 = L_19->___target_1;
|
|
NullCheck(L_20);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
L_21 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_20, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_22 = __this->___ik_8;
|
|
NullCheck(L_22);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_23 = L_22->___solver_11;
|
|
NullCheck(L_23);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_24;
|
|
L_24 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_23, NULL);
|
|
NullCheck(L_24);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_25 = L_24->___target_1;
|
|
NullCheck(L_25);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26;
|
|
L_26 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_25, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = __this->___targetPosRelativeToRight_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_26, L_27, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_21, L_28, NULL);
|
|
NullCheck(L_16);
|
|
L_16->___position_4 = L_29;
|
|
// ik.solver.leftHandEffector.rotation = ik.solver.rightHandEffector.target.rotation * targetRotRelativeToRight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_30 = __this->___ik_8;
|
|
NullCheck(L_30);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_31 = L_30->___solver_11;
|
|
NullCheck(L_31);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_32;
|
|
L_32 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_31, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_33 = __this->___ik_8;
|
|
NullCheck(L_33);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_34 = L_33->___solver_11;
|
|
NullCheck(L_34);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_35;
|
|
L_35 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_34, NULL);
|
|
NullCheck(L_35);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36 = L_35->___target_1;
|
|
NullCheck(L_36);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_37;
|
|
L_37 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_36, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38 = __this->___targetRotRelativeToRight_10;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39;
|
|
L_39 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_37, L_38, NULL);
|
|
NullCheck(L_32);
|
|
L_32->___rotation_5 = L_39;
|
|
// ik.solver.rightHandEffector.positionWeight = weight;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_40 = __this->___ik_8;
|
|
NullCheck(L_40);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_41 = L_40->___solver_11;
|
|
NullCheck(L_41);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_42;
|
|
L_42 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_41, NULL);
|
|
float L_43 = __this->___weight_4;
|
|
NullCheck(L_42);
|
|
L_42->___positionWeight_2 = L_43;
|
|
// float wL = leftHandWeight * weight;
|
|
float L_44 = __this->___leftHandWeight_7;
|
|
float L_45 = __this->___weight_4;
|
|
V_0 = ((float)il2cpp_codegen_multiply(L_44, L_45));
|
|
// ik.solver.leftHandEffector.positionWeight = wL;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_46 = __this->___ik_8;
|
|
NullCheck(L_46);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_47 = L_46->___solver_11;
|
|
NullCheck(L_47);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_48;
|
|
L_48 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_47, NULL);
|
|
float L_49 = V_0;
|
|
NullCheck(L_48);
|
|
L_48->___positionWeight_2 = L_49;
|
|
// leftHandPoser.weight = wL;
|
|
Poser_tDF8B767BC6593233BEED1C025429B0FD41B97B50* L_50 = __this->___leftHandPoser_6;
|
|
float L_51 = V_0;
|
|
NullCheck(L_50);
|
|
L_50->___weight_11 = L_51;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TwoHandedProp::AfterFBBIK()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwoHandedProp_AfterFBBIK_mB07B9EF6468367EACAF9576D6BFE24856FA2E057 (TwoHandedProp_t1A1BE0574040B70570E43DC8AD7CFCD7F193DAD2* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ik.solver.leftHandEffector.bone.rotation = Quaternion.Slerp(ik.solver.leftHandEffector.bone.rotation, ik.solver.leftHandEffector.rotation, leftHandWeight * weight);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_8;
|
|
NullCheck(L_0);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_1 = L_0->___solver_11;
|
|
NullCheck(L_1);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_2;
|
|
L_2 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_1, NULL);
|
|
NullCheck(L_2);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = L_2->___bone_0;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_4 = __this->___ik_8;
|
|
NullCheck(L_4);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_5 = L_4->___solver_11;
|
|
NullCheck(L_5);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_6;
|
|
L_6 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_5, NULL);
|
|
NullCheck(L_6);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = L_6->___bone_0;
|
|
NullCheck(L_7);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
|
|
L_8 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_7, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_9 = __this->___ik_8;
|
|
NullCheck(L_9);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_10 = L_9->___solver_11;
|
|
NullCheck(L_10);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_11;
|
|
L_11 = IKSolverFullBodyBiped_get_leftHandEffector_mA08F0CC17F1B1CA3E0ACF8A5AFD1DB24051399C6(L_10, NULL);
|
|
NullCheck(L_11);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = L_11->___rotation_5;
|
|
float L_13 = __this->___leftHandWeight_7;
|
|
float L_14 = __this->___weight_4;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
|
|
L_15 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_8, L_12, ((float)il2cpp_codegen_multiply(L_13, L_14)), NULL);
|
|
NullCheck(L_3);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_3, L_15, NULL);
|
|
// ik.solver.rightHandEffector.bone.rotation = Quaternion.Slerp(ik.solver.rightHandEffector.bone.rotation, ik.solver.rightHandEffector.rotation, weight);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_16 = __this->___ik_8;
|
|
NullCheck(L_16);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_17 = L_16->___solver_11;
|
|
NullCheck(L_17);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_18;
|
|
L_18 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_17, NULL);
|
|
NullCheck(L_18);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = L_18->___bone_0;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_20 = __this->___ik_8;
|
|
NullCheck(L_20);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_21 = L_20->___solver_11;
|
|
NullCheck(L_21);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_22;
|
|
L_22 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_21, NULL);
|
|
NullCheck(L_22);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_23 = L_22->___bone_0;
|
|
NullCheck(L_23);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24;
|
|
L_24 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_23, NULL);
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_25 = __this->___ik_8;
|
|
NullCheck(L_25);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_26 = L_25->___solver_11;
|
|
NullCheck(L_26);
|
|
IKEffector_tF7D81C4383B93DA1187FC6135F47C0F98DA7DBD6* L_27;
|
|
L_27 = IKSolverFullBodyBiped_get_rightHandEffector_m998CD6EA080F1CE0E5EF968B2ED7EBE1CD9AF8D6(L_26, NULL);
|
|
NullCheck(L_27);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_28 = L_27->___rotation_5;
|
|
float L_29 = __this->___weight_4;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30;
|
|
L_30 = Quaternion_Slerp_m0A9969F500E7716EA4F6BC4E7D5464372D8E9E15(L_24, L_28, L_29, NULL);
|
|
NullCheck(L_19);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_19, L_30, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TwoHandedProp::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwoHandedProp_OnDestroy_m278073A84DEFB9CC8C929E4789E8C814E4D90A39 (TwoHandedProp_t1A1BE0574040B70570E43DC8AD7CFCD7F193DAD2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TwoHandedProp_AfterFBBIK_mB07B9EF6468367EACAF9576D6BFE24856FA2E057_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (ik != null) ik.solver.OnPostUpdate -= AfterFBBIK;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___ik_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
// if (ik != null) ik.solver.OnPostUpdate -= AfterFBBIK;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_2 = __this->___ik_8;
|
|
NullCheck(L_2);
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_3 = L_2->___solver_11;
|
|
IKSolverFullBodyBiped_t339337E5EF45CCC8051B9A025FAEE0E4A4E1DA55* L_4 = L_3;
|
|
NullCheck(L_4);
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_5 = ((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_4)->___OnPostUpdate_7;
|
|
UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD* L_6 = (UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)il2cpp_codegen_object_new(UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
UpdateDelegate__ctor_m5002D5F7F11AD73AB9B07C13DE7F6D527134A971(L_6, __this, (intptr_t)((void*)TwoHandedProp_AfterFBBIK_mB07B9EF6468367EACAF9576D6BFE24856FA2E057_RuntimeMethod_var), NULL);
|
|
Delegate_t* L_7;
|
|
L_7 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_5, L_6, NULL);
|
|
NullCheck(L_4);
|
|
((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_4)->___OnPostUpdate_7 = ((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&((IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623*)L_4)->___OnPostUpdate_7), (void*)((UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD*)CastclassSealed((RuntimeObject*)L_7, UpdateDelegate_t53E3B4F2E4ADBCE8A5E151106B1878025A6711FD_il2cpp_TypeInfo_var)));
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.TwoHandedProp::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TwoHandedProp__ctor_mD8C062FEFEC89D26EB7E2C558DB4BA76CA649E93 (TwoHandedProp_t1A1BE0574040B70570E43DC8AD7CFCD7F193DAD2* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// [Range(0f, 1f)] public float weight = 1f;
|
|
__this->___weight_4 = (1.0f);
|
|
// [Tooltip("The weight of pinning the left hand to the prop.")] [Range(0f, 1f)] public float leftHandWeight = 1f;
|
|
__this->___leftHandWeight_7 = (1.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.UserControlInteractions::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UserControlInteractions_Update_m302E69D94E5B2680C41F985021D0DCD32AF8102C (UserControlInteractions_tEDE54993F6141ED00CB31046FA52C72097A799D5* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
{
|
|
// if (disableInputInInteraction && interactionSystem != null && (interactionSystem.inInteraction || interactionSystem.IsPaused())) {
|
|
bool L_0 = __this->___disableInputInInteraction_11;
|
|
if (!L_0)
|
|
{
|
|
goto IL_006a;
|
|
}
|
|
}
|
|
{
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_1 = __this->___interactionSystem_10;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_006a;
|
|
}
|
|
}
|
|
{
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_3 = __this->___interactionSystem_10;
|
|
NullCheck(L_3);
|
|
bool L_4;
|
|
L_4 = InteractionSystem_get_inInteraction_m63211EF55C4A833B16ECF8818B1C0FE8B457D571(L_3, NULL);
|
|
if (L_4)
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_5 = __this->___interactionSystem_10;
|
|
NullCheck(L_5);
|
|
bool L_6;
|
|
L_6 = InteractionSystem_IsPaused_m5DC6AA4B89D7A78184447B1AEFE4A4B324258A6D(L_5, NULL);
|
|
if (!L_6)
|
|
{
|
|
goto IL_006a;
|
|
}
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// float progress = interactionSystem.GetMinActiveProgress();
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_7 = __this->___interactionSystem_10;
|
|
NullCheck(L_7);
|
|
float L_8;
|
|
L_8 = InteractionSystem_GetMinActiveProgress_m2DB7C64E5FBE707249A8F8D97F9287EC9406432D(L_7, NULL);
|
|
V_0 = L_8;
|
|
// if (progress > 0f && progress < enableInputAtProgress) {
|
|
float L_9 = V_0;
|
|
if ((!(((float)L_9) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_006a;
|
|
}
|
|
}
|
|
{
|
|
float L_10 = V_0;
|
|
float L_11 = __this->___enableInputAtProgress_12;
|
|
if ((!(((float)L_10) < ((float)L_11))))
|
|
{
|
|
goto IL_006a;
|
|
}
|
|
}
|
|
{
|
|
// state.move = Vector3.zero;
|
|
State_t1C2106417C1C59FC418E1C9F846E928466513D3C* L_12 = (&((UserControlThirdPerson_t84D27C4D05AE0B01CDABC9C382DEDD23F3943690*)__this)->___state_7);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
L_12->___move_0 = L_13;
|
|
// state.jump = false;
|
|
State_t1C2106417C1C59FC418E1C9F846E928466513D3C* L_14 = (&((UserControlThirdPerson_t84D27C4D05AE0B01CDABC9C382DEDD23F3943690*)__this)->___state_7);
|
|
L_14->___jump_3 = (bool)0;
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_006a:
|
|
{
|
|
// base.Update();
|
|
UserControlThirdPerson_Update_m4297BF3D4600D6C2FF294CCBE622D3E678C1E392(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.UserControlInteractions::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UserControlInteractions_OnGUI_mC70814B8D42B9932D8C5E9C8E1467843F6E38DE4 (UserControlInteractions_tEDE54993F6141ED00CB31046FA52C72097A799D5* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral688FAFF377203A402886D97E534A56BEBBAF2073);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE4F17E3CBEB8EFFD407C61DEBD5D047C52C0BD04);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (!character.onGround) return;
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* L_0 = __this->___character_9;
|
|
NullCheck(L_0);
|
|
bool L_1;
|
|
L_1 = CharacterThirdPerson_get_onGround_m9C9555A5C749F8F337E48584713AC44497253957_inline(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (!character.onGround) return;
|
|
return;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// if (interactionSystem.IsPaused() && interactionSystem.IsInSync()) {
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_2 = __this->___interactionSystem_10;
|
|
NullCheck(L_2);
|
|
bool L_3;
|
|
L_3 = InteractionSystem_IsPaused_m5DC6AA4B89D7A78184447B1AEFE4A4B324258A6D(L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
{
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_4 = __this->___interactionSystem_10;
|
|
NullCheck(L_4);
|
|
bool L_5;
|
|
L_5 = InteractionSystem_IsInSync_m7A2F0543B5E0298C902E8AD8A20BDAC34173F0DC(L_4, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
{
|
|
// GUILayout.Label("Press E to resume interaction");
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_6;
|
|
L_6 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
GUILayout_Label_m1709C16A433383CCFC1FEA0E585E14CBD78CD94B(_stringLiteralE4F17E3CBEB8EFFD407C61DEBD5D047C52C0BD04, L_6, NULL);
|
|
// if (Input.GetKey(KeyCode.E)) {
|
|
bool L_7;
|
|
L_7 = Input_GetKey_mE5681EF775F3CEBA7EAD7C63984F7B34C8E8D434(((int32_t)101), NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_004b;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.ResumeAll();
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_8 = __this->___interactionSystem_10;
|
|
NullCheck(L_8);
|
|
InteractionSystem_ResumeAll_m826BDB423151107A8CBD20960CBA64045FCDAC8D(L_8, NULL);
|
|
}
|
|
|
|
IL_004b:
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// int closestTriggerIndex = interactionSystem.GetClosestTriggerIndex();
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_9 = __this->___interactionSystem_10;
|
|
NullCheck(L_9);
|
|
int32_t L_10;
|
|
L_10 = InteractionSystem_GetClosestTriggerIndex_m5B2CA32A172FE3141F50D3F6FA5958299518E8AD(L_9, NULL);
|
|
V_0 = L_10;
|
|
// if (closestTriggerIndex == -1) return;
|
|
int32_t L_11 = V_0;
|
|
if ((!(((uint32_t)L_11) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
// if (closestTriggerIndex == -1) return;
|
|
return;
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
// if (!interactionSystem.TriggerEffectorsReady(closestTriggerIndex)) return;
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_12 = __this->___interactionSystem_10;
|
|
int32_t L_13 = V_0;
|
|
NullCheck(L_12);
|
|
bool L_14;
|
|
L_14 = InteractionSystem_TriggerEffectorsReady_m4E177F76EBA1300FB9F6FC75D736E23948BE2AF5(L_12, L_13, NULL);
|
|
if (L_14)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// if (!interactionSystem.TriggerEffectorsReady(closestTriggerIndex)) return;
|
|
return;
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// GUILayout.Label("Press E to start interaction");
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_15;
|
|
L_15 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
GUILayout_Label_m1709C16A433383CCFC1FEA0E585E14CBD78CD94B(_stringLiteral688FAFF377203A402886D97E534A56BEBBAF2073, L_15, NULL);
|
|
// if (Input.GetKey(KeyCode.E)) {
|
|
bool L_16;
|
|
L_16 = Input_GetKey_mE5681EF775F3CEBA7EAD7C63984F7B34C8E8D434(((int32_t)101), NULL);
|
|
if (!L_16)
|
|
{
|
|
goto IL_0092;
|
|
}
|
|
}
|
|
{
|
|
// interactionSystem.TriggerInteraction(closestTriggerIndex, false);
|
|
InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* L_17 = __this->___interactionSystem_10;
|
|
int32_t L_18 = V_0;
|
|
NullCheck(L_17);
|
|
bool L_19;
|
|
L_19 = InteractionSystem_TriggerInteraction_m12E6E7A5A5A16A69B66924C8EA2BB0185282275A(L_17, L_18, (bool)0, NULL);
|
|
}
|
|
|
|
IL_0092:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.UserControlInteractions::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UserControlInteractions__ctor_m5B586E5C44F1200B84B83606404783C8CD777B30 (UserControlInteractions_tEDE54993F6141ED00CB31046FA52C72097A799D5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool disableInputInInteraction = true; // If true, will keep the character stopped while an interaction is in progress
|
|
__this->___disableInputInInteraction_11 = (bool)1;
|
|
// public float enableInputAtProgress = 0.8f; // The normalized interaction progress after which the character is able to move again
|
|
__this->___enableInputAtProgress_12 = (0.800000012f);
|
|
UserControlThirdPerson__ctor_m9973C7901A57073F95C64855C9696D4A32DEB2BA(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.GrounderDemo::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GrounderDemo_OnGUI_mEF723E817623686290DD11888DCD3129065A1628 (GrounderDemo_tE145931AE47CCED1A32E9365C00C8199E47A4BA8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral24D4CD6D64D3AF87C9DA597E3B9CB46F1DDDD065);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDC797EA4B889AAD960CFE71ABEA35462FF1BE5DF);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDEB153A4F640C1BF005F7E30CECC4A84EB08150A);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEA7204D95B639C2C73A50499969CE9E494FFA431);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (GUILayout.Button("Biped")) Activate(0);
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_0;
|
|
L_0 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_1;
|
|
L_1 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteralEA7204D95B639C2C73A50499969CE9E494FFA431, L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// if (GUILayout.Button("Biped")) Activate(0);
|
|
GrounderDemo_Activate_m84BF357AA3B19CC2AA60EA825686ABE5491BB334(__this, 0, NULL);
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// if (GUILayout.Button("Quadruped")) Activate(1);
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_2;
|
|
L_2 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_3;
|
|
L_3 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteralDC797EA4B889AAD960CFE71ABEA35462FF1BE5DF, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
// if (GUILayout.Button("Quadruped")) Activate(1);
|
|
GrounderDemo_Activate_m84BF357AA3B19CC2AA60EA825686ABE5491BB334(__this, 1, NULL);
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// if (GUILayout.Button("Mech")) Activate(2);
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_4;
|
|
L_4 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_5;
|
|
L_5 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteral24D4CD6D64D3AF87C9DA597E3B9CB46F1DDDD065, L_4, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
// if (GUILayout.Button("Mech")) Activate(2);
|
|
GrounderDemo_Activate_m84BF357AA3B19CC2AA60EA825686ABE5491BB334(__this, 2, NULL);
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// if (GUILayout.Button("Bot")) Activate(3);
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_6;
|
|
L_6 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
bool L_7;
|
|
L_7 = GUILayout_Button_m8CF27DB531C6A54FF0F7BD8CDE4FB5030B159E9E(_stringLiteralDEB153A4F640C1BF005F7E30CECC4A84EB08150A, L_6, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_0060;
|
|
}
|
|
}
|
|
{
|
|
// if (GUILayout.Button("Bot")) Activate(3);
|
|
GrounderDemo_Activate_m84BF357AA3B19CC2AA60EA825686ABE5491BB334(__this, 3, NULL);
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.GrounderDemo::Activate(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GrounderDemo_Activate_m84BF357AA3B19CC2AA60EA825686ABE5491BB334 (GrounderDemo_tE145931AE47CCED1A32E9365C00C8199E47A4BA8* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// for (int i = 0; i < characters.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_0019;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// characters[i].SetActive(i == index);
|
|
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* L_0 = __this->___characters_4;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
int32_t L_4 = V_0;
|
|
int32_t L_5 = ___0_index;
|
|
NullCheck(L_3);
|
|
GameObject_SetActive_m638E92E1E75E519E5B24CF150B08CA8E0CDFAB92(L_3, (bool)((((int32_t)L_4) == ((int32_t)L_5))? 1 : 0), NULL);
|
|
// for (int i = 0; i < characters.Length; i++) {
|
|
int32_t L_6 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// for (int i = 0; i < characters.Length; i++) {
|
|
int32_t L_7 = V_0;
|
|
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* L_8 = __this->___characters_4;
|
|
NullCheck(L_8);
|
|
if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.GrounderDemo::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GrounderDemo__ctor_m87C9C40E5DA4279EC1BFBE5BE4B27AB1A3318273 (GrounderDemo_tE145931AE47CCED1A32E9365C00C8199E47A4BA8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.PlatformRotator::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlatformRotator_Start_m884458AC9380FABC8CECD59E305643F6703B8BC0 (PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// defaultRotation = transform.rotation;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0;
|
|
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_0);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
|
|
L_1 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_0, NULL);
|
|
__this->___defaultRotation_11 = L_1;
|
|
// targetPosition = transform.position + movePosition;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2;
|
|
L_2 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_2, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = __this->___movePosition_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_3, L_4, NULL);
|
|
__this->___targetPosition_13 = L_5;
|
|
// r = GetComponent<Rigidbody>();
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_6;
|
|
L_6 = Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8(__this, Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
__this->___r_15 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___r_15), (void*)L_6);
|
|
// StartCoroutine(SwitchRotation());
|
|
RuntimeObject* L_7;
|
|
L_7 = PlatformRotator_SwitchRotation_mF3D86C604490CC65772EB185CDE2D57C98FAB92B(__this, NULL);
|
|
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B* L_8;
|
|
L_8 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_7, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PlatformRotator::FixedUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlatformRotator_FixedUpdate_m355D6BB5B9BF097CBA510A8F9B8ACF7019C52DB4 (PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// r.MovePosition(Vector3.SmoothDamp(r.position, targetPosition, ref velocity, 1f, moveSpeed));
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_0 = __this->___r_15;
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_1 = __this->___r_15;
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Rigidbody_get_position_m4ECB79BDBBF8FD1EA572EDB792D3330DDED24691(L_1, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___targetPosition_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_4 = (&__this->___velocity_14);
|
|
float L_5 = __this->___moveSpeed_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_SmoothDamp_mDA140F463AE64757F8DEBBE9806F50031732046A_inline(L_2, L_3, L_4, (1.0f), L_5, NULL);
|
|
NullCheck(L_0);
|
|
Rigidbody_MovePosition_mB2CD29ABC8F59AC338C0A3A5A6B75C38FDA92CA9(L_0, L_6, NULL);
|
|
// if (Vector3.Distance(GetComponent<Rigidbody>().position, targetPosition) < 0.1f) {
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_7;
|
|
L_7 = Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8(__this, Component_GetComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m4B5CAD64B52D153BEA96432633CA9A45FA523DD8_RuntimeMethod_var);
|
|
NullCheck(L_7);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Rigidbody_get_position_m4ECB79BDBBF8FD1EA572EDB792D3330DDED24691(L_7, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = __this->___targetPosition_13;
|
|
float L_10;
|
|
L_10 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_8, L_9, NULL);
|
|
if ((!(((float)L_10) < ((float)(0.100000001f)))))
|
|
{
|
|
goto IL_0077;
|
|
}
|
|
}
|
|
{
|
|
// movePosition = -movePosition;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = __this->___movePosition_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_11, NULL);
|
|
__this->___movePosition_8 = L_12;
|
|
// targetPosition += movePosition;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = __this->___targetPosition_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = __this->___movePosition_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_13, L_14, NULL);
|
|
__this->___targetPosition_13 = L_15;
|
|
}
|
|
|
|
IL_0077:
|
|
{
|
|
// r.MoveRotation(Quaternion.RotateTowards(r.rotation, targetRotation, rotationSpeed * Time.deltaTime));
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_16 = __this->___r_15;
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_17 = __this->___r_15;
|
|
NullCheck(L_17);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
|
|
L_18 = Rigidbody_get_rotation_m07882A7024FB3F96BA13EC577A96163BBB621AA1(L_17, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19 = __this->___targetRotation_12;
|
|
float L_20 = __this->___rotationSpeed_7;
|
|
float L_21;
|
|
L_21 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22;
|
|
L_22 = Quaternion_RotateTowards_m50EF9D609C80CD423CDA856EA3481DE2004633A3_inline(L_18, L_19, ((float)il2cpp_codegen_multiply(L_20, L_21)), NULL);
|
|
NullCheck(L_16);
|
|
Rigidbody_MoveRotation_m85825C7206E770E39DED9EE6D792702F577A891D(L_16, L_22, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator RootMotion.Demos.PlatformRotator::SwitchRotation()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* PlatformRotator_SwitchRotation_mF3D86C604490CC65772EB185CDE2D57C98FAB92B (PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4* L_0 = (U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4*)il2cpp_codegen_object_new(U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CSwitchRotationU3Ed__14__ctor_mDC8588A596ED7F2F82B85D88C2FFA03F567CC38F(L_0, 0, NULL);
|
|
U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E4__this_2 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PlatformRotator::OnCollisionEnter(UnityEngine.Collision)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlatformRotator_OnCollisionEnter_mC368C9E2D793C66EEF4FE41EE8505B3278E1E27B (PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* __this, Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0* ___0_collision, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisCharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9_mF2E48D817CBB9C107F6773007251A42191FE9BDE_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* V_0 = NULL;
|
|
{
|
|
// if (collision.gameObject.layer == characterLayer) {
|
|
Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0* L_0 = ___0_collision;
|
|
NullCheck(L_0);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_1;
|
|
L_1 = Collision_get_gameObject_m846FADBCA43E1849D3FE4D5EA44C02D055A70B3E(L_0, NULL);
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = GameObject_get_layer_m108902B9C89E9F837CE06B9942AA42307450FEAF(L_1, NULL);
|
|
int32_t L_3 = __this->___characterLayer_10;
|
|
if ((!(((uint32_t)L_2) == ((uint32_t)L_3))))
|
|
{
|
|
goto IL_0038;
|
|
}
|
|
}
|
|
{
|
|
// CharacterThirdPerson c = collision.gameObject.GetComponent<CharacterThirdPerson>();
|
|
Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0* L_4 = ___0_collision;
|
|
NullCheck(L_4);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_5;
|
|
L_5 = Collision_get_gameObject_m846FADBCA43E1849D3FE4D5EA44C02D055A70B3E(L_4, NULL);
|
|
NullCheck(L_5);
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* L_6;
|
|
L_6 = GameObject_GetComponent_TisCharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9_mF2E48D817CBB9C107F6773007251A42191FE9BDE(L_5, GameObject_GetComponent_TisCharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9_mF2E48D817CBB9C107F6773007251A42191FE9BDE_RuntimeMethod_var);
|
|
V_0 = L_6;
|
|
// if (c == null) return;
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* L_7 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_8;
|
|
L_8 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_8)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// if (c == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// if (c.smoothPhysics) {
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* L_9 = V_0;
|
|
NullCheck(L_9);
|
|
bool L_10 = L_9->___smoothPhysics_22;
|
|
if (!L_10)
|
|
{
|
|
goto IL_0038;
|
|
}
|
|
}
|
|
{
|
|
// c.smoothPhysics = false;
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* L_11 = V_0;
|
|
NullCheck(L_11);
|
|
L_11->___smoothPhysics_22 = (bool)0;
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PlatformRotator::OnCollisionExit(UnityEngine.Collision)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlatformRotator_OnCollisionExit_m601BA6603D65AD6EC582DC3B48083D6625733F38 (PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* __this, Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0* ___0_collision, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisCharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9_mF2E48D817CBB9C107F6773007251A42191FE9BDE_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* V_0 = NULL;
|
|
{
|
|
// if (collision.gameObject.layer == characterLayer) {
|
|
Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0* L_0 = ___0_collision;
|
|
NullCheck(L_0);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_1;
|
|
L_1 = Collision_get_gameObject_m846FADBCA43E1849D3FE4D5EA44C02D055A70B3E(L_0, NULL);
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = GameObject_get_layer_m108902B9C89E9F837CE06B9942AA42307450FEAF(L_1, NULL);
|
|
int32_t L_3 = __this->___characterLayer_10;
|
|
if ((!(((uint32_t)L_2) == ((uint32_t)L_3))))
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
// CharacterThirdPerson c = collision.gameObject.GetComponent<CharacterThirdPerson>();
|
|
Collision_tBCC6AEBD9A63E6DA2E50660DAC03CDCB1FF7A9B0* L_4 = ___0_collision;
|
|
NullCheck(L_4);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_5;
|
|
L_5 = Collision_get_gameObject_m846FADBCA43E1849D3FE4D5EA44C02D055A70B3E(L_4, NULL);
|
|
NullCheck(L_5);
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* L_6;
|
|
L_6 = GameObject_GetComponent_TisCharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9_mF2E48D817CBB9C107F6773007251A42191FE9BDE(L_5, GameObject_GetComponent_TisCharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9_mF2E48D817CBB9C107F6773007251A42191FE9BDE_RuntimeMethod_var);
|
|
V_0 = L_6;
|
|
// if (c == null) return;
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* L_7 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_8;
|
|
L_8 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_8)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// if (c == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// c.smoothPhysics = true;
|
|
CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* L_9 = V_0;
|
|
NullCheck(L_9);
|
|
L_9->___smoothPhysics_22 = (bool)1;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PlatformRotator::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlatformRotator__ctor_m7DD183D0AE591291D3AFF4F64544A2E71383A92C (PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float maxAngle = 70f; // Maximum angular offset from the default rotation
|
|
__this->___maxAngle_4 = (70.0f);
|
|
// public float switchRotationTime = 0.5f; // Base time for switching to another target rotation
|
|
__this->___switchRotationTime_5 = (0.5f);
|
|
// public float random = 0.5f; // The random mlp for timers
|
|
__this->___random_6 = (0.5f);
|
|
// public float rotationSpeed = 50f; // The slerp speed
|
|
__this->___rotationSpeed_7 = (50.0f);
|
|
// public float moveSpeed = 5f; // Moving speed
|
|
__this->___moveSpeed_9 = (5.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CSwitchRotationU3Ed__14__ctor_mDC8588A596ED7F2F82B85D88C2FFA03F567CC38F (U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
int32_t L_0 = ___0_U3CU3E1__state;
|
|
__this->___U3CU3E1__state_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CSwitchRotationU3Ed__14_System_IDisposable_Dispose_m17F9AF3D3ACCA98602397C6A661AF524465AB43B (U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CSwitchRotationU3Ed__14_MoveNext_mB50CF3D9785E909220488820E0047E85F7A3BDC4 (U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* V_1 = NULL;
|
|
float V_2 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* L_1 = __this->___U3CU3E4__this_2;
|
|
V_1 = L_1;
|
|
int32_t L_2 = V_0;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_3 = V_0;
|
|
if ((((int32_t)L_3) == ((int32_t)1)))
|
|
{
|
|
goto IL_0076;
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// float angle = UnityEngine.Random.Range(-maxAngle, maxAngle);
|
|
PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* L_4 = V_1;
|
|
NullCheck(L_4);
|
|
float L_5 = L_4->___maxAngle_4;
|
|
PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* L_6 = V_1;
|
|
NullCheck(L_6);
|
|
float L_7 = L_6->___maxAngle_4;
|
|
float L_8;
|
|
L_8 = Random_Range_m5236C99A7D8AE6AC9190592DC66016652A2D2494(((-L_5)), L_7, NULL);
|
|
V_2 = L_8;
|
|
// Vector3 axis = UnityEngine.Random.onUnitSphere;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Random_get_onUnitSphere_mA7FD531C3043945E5EA290F670E79A78EFAC0D92(NULL);
|
|
V_3 = L_9;
|
|
// targetRotation = Quaternion.AngleAxis(angle, axis) * defaultRotation;
|
|
PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* L_10 = V_1;
|
|
float L_11 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = V_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13;
|
|
L_13 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_11, L_12, NULL);
|
|
PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* L_14 = V_1;
|
|
NullCheck(L_14);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15 = L_14->___defaultRotation_11;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
|
|
L_16 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_13, L_15, NULL);
|
|
NullCheck(L_10);
|
|
L_10->___targetRotation_12 = L_16;
|
|
// yield return new WaitForSeconds(switchRotationTime + UnityEngine.Random.value * random);
|
|
PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* L_17 = V_1;
|
|
NullCheck(L_17);
|
|
float L_18 = L_17->___switchRotationTime_5;
|
|
float L_19;
|
|
L_19 = Random_get_value_m2CEA87FADF5222EF9E13D32695F15E2BA282E24B(NULL);
|
|
PlatformRotator_tD8132DC8712EF3501BBBA50F59CFF6CC2C6BF7B0* L_20 = V_1;
|
|
NullCheck(L_20);
|
|
float L_21 = L_20->___random_6;
|
|
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3* L_22 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3*)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
|
|
NullCheck(L_22);
|
|
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_22, ((float)il2cpp_codegen_add(L_18, ((float)il2cpp_codegen_multiply(L_19, L_21)))), NULL);
|
|
__this->___U3CU3E2__current_1 = L_22;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_22);
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0076:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// while (true) {
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
// System.Object RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CSwitchRotationU3Ed__14_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_mB533D803CD639CCE853D2D48B6AD7A7FE079DD83 (U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CSwitchRotationU3Ed__14_System_Collections_IEnumerator_Reset_m6B14D77F90EE25D5D4217BF61DBEF68542B239EA (U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_0);
|
|
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CSwitchRotationU3Ed__14_System_Collections_IEnumerator_Reset_m6B14D77F90EE25D5D4217BF61DBEF68542B239EA_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CSwitchRotationU3Ed__14_System_Collections_IEnumerator_get_Current_m77EDDEFE9DC33421D2ACF6BD97330C17F5D00815 (U3CSwitchRotationU3Ed__14_t57B63515488A0613A91B31092625A1B2BA8346E4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.BendGoal::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BendGoal_Start_m3E5A9A689CCA530CD259FA5714B90BE53B5257EA (BendGoal_t98975872CE7B157D702E80B9AD2D66715BBA096D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral90D4288C6B341752EE3EFA0E470F28224EE3B953);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Debug.Log("BendGoal is deprecated, you can now a bend goal from the custom inspector of the LimbIK component.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(_stringLiteral90D4288C6B341752EE3EFA0E470F28224EE3B953, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.BendGoal::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BendGoal_LateUpdate_m435F655A1B8E2F76F2ED2DDE09C024B7B27A8716 (BendGoal_t98975872CE7B157D702E80B9AD2D66715BBA096D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (limbIK == null) return;
|
|
LimbIK_tB704FB4BE269E2A84D213D61DE6B1C31696C6E72* L_0 = __this->___limbIK_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (limbIK == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// limbIK.solver.SetBendGoalPosition(transform.position, weight);
|
|
LimbIK_tB704FB4BE269E2A84D213D61DE6B1C31696C6E72* L_2 = __this->___limbIK_4;
|
|
NullCheck(L_2);
|
|
IKSolverLimb_t4BAB5C0E008B3E8E2B673F54E7AAF1F3012887F1* L_3 = L_2->___solver_10;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4;
|
|
L_4 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_4, NULL);
|
|
float L_6 = __this->___weight_5;
|
|
NullCheck(L_3);
|
|
IKSolverTrigonometric_SetBendGoalPosition_m2CD4C2FC70824E44C00BB38E33D89DE0554031B2(L_3, L_5, L_6, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.BendGoal::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BendGoal__ctor_m947BF66F9274C88F51FF83C5B4E748A867027A3C (BendGoal_t98975872CE7B157D702E80B9AD2D66715BBA096D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float weight = 1f;
|
|
__this->___weight_5 = (1.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.Turret::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Turret_Update_m8E231F7B29AD251580B1ED6FA40181822140FE28 (Turret_t6C460B711013A02063AD52E428C27497D45517D7* __this, const RuntimeMethod* method)
|
|
{
|
|
PartU5BU5D_t4733C63BF751A72B9C4FEFD10B0E0D58AF024492* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// foreach (Part part in parts) part.AimAt(target);
|
|
PartU5BU5D_t4733C63BF751A72B9C4FEFD10B0E0D58AF024492* L_0 = __this->___parts_5;
|
|
V_0 = L_0;
|
|
V_1 = 0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// foreach (Part part in parts) part.AimAt(target);
|
|
PartU5BU5D_t4733C63BF751A72B9C4FEFD10B0E0D58AF024492* L_1 = V_0;
|
|
int32_t L_2 = V_1;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
// foreach (Part part in parts) part.AimAt(target);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = __this->___target_4;
|
|
NullCheck(L_4);
|
|
Part_AimAt_m362C7E1FE1F8395F31E6A120BCC5FD09AD5FBCD7(L_4, L_5, NULL);
|
|
int32_t L_6 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// foreach (Part part in parts) part.AimAt(target);
|
|
int32_t L_7 = V_1;
|
|
PartU5BU5D_t4733C63BF751A72B9C4FEFD10B0E0D58AF024492* L_8 = V_0;
|
|
NullCheck(L_8);
|
|
if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.Turret::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Turret__ctor_mADBC4F6759C1B630D72F6AF71DD99715FC5BA53E (Turret_t6C460B711013A02063AD52E428C27497D45517D7* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.Turret/Part::AimAt(UnityEngine.Transform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Part_AimAt_m362C7E1FE1F8395F31E6A120BCC5FD09AD5FBCD7 (Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_target, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9_m6797F304F01D51B971E73EEC59632AC0ED0E8443_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// transform.LookAt(target.position, transform.up);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___transform_0;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1 = ___0_target;
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_1, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = __this->___transform_0;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Transform_get_up_mE47A9D9D96422224DD0539AA5524DA5440145BB2(L_3, NULL);
|
|
NullCheck(L_0);
|
|
Transform_LookAt_mBD38EDB5E915C5DA6C5A79D191DEE2C826A9FC2C(L_0, L_2, L_4, NULL);
|
|
// if (rotationLimit == null) {
|
|
RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9* L_5 = __this->___rotationLimit_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_6;
|
|
L_6 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_5, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_6)
|
|
{
|
|
goto IL_0046;
|
|
}
|
|
}
|
|
{
|
|
// rotationLimit = transform.GetComponent<RotationLimit>();
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = __this->___transform_0;
|
|
NullCheck(L_7);
|
|
RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9* L_8;
|
|
L_8 = Component_GetComponent_TisRotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9_m6797F304F01D51B971E73EEC59632AC0ED0E8443(L_7, Component_GetComponent_TisRotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9_m6797F304F01D51B971E73EEC59632AC0ED0E8443_RuntimeMethod_var);
|
|
__this->___rotationLimit_1 = L_8;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___rotationLimit_1), (void*)L_8);
|
|
// rotationLimit.Disable();
|
|
RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9* L_9 = __this->___rotationLimit_1;
|
|
NullCheck(L_9);
|
|
RotationLimit_Disable_mB342EF44F0CCCF281F77169A33721A856E893B4E(L_9, NULL);
|
|
}
|
|
|
|
IL_0046:
|
|
{
|
|
// rotationLimit.Apply();
|
|
RotationLimit_t7A68DEEE9DBC0895E8B965A8CF1ADDCE314A27F9* L_10 = __this->___rotationLimit_1;
|
|
NullCheck(L_10);
|
|
bool L_11;
|
|
L_11 = RotationLimit_Apply_m9159A9138AAED151CE1ECCBD4AEF1EA019E7F617(L_10, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.Turret/Part::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Part__ctor_m0A7F61522E92129E7B41BFE27FEE640E55C43E48 (Part_t5ABA592A0E0CB7FABA146D307178F4020CB871C6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.HitReactionVRIKTrigger::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HitReactionVRIKTrigger_Update_m373BB80BD328A9DD3A4E5BA47F5C9872E7C310AE (HitReactionVRIKTrigger_t6A78E4680C6307ABCAC9C3937C58014CC9092489* __this, const RuntimeMethod* method)
|
|
{
|
|
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// if (Input.GetMouseButtonDown(0)) {
|
|
bool L_0;
|
|
L_0 = Input_GetMouseButtonDown_m8DFC792D15FFF15D311614D5CC6C5D055E5A1DE3(0, NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_1;
|
|
L_1 = Camera_get_main_m52C992F18E05355ABB9EEB64A4BF2215E12762DF(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Input_get_mousePosition_mFF21FBD2647DAE2A23BD4C45571CA95D05A0A42C(NULL);
|
|
NullCheck(L_1);
|
|
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 L_3;
|
|
L_3 = Camera_ScreenPointToRay_m2887B9A49880B7AB670C57D66B67D6A6689FE315(L_1, L_2, NULL);
|
|
V_0 = L_3;
|
|
// RaycastHit hit = new RaycastHit();
|
|
il2cpp_codegen_initobj((&V_1), sizeof(RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5));
|
|
// if (Physics.Raycast(ray, out hit, 100f)) {
|
|
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 L_4 = V_0;
|
|
bool L_5;
|
|
L_5 = Physics_Raycast_m839BA104A76B928A03F075C622923C6FCD2F8685(L_4, (&V_1), (100.0f), NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// hitReaction.Hit(hit.collider, ray.direction * hitForce, hit.point);
|
|
HitReactionVRIK_t78F94F27FA72855C6F113EFE34D4B0F67590346C* L_6 = __this->___hitReaction_4;
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_7;
|
|
L_7 = RaycastHit_get_collider_m84B160439BBEAB6D9E94B799F720E25C9E2D444D((&V_1), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Ray_get_direction_m21C2D22D3BD4A683BD4DC191AB22DD05F5EC2086((&V_0), NULL);
|
|
float L_9 = __this->___hitForce_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_8, L_9, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39((&V_1), NULL);
|
|
NullCheck(L_6);
|
|
HitReactionVRIK_Hit_mA67C3559C3839C78BD8C7967C1534053A323A02F(L_6, L_7, L_10, L_11, NULL);
|
|
// colliderName = hit.collider.name;
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_12;
|
|
L_12 = RaycastHit_get_collider_m84B160439BBEAB6D9E94B799F720E25C9E2D444D((&V_1), NULL);
|
|
NullCheck(L_12);
|
|
String_t* L_13;
|
|
L_13 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_12, NULL);
|
|
__this->___colliderName_6 = L_13;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___colliderName_6), (void*)L_13);
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.HitReactionVRIKTrigger::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HitReactionVRIKTrigger_OnGUI_mC4FF55D4E9E8137CC78200D5CDEF2734852E1F9D (HitReactionVRIKTrigger_t6A78E4680C6307ABCAC9C3937C58014CC9092489* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral37564C7A8F8783C5ABCE419B99E2251CA6571569);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF9E4C3B5C3166D85BC1C56AFC4D9F965A73F297A);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// GUILayout.Label("LMB to shoot the Dummy, RMB to rotate the camera.");
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_0;
|
|
L_0 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
GUILayout_Label_m1709C16A433383CCFC1FEA0E585E14CBD78CD94B(_stringLiteralF9E4C3B5C3166D85BC1C56AFC4D9F965A73F297A, L_0, NULL);
|
|
// if (colliderName != string.Empty) GUILayout.Label("Last Bone Hit: " + colliderName);
|
|
String_t* L_1 = __this->___colliderName_6;
|
|
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
bool L_3;
|
|
L_3 = String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6(L_1, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
// if (colliderName != string.Empty) GUILayout.Label("Last Bone Hit: " + colliderName);
|
|
String_t* L_4 = __this->___colliderName_6;
|
|
String_t* L_5;
|
|
L_5 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral37564C7A8F8783C5ABCE419B99E2251CA6571569, L_4, NULL);
|
|
GUILayoutOptionU5BU5D_t24AB80AB9355D784F2C65E12A4D0CC2E0C914CA2* L_6;
|
|
L_6 = Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_inline(Array_Empty_TisGUILayoutOption_t8B0AA056521747053A3176FCC43E9C3608940A14_mC7F345AC4C0CA86560FAA00174268F70FBBE577F_RuntimeMethod_var);
|
|
GUILayout_Label_m1709C16A433383CCFC1FEA0E585E14CBD78CD94B(L_5, L_6, NULL);
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.HitReactionVRIKTrigger::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HitReactionVRIKTrigger__ctor_mA836C8A190C47134E72CAECF6974CFCC27067BD7 (HitReactionVRIKTrigger_t6A78E4680C6307ABCAC9C3937C58014CC9092489* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float hitForce = 1f;
|
|
__this->___hitForce_5 = (1.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.VRController::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRController_Update_mBAF94DAE50E5912199EF6AF4B880B2E407A7416C (VRController_tEFE53020BB532DAE5FFB43A229B556D2081446A2* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
bool V_1 = false;
|
|
float V_2 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
{
|
|
// Vector3 input = GetInput();
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = VRController_GetInput_mB2AE6488CB042CE30C01FD8A63E2A09FB0804D13(__this, NULL);
|
|
V_0 = L_0;
|
|
// input *= ik.solver.scale;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_2 = __this->___ik_5;
|
|
NullCheck(L_2);
|
|
IKSolverVR_tCD6C0842AEECB6BB4E524A21474E3964D8D188A8* L_3 = L_2->___solver_11;
|
|
NullCheck(L_3);
|
|
float L_4 = L_3->___scale_31;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_1, L_4, NULL);
|
|
V_0 = L_5;
|
|
// float fDot = Vector3.Dot(input, Vector3.forward);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
float L_8;
|
|
L_8 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_6, L_7, NULL);
|
|
// bool f = fDot > 0f;
|
|
V_1 = (bool)((((float)L_8) > ((float)(0.0f)))? 1 : 0);
|
|
// float s = walkSpeed;
|
|
float L_9 = __this->___walkSpeed_7;
|
|
V_2 = L_9;
|
|
// if (Input.GetKey(KeyCode.LeftShift))
|
|
bool L_10;
|
|
L_10 = Input_GetKey_mE5681EF775F3CEBA7EAD7C63984F7B34C8E8D434(((int32_t)304), NULL);
|
|
if (!L_10)
|
|
{
|
|
goto IL_0059;
|
|
}
|
|
}
|
|
{
|
|
// s = runSpeed;
|
|
float L_11 = __this->___runSpeed_8;
|
|
V_2 = L_11;
|
|
// if (f) s *= runForwardSpeedMlp; // Walk faster/slower when moving forward
|
|
bool L_12 = V_1;
|
|
if (!L_12)
|
|
{
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
{
|
|
// if (f) s *= runForwardSpeedMlp; // Walk faster/slower when moving forward
|
|
float L_13 = V_2;
|
|
float L_14 = __this->___runForwardSpeedMlp_10;
|
|
V_2 = ((float)il2cpp_codegen_multiply(L_13, L_14));
|
|
goto IL_0065;
|
|
}
|
|
|
|
IL_0059:
|
|
{
|
|
// if (f) s *= walkForwardSpeedMlp; // Run faster/slower when moving forward
|
|
bool L_15 = V_1;
|
|
if (!L_15)
|
|
{
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
{
|
|
// if (f) s *= walkForwardSpeedMlp; // Run faster/slower when moving forward
|
|
float L_16 = V_2;
|
|
float L_17 = __this->___walkForwardSpeedMlp_9;
|
|
V_2 = ((float)il2cpp_codegen_multiply(L_16, L_17));
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// smoothInput = Vector3.SmoothDamp(smoothInput, input * s, ref smoothInputV, 0.1f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = __this->___smoothInput_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_0;
|
|
float L_20 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
L_21 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_19, L_20, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_22 = (&__this->___smoothInputV_12);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Vector3_SmoothDamp_mF673AC30464B7DF671A0556140EB6E9DD75827ED_inline(L_18, L_21, L_22, (0.100000001f), NULL);
|
|
__this->___smoothInput_11 = L_23;
|
|
// Vector3 forward = centerEyeAnchor.forward;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24 = __this->___centerEyeAnchor_6;
|
|
NullCheck(L_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Transform_get_forward_mFCFACF7165FDAB21E80E384C494DF278386CEE2F(L_24, NULL);
|
|
V_3 = L_25;
|
|
// forward.y = 0f;
|
|
(&V_3)->___y_3 = (0.0f);
|
|
// Quaternion avatarSpace = Quaternion.LookRotation(forward);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27;
|
|
L_27 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_26, NULL);
|
|
V_4 = L_27;
|
|
// transform.position += avatarSpace * smoothInput * Time.deltaTime;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_28;
|
|
L_28 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_29 = L_28;
|
|
NullCheck(L_29);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_29, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_31 = V_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = __this->___smoothInput_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_31, L_32, NULL);
|
|
float L_34;
|
|
L_34 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_33, L_34, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
|
|
L_36 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_30, L_35, NULL);
|
|
NullCheck(L_29);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_29, L_36, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 RootMotion.Demos.VRController::GetInput()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VRController_GetInput_mB2AE6488CB042CE30C01FD8A63E2A09FB0804D13 (VRController_tEFE53020BB532DAE5FFB43A229B556D2081446A2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral265E15F1F86F1C766555899D5771CF29055DE75A);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7F8C014BD4810CC276D0F9F81A1E759C7B098B1E);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
int32_t V_2 = 0;
|
|
{
|
|
// switch (inputMode)
|
|
int32_t L_0 = __this->___inputMode_4;
|
|
V_2 = L_0;
|
|
int32_t L_1 = V_2;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_2;
|
|
if ((((int32_t)L_2) == ((int32_t)1)))
|
|
{
|
|
goto IL_004f;
|
|
}
|
|
}
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// Vector3 v = new Vector3(Input.GetAxisRaw("Horizontal"), 0f, Input.GetAxisRaw("Vertical"));
|
|
float L_3;
|
|
L_3 = Input_GetAxisRaw_m47C0CF8E090561A2F407A4E11D5F2A45044EB8E4(_stringLiteral7F8C014BD4810CC276D0F9F81A1E759C7B098B1E, NULL);
|
|
float L_4;
|
|
L_4 = Input_GetAxisRaw_m47C0CF8E090561A2F407A4E11D5F2A45044EB8E4(_stringLiteral265E15F1F86F1C766555899D5771CF29055DE75A, NULL);
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_0), L_3, (0.0f), L_4, NULL);
|
|
// if (v.sqrMagnitude < 0.3f) return Vector3.zero;
|
|
float L_5;
|
|
L_5 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_0), NULL);
|
|
if ((!(((float)L_5) < ((float)(0.300000012f)))))
|
|
{
|
|
goto IL_0047;
|
|
}
|
|
}
|
|
{
|
|
// if (v.sqrMagnitude < 0.3f) return Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
return L_6;
|
|
}
|
|
|
|
IL_0047:
|
|
{
|
|
// return v.normalized;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_0), NULL);
|
|
return L_7;
|
|
}
|
|
|
|
IL_004f:
|
|
{
|
|
// Vector3 input = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_1 = L_8;
|
|
// if (Input.GetKey(KeyCode.W)) input += Vector3.forward;
|
|
bool L_9;
|
|
L_9 = Input_GetKey_mE5681EF775F3CEBA7EAD7C63984F7B34C8E8D434(((int32_t)119), NULL);
|
|
if (!L_9)
|
|
{
|
|
goto IL_006a;
|
|
}
|
|
}
|
|
{
|
|
// if (Input.GetKey(KeyCode.W)) input += Vector3.forward;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_10, L_11, NULL);
|
|
V_1 = L_12;
|
|
}
|
|
|
|
IL_006a:
|
|
{
|
|
// if (Input.GetKey(KeyCode.S)) input += Vector3.back;
|
|
bool L_13;
|
|
L_13 = Input_GetKey_mE5681EF775F3CEBA7EAD7C63984F7B34C8E8D434(((int32_t)115), NULL);
|
|
if (!L_13)
|
|
{
|
|
goto IL_007f;
|
|
}
|
|
}
|
|
{
|
|
// if (Input.GetKey(KeyCode.S)) input += Vector3.back;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_14, L_15, NULL);
|
|
V_1 = L_16;
|
|
}
|
|
|
|
IL_007f:
|
|
{
|
|
// if (Input.GetKey(KeyCode.A)) input += Vector3.left;
|
|
bool L_17;
|
|
L_17 = Input_GetKey_mE5681EF775F3CEBA7EAD7C63984F7B34C8E8D434(((int32_t)97), NULL);
|
|
if (!L_17)
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
// if (Input.GetKey(KeyCode.A)) input += Vector3.left;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = Vector3_get_left_m8C1116485A9E689760AEE1142F5977852278B7E1_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
L_20 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_18, L_19, NULL);
|
|
V_1 = L_20;
|
|
}
|
|
|
|
IL_0094:
|
|
{
|
|
// if (Input.GetKey(KeyCode.D)) input += Vector3.right;
|
|
bool L_21;
|
|
L_21 = Input_GetKey_mE5681EF775F3CEBA7EAD7C63984F7B34C8E8D434(((int32_t)100), NULL);
|
|
if (!L_21)
|
|
{
|
|
goto IL_00a9;
|
|
}
|
|
}
|
|
{
|
|
// if (Input.GetKey(KeyCode.D)) input += Vector3.right;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
L_24 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_22, L_23, NULL);
|
|
V_1 = L_24;
|
|
}
|
|
|
|
IL_00a9:
|
|
{
|
|
// return input.normalized;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_1), NULL);
|
|
return L_25;
|
|
}
|
|
|
|
IL_00b1:
|
|
{
|
|
// default: return Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
return L_26;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.VRController::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRController__ctor_mD17576685AF9AA931684DCDD4F6BA8D5854ED3A6 (VRController_tEFE53020BB532DAE5FFB43A229B556D2081446A2* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float walkSpeed = 1f;
|
|
__this->___walkSpeed_7 = (1.0f);
|
|
// public float runSpeed = 3f;
|
|
__this->___runSpeed_8 = (3.0f);
|
|
// public float walkForwardSpeedMlp = 1f;
|
|
__this->___walkForwardSpeedMlp_9 = (1.0f);
|
|
// public float runForwardSpeedMlp = 1f;
|
|
__this->___runForwardSpeedMlp_10 = (1.0f);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.VRIKCalibrationBasic::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKCalibrationBasic_LateUpdate_mE4F02A77F5DE18AD17B8C6144672576D4F4F6753 (VRIKCalibrationBasic_tFB2EE185670DDB7DAFBAD4D909780F221584DA43* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2368176C6E8740752331563739901A2C48824210);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF01072AE30B2F09CAD786A2408FE56B89E6E99F6);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (Input.GetKeyDown(KeyCode.C))
|
|
bool L_0;
|
|
L_0 = Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2(((int32_t)99), NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
{
|
|
// data = VRIKCalibrator.Calibrate(ik, centerEyeAnchor, leftHandAnchor, rightHandAnchor, headAnchorPositionOffset, headAnchorRotationOffset, handAnchorPositionOffset, handAnchorRotationOffset, scaleMlp);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_1 = __this->___ik_4;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_2 = __this->___centerEyeAnchor_5;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = __this->___leftHandAnchor_8;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___rightHandAnchor_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = __this->___headAnchorPositionOffset_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = __this->___headAnchorRotationOffset_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = __this->___handAnchorPositionOffset_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = __this->___handAnchorRotationOffset_11;
|
|
float L_9 = __this->___scaleMlp_12;
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_10;
|
|
L_10 = VRIKCalibrator_Calibrate_m5E1146745E780C21D0A5903223446E1C94878BF3(L_1, L_2, L_3, L_4, L_5, L_6, L_7, L_8, L_9, NULL);
|
|
__this->___data_13 = L_10;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___data_13), (void*)L_10);
|
|
}
|
|
|
|
IL_004a:
|
|
{
|
|
// if (Input.GetKeyDown(KeyCode.D))
|
|
bool L_11;
|
|
L_11 = Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2(((int32_t)100), NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_0097;
|
|
}
|
|
}
|
|
{
|
|
// if (data.scale == 0f)
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_12 = __this->___data_13;
|
|
NullCheck(L_12);
|
|
float L_13 = L_12->___scale_0;
|
|
if ((!(((float)L_13) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0071;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("No Calibration Data to calibrate to, please calibrate with 'C' first.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral2368176C6E8740752331563739901A2C48824210, NULL);
|
|
goto IL_0097;
|
|
}
|
|
|
|
IL_0071:
|
|
{
|
|
// VRIKCalibrator.Calibrate(ik, data, centerEyeAnchor, null, leftHandAnchor, rightHandAnchor);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_14 = __this->___ik_4;
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_15 = __this->___data_13;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = __this->___centerEyeAnchor_5;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = __this->___leftHandAnchor_8;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = __this->___rightHandAnchor_9;
|
|
VRIKCalibrator_Calibrate_mC3D3EFE4784C5BC0809E7E543230FE76E5A689D7(L_14, L_15, L_16, (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL, L_17, L_18, (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL, (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*)NULL, NULL);
|
|
}
|
|
|
|
IL_0097:
|
|
{
|
|
// if (Input.GetKeyDown(KeyCode.S))
|
|
bool L_19;
|
|
L_19 = Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2(((int32_t)115), NULL);
|
|
if (!L_19)
|
|
{
|
|
goto IL_00d3;
|
|
}
|
|
}
|
|
{
|
|
// if (data.scale == 0f)
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_20 = __this->___data_13;
|
|
NullCheck(L_20);
|
|
float L_21 = L_20->___scale_0;
|
|
if ((!(((float)L_21) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_00bc;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("Avatar needs to be calibrated before RecalibrateScale is called.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteralF01072AE30B2F09CAD786A2408FE56B89E6E99F6, NULL);
|
|
}
|
|
|
|
IL_00bc:
|
|
{
|
|
// VRIKCalibrator.RecalibrateScale(ik, data, scaleMlp);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_22 = __this->___ik_4;
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_23 = __this->___data_13;
|
|
float L_24 = __this->___scaleMlp_12;
|
|
VRIKCalibrator_RecalibrateScale_mBBA5F505FF6C53354FDE65801F937292FC35EC22(L_22, L_23, L_24, NULL);
|
|
}
|
|
|
|
IL_00d3:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.VRIKCalibrationBasic::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKCalibrationBasic__ctor_m304194E6203FC5DDD96635CAF4BA87EA41E62A6C (VRIKCalibrationBasic_tFB2EE185670DDB7DAFBAD4D909780F221584DA43* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// [Tooltip("Multiplies the scale of the root.")] public float scaleMlp = 1f;
|
|
__this->___scaleMlp_12 = (1.0f);
|
|
// public VRIKCalibrator.CalibrationData data = new VRIKCalibrator.CalibrationData();
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_0 = (CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1*)il2cpp_codegen_object_new(CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
CalibrationData__ctor_m073DEA5E11EBA03BF82D2FB3AA406370F250E698(L_0, NULL);
|
|
__this->___data_13 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___data_13), (void*)L_0);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RootMotion.Demos.VRIKCalibrationController::LateUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKCalibrationController_LateUpdate_mCDE4EF8AA51DF03F83D0A1668BEAD50F3746E94E (VRIKCalibrationController_t3EC7F7D2C774EB170E9F20C23D73524FEFF44F2D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD4D0CBDD4C2A6529BD6BC6738495CB8EA49A2AAB);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF01072AE30B2F09CAD786A2408FE56B89E6E99F6);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (Input.GetKeyDown(KeyCode.C))
|
|
bool L_0;
|
|
L_0 = Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2(((int32_t)99), NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// data = VRIKCalibrator.Calibrate(ik, settings, headTracker, bodyTracker, leftHandTracker, rightHandTracker, leftFootTracker, rightFootTracker);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_1 = __this->___ik_4;
|
|
Settings_t8E009A6EE69717B08B142E1F3BE3DB8879C5515C* L_2 = __this->___settings_5;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3 = __this->___headTracker_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___bodyTracker_7;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = __this->___leftHandTracker_8;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6 = __this->___rightHandTracker_9;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_7 = __this->___leftFootTracker_10;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_8 = __this->___rightFootTracker_11;
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_9;
|
|
L_9 = VRIKCalibrator_Calibrate_m5D4A30CAAF1156F3CC20481BC27AC1074DC45E32(L_1, L_2, L_3, L_4, L_5, L_6, L_7, L_8, NULL);
|
|
__this->___data_12 = L_9;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___data_12), (void*)L_9);
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// if (Input.GetKeyDown(KeyCode.D))
|
|
bool L_10;
|
|
L_10 = Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2(((int32_t)100), NULL);
|
|
if (!L_10)
|
|
{
|
|
goto IL_00a0;
|
|
}
|
|
}
|
|
{
|
|
// if (data.scale == 0f)
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_11 = __this->___data_12;
|
|
NullCheck(L_11);
|
|
float L_12 = L_11->___scale_0;
|
|
if ((!(((float)L_12) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_006b;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("No Calibration Data to calibrate to, please calibrate with settings first.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteralD4D0CBDD4C2A6529BD6BC6738495CB8EA49A2AAB, NULL);
|
|
goto IL_00a0;
|
|
}
|
|
|
|
IL_006b:
|
|
{
|
|
// VRIKCalibrator.Calibrate(ik, data, headTracker, bodyTracker, leftHandTracker, rightHandTracker, leftFootTracker, rightFootTracker);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_13 = __this->___ik_4;
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_14 = __this->___data_12;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_15 = __this->___headTracker_6;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_16 = __this->___bodyTracker_7;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = __this->___leftHandTracker_8;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_18 = __this->___rightHandTracker_9;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19 = __this->___leftFootTracker_10;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_20 = __this->___rightFootTracker_11;
|
|
VRIKCalibrator_Calibrate_mC3D3EFE4784C5BC0809E7E543230FE76E5A689D7(L_13, L_14, L_15, L_16, L_17, L_18, L_19, L_20, NULL);
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// if (Input.GetKeyDown(KeyCode.S))
|
|
bool L_21;
|
|
L_21 = Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2(((int32_t)115), NULL);
|
|
if (!L_21)
|
|
{
|
|
goto IL_00dc;
|
|
}
|
|
}
|
|
{
|
|
// if (data.scale == 0f)
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_22 = __this->___data_12;
|
|
NullCheck(L_22);
|
|
float L_23 = L_22->___scale_0;
|
|
if ((!(((float)L_23) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_00c5;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("Avatar needs to be calibrated before RecalibrateScale is called.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteralF01072AE30B2F09CAD786A2408FE56B89E6E99F6, NULL);
|
|
}
|
|
|
|
IL_00c5:
|
|
{
|
|
// VRIKCalibrator.RecalibrateScale(ik, data, settings);
|
|
VRIK_t12C8A89E36AA18BC0C649FA253A29B7778C56CE3* L_24 = __this->___ik_4;
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_25 = __this->___data_12;
|
|
Settings_t8E009A6EE69717B08B142E1F3BE3DB8879C5515C* L_26 = __this->___settings_5;
|
|
VRIKCalibrator_RecalibrateScale_mF85241A03F08D29ECC79C0EBBE2F86436A33837D(L_24, L_25, L_26, NULL);
|
|
}
|
|
|
|
IL_00dc:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RootMotion.Demos.VRIKCalibrationController::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VRIKCalibrationController__ctor_m75C7E2779024323613C4C557BFB6D46A815515E2 (VRIKCalibrationController_t3EC7F7D2C774EB170E9F20C23D73524FEFF44F2D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public VRIKCalibrator.CalibrationData data = new VRIKCalibrator.CalibrationData();
|
|
CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1* L_0 = (CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1*)il2cpp_codegen_object_new(CalibrationData_t9B1C11436DB0406DCE42015BB786F5C9A565CEA1_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
CalibrationData__ctor_m073DEA5E11EBA03BF82D2FB3AA406370F250E698(L_0, NULL);
|
|
__this->___data_12 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___data_12), (void*)L_0);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___forwardVector_11;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___upVector_7;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_subtract(L_1, L_3)), ((float)il2cpp_codegen_subtract(L_5, L_7)), ((float)il2cpp_codegen_subtract(L_9, L_11)), /*hidden argument*/NULL);
|
|
V_0 = L_12;
|
|
goto IL_0030;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = __this->___x_2;
|
|
float L_1 = __this->___x_2;
|
|
float L_2 = __this->___y_3;
|
|
float L_3 = __this->___y_3;
|
|
float L_4 = __this->___z_4;
|
|
float L_5 = __this->___z_4;
|
|
V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3)))), ((float)il2cpp_codegen_multiply(L_4, L_5))));
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
float L_6 = V_0;
|
|
return L_6;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void VRIKRootController_set_pelvisTargetRight_m02010BDF35160169420E9FFCBB2BDAB026FEB978_inline (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 pelvisTargetRight { get; private set; }
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
|
|
__this->___U3CpelvisTargetRightU3Ek__BackingField_4 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_x;
|
|
__this->___x_2 = L_0;
|
|
float L_1 = ___1_y;
|
|
__this->___y_3 = L_1;
|
|
float L_2 = ___2_z;
|
|
__this->___z_4 = L_2;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VRIKRootController_get_pelvisTargetRight_mA9476180A56693DD58FDAF9EB92034EFD8F36D1F_inline (VRIKRootController_t96881CD657B8139B4DC8C98CFFDF1B7D134A6185* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 pelvisTargetRight { get; private set; }
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CpelvisTargetRightU3Ek__BackingField_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
|
|
float L_11 = L_10.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___0_lhs;
|
|
float L_13 = L_12.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___1_rhs;
|
|
float L_15 = L_14.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_lhs;
|
|
float L_17 = L_16.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_rhs;
|
|
float L_19 = L_18.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___0_lhs;
|
|
float L_21 = L_20.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = ___1_rhs;
|
|
float L_23 = L_22.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
memset((&L_24), 0, sizeof(L_24));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_24), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_9, L_11)), ((float)il2cpp_codegen_multiply(L_13, L_15)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_17, L_19)), ((float)il2cpp_codegen_multiply(L_21, L_23)))), /*hidden argument*/NULL);
|
|
V_0 = L_24;
|
|
goto IL_005a;
|
|
}
|
|
|
|
IL_005a:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_0;
|
|
return L_25;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_t, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
float L_0 = ___2_t;
|
|
float L_1;
|
|
L_1 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_0, NULL);
|
|
___2_t = L_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___1_b;
|
|
float L_5 = L_4.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
|
|
float L_7 = L_6.___x_2;
|
|
float L_8 = ___2_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___0_a;
|
|
float L_10 = L_9.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___1_b;
|
|
float L_12 = L_11.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___0_a;
|
|
float L_14 = L_13.___y_3;
|
|
float L_15 = ___2_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_a;
|
|
float L_17 = L_16.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_b;
|
|
float L_19 = L_18.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___0_a;
|
|
float L_21 = L_20.___z_4;
|
|
float L_22 = ___2_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
memset((&L_23), 0, sizeof(L_23));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_23), ((float)il2cpp_codegen_add(L_3, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_5, L_7)), L_8)))), ((float)il2cpp_codegen_add(L_10, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_12, L_14)), L_15)))), ((float)il2cpp_codegen_add(L_17, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_19, L_21)), L_22)))), /*hidden argument*/NULL);
|
|
V_0 = L_23;
|
|
goto IL_0053;
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_0;
|
|
return L_24;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method)
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_euler;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_0, (0.0174532924f), NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
|
|
L_2 = Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E(L_1, NULL);
|
|
V_0 = L_2;
|
|
goto IL_0014;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_lhs, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = ___0_lhs;
|
|
float L_9 = L_8.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = ___1_rhs;
|
|
float L_11 = L_10.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = ___0_lhs;
|
|
float L_13 = L_12.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = ___1_rhs;
|
|
float L_15 = L_14.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16 = ___0_lhs;
|
|
float L_17 = L_16.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18 = ___1_rhs;
|
|
float L_19 = L_18.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20 = ___0_lhs;
|
|
float L_21 = L_20.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22 = ___1_rhs;
|
|
float L_23 = L_22.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24 = ___0_lhs;
|
|
float L_25 = L_24.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26 = ___1_rhs;
|
|
float L_27 = L_26.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_28 = ___0_lhs;
|
|
float L_29 = L_28.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30 = ___1_rhs;
|
|
float L_31 = L_30.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = ___0_lhs;
|
|
float L_33 = L_32.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_34 = ___1_rhs;
|
|
float L_35 = L_34.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36 = ___0_lhs;
|
|
float L_37 = L_36.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38 = ___1_rhs;
|
|
float L_39 = L_38.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_40 = ___0_lhs;
|
|
float L_41 = L_40.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_42 = ___1_rhs;
|
|
float L_43 = L_42.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44 = ___0_lhs;
|
|
float L_45 = L_44.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_46 = ___1_rhs;
|
|
float L_47 = L_46.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_48 = ___0_lhs;
|
|
float L_49 = L_48.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_50 = ___1_rhs;
|
|
float L_51 = L_50.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52 = ___0_lhs;
|
|
float L_53 = L_52.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_54 = ___1_rhs;
|
|
float L_55 = L_54.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56 = ___0_lhs;
|
|
float L_57 = L_56.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_58 = ___1_rhs;
|
|
float L_59 = L_58.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_60 = ___0_lhs;
|
|
float L_61 = L_60.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_62 = ___1_rhs;
|
|
float L_63 = L_62.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_64;
|
|
memset((&L_64), 0, sizeof(L_64));
|
|
Quaternion__ctor_m868FD60AA65DD5A8AC0C5DEB0608381A8D85FCD8_inline((&L_64), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11)))), ((float)il2cpp_codegen_multiply(L_13, L_15)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_17, L_19)), ((float)il2cpp_codegen_multiply(L_21, L_23)))), ((float)il2cpp_codegen_multiply(L_25, L_27)))), ((float)il2cpp_codegen_multiply(L_29, L_31)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_33, L_35)), ((float)il2cpp_codegen_multiply(L_37, L_39)))), ((float)il2cpp_codegen_multiply(L_41, L_43)))), ((float)il2cpp_codegen_multiply(L_45, L_47)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_49, L_51)), ((float)il2cpp_codegen_multiply(L_53, L_55)))), ((float)il2cpp_codegen_multiply(L_57, L_59)))), ((float)il2cpp_codegen_multiply(L_61, L_63)))), /*hidden argument*/NULL);
|
|
V_0 = L_64;
|
|
goto IL_00e5;
|
|
}
|
|
|
|
IL_00e5:
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65 = V_0;
|
|
return L_65;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_add(L_1, L_3)), ((float)il2cpp_codegen_add(L_5, L_7)), ((float)il2cpp_codegen_add(L_9, L_11)), /*hidden argument*/NULL);
|
|
V_0 = L_12;
|
|
goto IL_0030;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline(L_0, NULL);
|
|
V_0 = L_1;
|
|
goto IL_000f;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = __this->___x_2;
|
|
float L_1 = __this->___x_2;
|
|
float L_2 = __this->___y_3;
|
|
float L_3 = __this->___y_3;
|
|
float L_4 = __this->___z_4;
|
|
float L_5 = __this->___z_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_6;
|
|
L_6 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3)))), ((float)il2cpp_codegen_multiply(L_4, L_5))))));
|
|
V_0 = ((float)L_6);
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
float L_7 = V_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float G_B3_0 = 0.0f;
|
|
{
|
|
float L_0 = ___0_a;
|
|
float L_1 = ___1_b;
|
|
if ((((float)L_0) > ((float)L_1)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
float L_2 = ___1_b;
|
|
G_B3_0 = L_2;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
float L_3 = ___0_a;
|
|
G_B3_0 = L_3;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
V_0 = G_B3_0;
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
float L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
float L_2 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
|
|
float L_4 = L_3.___y_3;
|
|
float L_5 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
|
|
float L_7 = L_6.___z_4;
|
|
float L_8 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), ((float)il2cpp_codegen_multiply(L_7, L_8)), /*hidden argument*/NULL);
|
|
V_0 = L_9;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_MoveTowards_m69751B5EC50D8E7127D4BB2C8D908E38808AF45D_inline (float ___0_current, float ___1_target, float ___2_maxDelta, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
float V_1 = 0.0f;
|
|
{
|
|
float L_0 = ___1_target;
|
|
float L_1 = ___0_current;
|
|
float L_2;
|
|
L_2 = fabsf(((float)il2cpp_codegen_subtract(L_0, L_1)));
|
|
float L_3 = ___2_maxDelta;
|
|
V_0 = (bool)((((int32_t)((!(((float)L_2) <= ((float)L_3)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
bool L_4 = V_0;
|
|
if (!L_4)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
float L_5 = ___1_target;
|
|
V_1 = L_5;
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
float L_6 = ___0_current;
|
|
float L_7 = ___1_target;
|
|
float L_8 = ___0_current;
|
|
float L_9;
|
|
L_9 = Mathf_Sign_m42EE1F0BC041AF14F89DED7F762BE996E2C50D8A_inline(((float)il2cpp_codegen_subtract(L_7, L_8)), NULL);
|
|
float L_10 = ___2_maxDelta;
|
|
V_1 = ((float)il2cpp_codegen_add(L_6, ((float)il2cpp_codegen_multiply(L_9, L_10))));
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
float L_11 = V_1;
|
|
return L_11;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_down_mF62B2AE7C5AC31EAC9CB62797C7190C90A7A8599_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___downVector_8;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_green_mEB001F2CD8C68C6BBAEF9101990B779D3AA2A6EF_inline (const RuntimeMethod* method)
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (0.0f), (1.0f), (0.0f), (1.0f), /*hidden argument*/NULL);
|
|
V_0 = L_0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
bool V_1 = false;
|
|
float V_2 = 0.0f;
|
|
{
|
|
float L_0 = ___0_value;
|
|
float L_1 = ___1_min;
|
|
V_0 = (bool)((((float)L_0) < ((float)L_1))? 1 : 0);
|
|
bool L_2 = V_0;
|
|
if (!L_2)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
float L_3 = ___1_min;
|
|
___0_value = L_3;
|
|
goto IL_0019;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
float L_4 = ___0_value;
|
|
float L_5 = ___2_max;
|
|
V_1 = (bool)((((float)L_4) > ((float)L_5))? 1 : 0);
|
|
bool L_6 = V_1;
|
|
if (!L_6)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
float L_7 = ___2_max;
|
|
___0_value = L_7;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
float L_8 = ___0_value;
|
|
V_2 = L_8;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
float L_9 = V_2;
|
|
return L_9;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline (float ___0_d, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_a, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_a;
|
|
float L_1 = L_0.___x_2;
|
|
float L_2 = ___0_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___1_a;
|
|
float L_4 = L_3.___y_3;
|
|
float L_5 = ___0_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_a;
|
|
float L_7 = L_6.___z_4;
|
|
float L_8 = ___0_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), ((float)il2cpp_codegen_multiply(L_7, L_8)), /*hidden argument*/NULL);
|
|
V_0 = L_9;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___zeroVector_5;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
float L_2 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
|
|
float L_4 = L_3.___y_3;
|
|
float L_5 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
|
|
float L_7 = L_6.___z_4;
|
|
float L_8 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)(L_1/L_2)), ((float)(L_4/L_5)), ((float)(L_7/L_8)), /*hidden argument*/NULL);
|
|
V_0 = L_9;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MechSpider_set_velocity_m4588D27FA66CDFA2599588661E31E58C3841D7F0_inline (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 velocity { get; private set; }
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
|
|
__this->___U3CvelocityU3Ek__BackingField_17 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Project_m85DF3CB297EC5E1A17BD6266FF65E86AB7372C9B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_onNormal, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
bool V_1 = false;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
float V_3 = 0.0f;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_onNormal;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_onNormal;
|
|
float L_2;
|
|
L_2 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_0, L_1, NULL);
|
|
V_0 = L_2;
|
|
float L_3 = V_0;
|
|
float L_4 = ((Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields*)il2cpp_codegen_static_fields_for(Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var))->___Epsilon_0;
|
|
V_1 = (bool)((((float)L_3) < ((float)L_4))? 1 : 0);
|
|
bool L_5 = V_1;
|
|
if (!L_5)
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_2 = L_6;
|
|
goto IL_004c;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___0_vector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___1_onNormal;
|
|
float L_9;
|
|
L_9 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_7, L_8, NULL);
|
|
V_3 = L_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_onNormal;
|
|
float L_11 = L_10.___x_2;
|
|
float L_12 = V_3;
|
|
float L_13 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___1_onNormal;
|
|
float L_15 = L_14.___y_3;
|
|
float L_16 = V_3;
|
|
float L_17 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_onNormal;
|
|
float L_19 = L_18.___z_4;
|
|
float L_20 = V_3;
|
|
float L_21 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
memset((&L_22), 0, sizeof(L_22));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_22), ((float)(((float)il2cpp_codegen_multiply(L_11, L_12))/L_13)), ((float)(((float)il2cpp_codegen_multiply(L_15, L_16))/L_17)), ((float)(((float)il2cpp_codegen_multiply(L_19, L_20))/L_21)), /*hidden argument*/NULL);
|
|
V_2 = L_22;
|
|
goto IL_004c;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = V_2;
|
|
return L_23;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
|
|
float L_3 = L_2.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), ((-L_1)), ((-L_3)), ((-L_5)), /*hidden argument*/NULL);
|
|
V_0 = L_6;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline (float ___0_a, float ___1_b, float ___2_t, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = ___0_a;
|
|
float L_1 = ___1_b;
|
|
float L_2 = ___0_a;
|
|
float L_3 = ___2_t;
|
|
float L_4;
|
|
L_4 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_3, NULL);
|
|
V_0 = ((float)il2cpp_codegen_add(L_0, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_1, L_2)), L_4))));
|
|
goto IL_0010;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
float L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ((Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields*)il2cpp_codegen_static_fields_for(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var))->___identityQuaternion_4;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_RotateTowards_m50EF9D609C80CD423CDA856EA3481DE2004633A3_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_from, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_to, float ___2_maxDegreesDelta, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
bool V_1 = false;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_from;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = ___1_to;
|
|
float L_2;
|
|
L_2 = Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline(L_0, L_1, NULL);
|
|
V_0 = L_2;
|
|
float L_3 = V_0;
|
|
V_1 = (bool)((((float)L_3) == ((float)(0.0f)))? 1 : 0);
|
|
bool L_4 = V_1;
|
|
if (!L_4)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = ___1_to;
|
|
V_2 = L_5;
|
|
goto IL_0030;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___0_from;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = ___1_to;
|
|
float L_8 = ___2_maxDegreesDelta;
|
|
float L_9 = V_0;
|
|
float L_10;
|
|
L_10 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline((1.0f), ((float)(L_8/L_9)), NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
|
|
L_11 = Quaternion_SlerpUnclamped_mAE7F4DF2F239831CCAA1DFB52F313E5AED52D32D(L_6, L_7, L_10, NULL);
|
|
V_2 = L_11;
|
|
goto IL_0030;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = V_2;
|
|
return L_12;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void IKSolver_SetIKPosition_mAD50B3B8887E71DA6A96F329A0A92CB65F7D2A95_inline (IKSolver_t729035AE8516952F6D1164103EC9CE467A73C623* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// IKPosition = position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
|
|
__this->___IKPosition_1 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
bool V_4 = false;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___x_2;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___y_3;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
|
|
float L_11 = L_10.___z_4;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
|
|
float L_12 = V_0;
|
|
float L_13 = V_0;
|
|
float L_14 = V_1;
|
|
float L_15 = V_1;
|
|
float L_16 = V_2;
|
|
float L_17 = V_2;
|
|
V_3 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_multiply(L_14, L_15)))), ((float)il2cpp_codegen_multiply(L_16, L_17))));
|
|
float L_18 = V_3;
|
|
V_4 = (bool)((((float)L_18) < ((float)(9.99999944E-11f)))? 1 : 0);
|
|
goto IL_0043;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
bool L_19 = V_4;
|
|
return L_19;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 MechSpider_get_velocity_m3437A8F7DB3B389FCCD0D7740D31916AC5D2CF15_inline (MechSpider_tDE5E4423C764E301586C704E9F38B4448B476ED6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 velocity { get; private set; }
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___U3CvelocityU3Ek__BackingField_17;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_2;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_3;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_4;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
|
|
float L_12 = V_0;
|
|
float L_13 = V_0;
|
|
float L_14 = V_1;
|
|
float L_15 = V_1;
|
|
float L_16 = V_2;
|
|
float L_17 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_18;
|
|
L_18 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_multiply(L_14, L_15)))), ((float)il2cpp_codegen_multiply(L_16, L_17))))));
|
|
V_3 = ((float)L_18);
|
|
goto IL_0040;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
float L_19 = V_3;
|
|
return L_19;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_r;
|
|
__this->___r_0 = L_0;
|
|
float L_1 = ___1_g;
|
|
__this->___g_1 = L_1;
|
|
float L_2 = ___2_b;
|
|
__this->___b_2 = L_2;
|
|
float L_3 = ___3_a;
|
|
__this->___a_3 = L_3;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_ClampMagnitude_mF83675F19744F58E97CF24D8359A810634DC031F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, float ___1_maxLength, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
bool V_1 = false;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
float V_5 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
{
|
|
float L_0;
|
|
L_0 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&___0_vector), NULL);
|
|
V_0 = L_0;
|
|
float L_1 = V_0;
|
|
float L_2 = ___1_maxLength;
|
|
float L_3 = ___1_maxLength;
|
|
V_1 = (bool)((((float)L_1) > ((float)((float)il2cpp_codegen_multiply(L_2, L_3))))? 1 : 0);
|
|
bool L_4 = V_1;
|
|
if (!L_4)
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
float L_5 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_6;
|
|
L_6 = sqrt(((double)L_5));
|
|
V_2 = ((float)L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___0_vector;
|
|
float L_8 = L_7.___x_2;
|
|
float L_9 = V_2;
|
|
V_3 = ((float)(L_8/L_9));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
|
|
float L_11 = L_10.___y_3;
|
|
float L_12 = V_2;
|
|
V_4 = ((float)(L_11/L_12));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___0_vector;
|
|
float L_14 = L_13.___z_4;
|
|
float L_15 = V_2;
|
|
V_5 = ((float)(L_14/L_15));
|
|
float L_16 = V_3;
|
|
float L_17 = ___1_maxLength;
|
|
float L_18 = V_4;
|
|
float L_19 = ___1_maxLength;
|
|
float L_20 = V_5;
|
|
float L_21 = ___1_maxLength;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
memset((&L_22), 0, sizeof(L_22));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_22), ((float)il2cpp_codegen_multiply(L_16, L_17)), ((float)il2cpp_codegen_multiply(L_18, L_19)), ((float)il2cpp_codegen_multiply(L_20, L_21)), /*hidden argument*/NULL);
|
|
V_6 = L_22;
|
|
goto IL_0053;
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = ___0_vector;
|
|
V_6 = L_23;
|
|
goto IL_0053;
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_6;
|
|
return L_24;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_from, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_to, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
bool V_2 = false;
|
|
float V_3 = 0.0f;
|
|
{
|
|
float L_0;
|
|
L_0 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&___0_from), NULL);
|
|
float L_1;
|
|
L_1 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&___1_to), NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_2;
|
|
L_2 = sqrt(((double)((float)il2cpp_codegen_multiply(L_0, L_1))));
|
|
V_0 = ((float)L_2);
|
|
float L_3 = V_0;
|
|
V_2 = (bool)((((float)L_3) < ((float)(1.0E-15f)))? 1 : 0);
|
|
bool L_4 = V_2;
|
|
if (!L_4)
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
V_3 = (0.0f);
|
|
goto IL_0056;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___0_from;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_to;
|
|
float L_7;
|
|
L_7 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_5, L_6, NULL);
|
|
float L_8 = V_0;
|
|
float L_9;
|
|
L_9 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)(L_7/L_8)), (-1.0f), (1.0f), NULL);
|
|
V_1 = L_9;
|
|
float L_10 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_11;
|
|
L_11 = acos(((double)L_10));
|
|
V_3 = ((float)il2cpp_codegen_multiply(((float)L_11), (57.2957802f)));
|
|
goto IL_0056;
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
float L_12 = V_3;
|
|
return L_12;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_rhs;
|
|
bool L_2;
|
|
L_2 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_0, L_1, NULL);
|
|
V_0 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
goto IL_000e;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool SimpleLocomotion_get_isGrounded_mBB52FDDFD43FFBE316BCA4EB0202E1EFEAFA61BF_inline (SimpleLocomotion_t5C40DF535664F3EF4CC54452166672EA480285BE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool isGrounded { get; private set; }
|
|
bool L_0 = __this->___U3CisGroundedU3Ek__BackingField_10;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___oneVector_6;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_SmoothDamp_m3A255A356924421B4042AAD1623EF46F92A08C91_inline (float ___0_current, float ___1_target, float* ___2_currentVelocity, float ___3_smoothTime, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
{
|
|
float L_0;
|
|
L_0 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
V_0 = L_0;
|
|
V_1 = (std::numeric_limits<float>::infinity());
|
|
float L_1 = ___0_current;
|
|
float L_2 = ___1_target;
|
|
float* L_3 = ___2_currentVelocity;
|
|
float L_4 = ___3_smoothTime;
|
|
float L_5 = V_1;
|
|
float L_6 = V_0;
|
|
float L_7;
|
|
L_7 = Mathf_SmoothDamp_mBE7ABB6B59D198BE8ABE42942452CC7B813A5248(L_1, L_2, L_3, L_4, L_5, L_6, NULL);
|
|
V_2 = L_7;
|
|
goto IL_001b;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
float L_8 = V_2;
|
|
return L_8;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* InteractionSystem_get_ik_m82A1FABCA49ED47E63901B9258EBAB49BE95EFD8_inline (InteractionSystem_t55E3E3712D4FD583F34487809D2E5E3A898CC595* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return fullBody;
|
|
FullBodyBipedIK_tA74E21F4C4A86F5332C03814B60632E900B59E31* L_0 = __this->___fullBody_22;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___rightVector_10;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool CharacterThirdPerson_get_onGround_m9C9555A5C749F8F337E48584713AC44497253957_inline (CharacterThirdPerson_t701D066717AA31A81BCCB2B926375896F0F18CF9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool onGround { get; private set; }
|
|
bool L_0 = __this->___U3ConGroundU3Ek__BackingField_48;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_SmoothDamp_mDA140F463AE64757F8DEBBE9806F50031732046A_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_current, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_target, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___2_currentVelocity, float ___3_smoothTime, float ___4_maxSpeed, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
float L_0;
|
|
L_0 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
V_0 = L_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_current;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_target;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_3 = ___2_currentVelocity;
|
|
float L_4 = ___3_smoothTime;
|
|
float L_5 = ___4_maxSpeed;
|
|
float L_6 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_SmoothDamp_mAF61EA22D4906BF87DD00A91FB4F6AC0C54C495A(L_1, L_2, L_3, L_4, L_5, L_6, NULL);
|
|
V_1 = L_7;
|
|
goto IL_0016;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_1;
|
|
return L_8;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
|
|
float L_11 = L_10.___z_4;
|
|
V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))));
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
float L_12 = V_0;
|
|
return L_12;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_SmoothDamp_mF673AC30464B7DF671A0556140EB6E9DD75827ED_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_current, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_target, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___2_currentVelocity, float ___3_smoothTime, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
float L_0;
|
|
L_0 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
V_0 = L_0;
|
|
V_1 = (std::numeric_limits<float>::infinity());
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_current;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_target;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_3 = ___2_currentVelocity;
|
|
float L_4 = ___3_smoothTime;
|
|
float L_5 = V_1;
|
|
float L_6 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_SmoothDamp_mAF61EA22D4906BF87DD00A91FB4F6AC0C54C495A(L_1, L_2, L_3, L_4, L_5, L_6, NULL);
|
|
V_2 = L_7;
|
|
goto IL_001b;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_2;
|
|
return L_8;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___backVector_12;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_left_m8C1116485A9E689760AEE1142F5977852278B7E1_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___leftVector_9;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* Array_Empty_TisRuntimeObject_mFB8A63D602BB6974D31E20300D9EB89C6FE7C278_gshared_inline (const RuntimeMethod* method)
|
|
{
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(il2cpp_rgctx_data(method->rgctx_data, 0));
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_0 = ((EmptyArray_1_tDF0DD7256B115243AA6BD5558417387A734240EE_StaticFields*)il2cpp_codegen_static_fields_for(il2cpp_rgctx_data(method->rgctx_data, 0)))->___Value_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
float V_1 = 0.0f;
|
|
bool V_2 = false;
|
|
{
|
|
float L_0 = ___0_value;
|
|
V_0 = (bool)((((float)L_0) < ((float)(0.0f)))? 1 : 0);
|
|
bool L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
V_1 = (0.0f);
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
float L_2 = ___0_value;
|
|
V_2 = (bool)((((float)L_2) > ((float)(1.0f)))? 1 : 0);
|
|
bool L_3 = V_2;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
V_1 = (1.0f);
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
float L_4 = ___0_value;
|
|
V_1 = L_4;
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
float L_5 = V_1;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Quaternion__ctor_m868FD60AA65DD5A8AC0C5DEB0608381A8D85FCD8_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* __this, float ___0_x, float ___1_y, float ___2_z, float ___3_w, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_x;
|
|
__this->___x_0 = L_0;
|
|
float L_1 = ___1_y;
|
|
__this->___y_1 = L_1;
|
|
float L_2 = ___2_z;
|
|
__this->___z_2 = L_2;
|
|
float L_3 = ___3_w;
|
|
__this->___w_3 = L_3;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
bool V_1 = false;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
|
|
float L_1;
|
|
L_1 = Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline(L_0, NULL);
|
|
V_0 = L_1;
|
|
float L_2 = V_0;
|
|
V_1 = (bool)((((float)L_2) > ((float)(9.99999975E-06f)))? 1 : 0);
|
|
bool L_3 = V_1;
|
|
if (!L_3)
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_value;
|
|
float L_5 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_4, L_5, NULL);
|
|
V_2 = L_6;
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_2 = L_7;
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_2;
|
|
return L_8;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Sign_m42EE1F0BC041AF14F89DED7F762BE996E2C50D8A_inline (float ___0_f, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float G_B3_0 = 0.0f;
|
|
{
|
|
float L_0 = ___0_f;
|
|
if ((((float)L_0) >= ((float)(0.0f))))
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = (-1.0f);
|
|
goto IL_0015;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
G_B3_0 = (1.0f);
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
V_0 = G_B3_0;
|
|
goto IL_0018;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
float L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float G_B3_0 = 0.0f;
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_a;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = ___1_b;
|
|
float L_2;
|
|
L_2 = Quaternion_Dot_mF9D3BE33940A47979DADA7E81650AEB356D5D12B_inline(L_0, L_1, NULL);
|
|
float L_3;
|
|
L_3 = fabsf(L_2);
|
|
float L_4;
|
|
L_4 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(L_3, (1.0f), NULL);
|
|
V_0 = L_4;
|
|
float L_5 = V_0;
|
|
bool L_6;
|
|
L_6 = Quaternion_IsEqualUsingDot_m9C672201C918C2D1E739F559DBE4406F95997CBD_inline(L_5, NULL);
|
|
if (L_6)
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
float L_7 = V_0;
|
|
float L_8;
|
|
L_8 = acosf(L_7);
|
|
G_B3_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_8, (2.0f))), (57.2957802f)));
|
|
goto IL_0039;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
G_B3_0 = (0.0f);
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
V_1 = G_B3_0;
|
|
goto IL_003c;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
float L_9 = V_1;
|
|
return L_9;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float G_B3_0 = 0.0f;
|
|
{
|
|
float L_0 = ___0_a;
|
|
float L_1 = ___1_b;
|
|
if ((((float)L_0) < ((float)L_1)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
float L_2 = ___1_b;
|
|
G_B3_0 = L_2;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
float L_3 = ___0_a;
|
|
G_B3_0 = L_3;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
V_0 = G_B3_0;
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
float L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_vector;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_vector;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_vector;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_vector;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_vector;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
|
|
float L_11 = L_10.___z_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_12;
|
|
L_12 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))))));
|
|
V_0 = ((float)L_12);
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
float L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Quaternion_Dot_mF9D3BE33940A47979DADA7E81650AEB356D5D12B_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = ___0_a;
|
|
float L_13 = L_12.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = ___1_b;
|
|
float L_15 = L_14.___w_3;
|
|
V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11)))), ((float)il2cpp_codegen_multiply(L_13, L_15))));
|
|
goto IL_003b;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
float L_16 = V_0;
|
|
return L_16;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Quaternion_IsEqualUsingDot_m9C672201C918C2D1E739F559DBE4406F95997CBD_inline (float ___0_dot, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
float L_0 = ___0_dot;
|
|
V_0 = (bool)((((float)L_0) > ((float)(0.999998987f)))? 1 : 0);
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
bool L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|