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: 0x020003B4 RID: 948
|
|
[Token(Token = "0x20003B4")]
|
|
[RequireComponent(typeof(FullBodyBipedIK))]
|
|
public class CharacterAnimationThirdPersonIK : CharacterAnimationThirdPerson
|
|
{
|
|
// Token: 0x0600232E RID: 9006 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600232E")]
|
|
[Address(RVA = "0xE82DC0", Offset = "0xE81BC0", VA = "0x180E82DC0", Slot = "6")]
|
|
protected override void Start()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600232F RID: 9007 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600232F")]
|
|
[Address(RVA = "0xE829A0", Offset = "0xE817A0", VA = "0x180E829A0", Slot = "7")]
|
|
protected override void LateUpdate()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002330 RID: 9008 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002330")]
|
|
[Address(RVA = "0xE82C00", Offset = "0xE81A00", VA = "0x180E82C00")]
|
|
private void RotateEffector(IKEffector effector, Quaternion rotation, float mlp)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002331 RID: 9009 RVA: 0x00050AAC File Offset: 0x0004ECAC
|
|
[Token(Token = "0x6002331")]
|
|
[Address(RVA = "0xE82E90", Offset = "0xE81C90", VA = "0x180E82E90")]
|
|
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: 0x04002C86 RID: 11398
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4002C86")]
|
|
private FullBodyBipedIK ik;
|
|
}
|
|
}
|