105 lines
3.5 KiB
C#
105 lines
3.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.FinalIK
|
|
{
|
|
// Token: 0x020004BA RID: 1210
|
|
[Token(Token = "0x20004BA")]
|
|
[HelpURL("http://www.root-motion.com/finalikdox/html/page12.html")]
|
|
[AddComponentMenu("Scripts/RootMotion.FinalIK/Rotation Limits/Rotation Limit Hinge")]
|
|
public class RotationLimitHinge : RotationLimit
|
|
{
|
|
// Token: 0x06002B2A RID: 11050 RVA: 0x000606F4 File Offset: 0x0005E8F4
|
|
[Token(Token = "0x6002B2A")]
|
|
[Address(RVA = "0x506630", Offset = "0x505630", VA = "0x180506630")]
|
|
[ContextMenu("User Manual")]
|
|
private void OpenUserManual()
|
|
{
|
|
Application.OpenURL("http://www.root-motion.com/finalikdox/html/page12.html");
|
|
}
|
|
|
|
// Token: 0x06002B2B RID: 11051 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002B2B")]
|
|
[Address(RVA = "0x5065F0", Offset = "0x5055F0", VA = "0x1805065F0")]
|
|
[ContextMenu("Scrpt Reference")]
|
|
private void OpenScriptReference()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002B2C RID: 11052 RVA: 0x0006070C File Offset: 0x0005E90C
|
|
[Token(Token = "0x6002B2C")]
|
|
[Address(RVA = "0x506670", Offset = "0x505670", VA = "0x180506670")]
|
|
[ContextMenu("Support Group")]
|
|
private void SupportGroup()
|
|
{
|
|
Application.OpenURL("https://groups.google.com/forum/#!forum/final-ik");
|
|
}
|
|
|
|
// Token: 0x06002B2D RID: 11053 RVA: 0x00060724 File Offset: 0x0005E924
|
|
[Token(Token = "0x6002B2D")]
|
|
[Address(RVA = "0x506230", Offset = "0x505230", VA = "0x180506230")]
|
|
[ContextMenu("Asset Store Thread")]
|
|
private void ASThread()
|
|
{
|
|
Application.OpenURL("http://forum.unity3d.com/threads/final-ik-full-body-ik-aim-look-at-fabrik-ccd-ik-1-0-released.222685/");
|
|
}
|
|
|
|
// Token: 0x06002B2E RID: 11054 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002B2E")]
|
|
[Address(RVA = "0x5065A0", Offset = "0x5055A0", VA = "0x1805065A0", Slot = "4")]
|
|
protected override Quaternion LimitRotation(Quaternion rotation)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002B2F RID: 11055 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002B2F")]
|
|
[Address(RVA = "0x506270", Offset = "0x505270", VA = "0x180506270")]
|
|
private Quaternion LimitHinge(Quaternion rotation)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002B30 RID: 11056 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002B30")]
|
|
[Address(RVA = "0x5066B0", Offset = "0x5056B0", VA = "0x1805066B0")]
|
|
public RotationLimitHinge()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0400349C RID: 13468
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400349C")]
|
|
public bool useLimits;
|
|
|
|
// Token: 0x0400349D RID: 13469
|
|
[FieldOffset(Offset = "0x3C")]
|
|
[Token(Token = "0x400349D")]
|
|
public float min;
|
|
|
|
// Token: 0x0400349E RID: 13470
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400349E")]
|
|
public float max;
|
|
|
|
// Token: 0x0400349F RID: 13471
|
|
[FieldOffset(Offset = "0x44")]
|
|
[Token(Token = "0x400349F")]
|
|
[HideInInspector]
|
|
public float zeroAxisDisplayOffset;
|
|
|
|
// Token: 0x040034A0 RID: 13472
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40034A0")]
|
|
private Quaternion lastRotation;
|
|
|
|
// Token: 0x040034A1 RID: 13473
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40034A1")]
|
|
private float lastAngle;
|
|
}
|
|
}
|