using System; using Cpp2IlInjected; using UnityEngine; namespace RootMotion.Demos { // Token: 0x020003C9 RID: 969 [Token(Token = "0x20003C9")] public class MotionAbsorbCharacter : MonoBehaviour { // Token: 0x0600237B RID: 9083 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600237B")] [Address(RVA = "0xBC7E50", Offset = "0xBC6C50", VA = "0x180BC7E50")] private void Start() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600237C RID: 9084 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600237C")] [Address(RVA = "0xBC8050", Offset = "0xBC6E50", VA = "0x180BC8050")] private void Update() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600237D RID: 9085 RVA: 0x00051354 File Offset: 0x0004F554 [Token(Token = "0x600237D")] [Address(RVA = "0xBC7ED0", Offset = "0xBC6CD0", VA = "0x180BC7ED0")] private void SwingStart() { Rigidbody rigidbody = this.cubeRigidbody; int num = 0; Vector3 insideUnitSphere = UnityEngine.Random.insideUnitSphere; rigidbody.MovePosition(num); Rigidbody rigidbody2 = this.cubeRigidbody; int num2 = 0; Quaternion identity = Quaternion.identity; rigidbody2.MoveRotation(num2); Rigidbody rigidbody3 = this.cubeRigidbody; int num3 = 0; Vector3 zero = Vector3.zero; rigidbody3.velocity = num3; Rigidbody rigidbody4 = this.cubeRigidbody; int num4 = 0; float z = Vector3.zero.z; rigidbody4.angularVelocity = num4; } // Token: 0x0600237E RID: 9086 RVA: 0x000513D4 File Offset: 0x0004F5D4 [Token(Token = "0x600237E")] [Address(RVA = "0xBC8110", Offset = "0xBC6F10", VA = "0x180BC8110")] public MotionAbsorbCharacter() { } // Token: 0x04002CFE RID: 11518 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4002CFE")] public Animator animator; // Token: 0x04002CFF RID: 11519 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4002CFF")] public MotionAbsorb motionAbsorb; // Token: 0x04002D00 RID: 11520 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4002D00")] public Transform cube; // Token: 0x04002D01 RID: 11521 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4002D01")] public float cubeRandomPosition = 0.1f; // Token: 0x04002D02 RID: 11522 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4002D02")] public AnimationCurve motionAbsorbWeight; // Token: 0x04002D03 RID: 11523 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4002D03")] private Vector3 cubeDefaultPosition; // Token: 0x04002D04 RID: 11524 [FieldOffset(Offset = "0x4C")] [Token(Token = "0x4002D04")] private AnimatorStateInfo info; // Token: 0x04002D05 RID: 11525 [FieldOffset(Offset = "0x70")] [Token(Token = "0x4002D05")] private Rigidbody cubeRigidbody; } }