53 lines
1.5 KiB
C#
53 lines
1.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.Demos
|
|
{
|
|
// Token: 0x02000430 RID: 1072
|
|
[Token(Token = "0x2000430")]
|
|
public class TransferMotion : MonoBehaviour
|
|
{
|
|
// Token: 0x06002684 RID: 9860 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002684")]
|
|
[Address(RVA = "0xF61210", Offset = "0xF60210", VA = "0x180F61210")]
|
|
private void OnEnable()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002685 RID: 9861 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002685")]
|
|
[Address(RVA = "0xF61250", Offset = "0xF60250", VA = "0x180F61250")]
|
|
private void Update()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002686 RID: 9862 RVA: 0x00058CBC File Offset: 0x00056EBC
|
|
[Token(Token = "0x6002686")]
|
|
[Address(RVA = "0xF613B0", Offset = "0xF603B0", VA = "0x180F613B0")]
|
|
public TransferMotion()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04003039 RID: 12345
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4003039")]
|
|
[Tooltip("The Transform to transfer motion to.")]
|
|
public Transform to;
|
|
|
|
// Token: 0x0400303A RID: 12346
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400303A")]
|
|
[Tooltip("The amount of motion to transfer.")]
|
|
[Range(0f, 1f)]
|
|
public float transferMotion = 0.9f;
|
|
|
|
// Token: 0x0400303B RID: 12347
|
|
[FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x400303B")]
|
|
private Vector3 lastPosition;
|
|
}
|
|
}
|