105 lines
3.5 KiB
C#
105 lines
3.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.FinalIK
|
|
{
|
|
// Token: 0x0200046B RID: 1131
|
|
[Token(Token = "0x200046B")]
|
|
[AddComponentMenu("Scripts/RootMotion.FinalIK/Rotation Limits/Rotation Limit Hinge")]
|
|
[HelpURL("http://www.root-motion.com/finalikdox/html/page12.html")]
|
|
public class RotationLimitHinge : RotationLimit
|
|
{
|
|
// Token: 0x06002893 RID: 10387 RVA: 0x000597B4 File Offset: 0x000579B4
|
|
[Token(Token = "0x6002893")]
|
|
[Address(RVA = "0xCB8560", Offset = "0xCB6D60", VA = "0x180CB8560")]
|
|
[ContextMenu("User Manual")]
|
|
private void OpenUserManual()
|
|
{
|
|
Application.OpenURL("http://www.root-motion.com/finalikdox/html/page12.html");
|
|
}
|
|
|
|
// Token: 0x06002894 RID: 10388 RVA: 0x000597CC File Offset: 0x000579CC
|
|
[Token(Token = "0x6002894")]
|
|
[Address(RVA = "0xCB8520", Offset = "0xCB6D20", VA = "0x180CB8520")]
|
|
[ContextMenu("Scrpt Reference")]
|
|
private void OpenScriptReference()
|
|
{
|
|
Application.OpenURL("http://www.root-motion.com/finalikdox/html/class_root_motion_1_1_final_i_k_1_1_rotation_limit_hinge.html");
|
|
}
|
|
|
|
// Token: 0x06002895 RID: 10389 RVA: 0x000597E4 File Offset: 0x000579E4
|
|
[Token(Token = "0x6002895")]
|
|
[Address(RVA = "0xCB85A0", Offset = "0xCB6DA0", VA = "0x180CB85A0")]
|
|
[ContextMenu("Support Group")]
|
|
private void SupportGroup()
|
|
{
|
|
Application.OpenURL("https://groups.google.com/forum/#!forum/final-ik");
|
|
}
|
|
|
|
// Token: 0x06002896 RID: 10390 RVA: 0x000597FC File Offset: 0x000579FC
|
|
[Token(Token = "0x6002896")]
|
|
[Address(RVA = "0xCB8160", Offset = "0xCB6960", VA = "0x180CB8160")]
|
|
[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: 0x06002897 RID: 10391 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002897")]
|
|
[Address(RVA = "0xCB84D0", Offset = "0xCB6CD0", VA = "0x180CB84D0", Slot = "4")]
|
|
protected override Quaternion LimitRotation(Quaternion rotation)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002898 RID: 10392 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002898")]
|
|
[Address(RVA = "0xCB81A0", Offset = "0xCB69A0", VA = "0x180CB81A0")]
|
|
private Quaternion LimitHinge(Quaternion rotation)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002899 RID: 10393 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002899")]
|
|
[Address(RVA = "0xCB85E0", Offset = "0xCB6DE0", VA = "0x180CB85E0")]
|
|
public RotationLimitHinge()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x040031F4 RID: 12788
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40031F4")]
|
|
public bool useLimits;
|
|
|
|
// Token: 0x040031F5 RID: 12789
|
|
[FieldOffset(Offset = "0x3C")]
|
|
[Token(Token = "0x40031F5")]
|
|
public float min;
|
|
|
|
// Token: 0x040031F6 RID: 12790
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40031F6")]
|
|
public float max;
|
|
|
|
// Token: 0x040031F7 RID: 12791
|
|
[FieldOffset(Offset = "0x44")]
|
|
[Token(Token = "0x40031F7")]
|
|
[HideInInspector]
|
|
public float zeroAxisDisplayOffset;
|
|
|
|
// Token: 0x040031F8 RID: 12792
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40031F8")]
|
|
private Quaternion lastRotation;
|
|
|
|
// Token: 0x040031F9 RID: 12793
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40031F9")]
|
|
private float lastAngle;
|
|
}
|
|
}
|