57 lines
1.8 KiB
C#
57 lines
1.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using RootMotion.FinalIK;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.Demos
|
|
{
|
|
// Token: 0x0200040C RID: 1036
|
|
[Token(Token = "0x200040C")]
|
|
[RequireComponent(typeof(FullBodyBipedIK))]
|
|
public class CharacterAnimationThirdPersonIK : CharacterAnimationThirdPerson
|
|
{
|
|
// Token: 0x060025F7 RID: 9719 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60025F7")]
|
|
[Address(RVA = "0xB93DF0", Offset = "0xB92DF0", VA = "0x180B93DF0", Slot = "6")]
|
|
protected override void Start()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060025F8 RID: 9720 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60025F8")]
|
|
[Address(RVA = "0xB939D0", Offset = "0xB929D0", VA = "0x180B939D0", Slot = "7")]
|
|
protected override void LateUpdate()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060025F9 RID: 9721 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60025F9")]
|
|
[Address(RVA = "0xB93C30", Offset = "0xB92C30", VA = "0x180B93C30")]
|
|
private void RotateEffector(IKEffector effector, Quaternion rotation, float mlp)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060025FA RID: 9722 RVA: 0x00057D58 File Offset: 0x00055F58
|
|
[Token(Token = "0x60025FA")]
|
|
[Address(RVA = "0xB93EC0", Offset = "0xB92EC0", VA = "0x180B93EC0")]
|
|
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: 0x04002F70 RID: 12144
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4002F70")]
|
|
private FullBodyBipedIK ik;
|
|
}
|
|
}
|