57 lines
1.9 KiB
C#
57 lines
1.9 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using RootMotion.FinalIK;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.Demos
|
|
{
|
|
// Token: 0x020003BD RID: 957
|
|
[Token(Token = "0x20003BD")]
|
|
[RequireComponent(typeof(FullBodyBipedIK))]
|
|
public class CharacterAnimationThirdPersonIK : CharacterAnimationThirdPerson
|
|
{
|
|
// Token: 0x06002360 RID: 9056 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002360")]
|
|
[Address(RVA = "0x1087410", Offset = "0x1085C10", VA = "0x181087410", Slot = "6")]
|
|
protected override void Start()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002361 RID: 9057 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002361")]
|
|
[Address(RVA = "0x1086FF0", Offset = "0x10857F0", VA = "0x181086FF0", Slot = "7")]
|
|
protected override void LateUpdate()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002362 RID: 9058 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002362")]
|
|
[Address(RVA = "0x1087250", Offset = "0x1085A50", VA = "0x181087250")]
|
|
private void RotateEffector(IKEffector effector, Quaternion rotation, float mlp)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002363 RID: 9059 RVA: 0x000510C8 File Offset: 0x0004F2C8
|
|
[Token(Token = "0x6002363")]
|
|
[Address(RVA = "0x10874E0", Offset = "0x1085CE0", VA = "0x1810874E0")]
|
|
public CharacterAnimationThirdPersonIK()
|
|
{
|
|
this.turnSensitivity = 0.2f;
|
|
this.turnSpeed = 5f;
|
|
this.runCycleLegOffset = 0.2f;
|
|
this.animSpeedMultiplier = 1f;
|
|
this.smoothFollow = true;
|
|
this.smoothFollowSpeed = 20f;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04002CC8 RID: 11464
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4002CC8")]
|
|
private FullBodyBipedIK ik;
|
|
}
|
|
}
|