Files
NobetaSource/Cpp2IL/Assembly-CSharp/RootMotion/FinalIK/RotationLimitAngle.cs
2023-09-06 22:09:22 +02:00

88 lines
3.0 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RootMotion.FinalIK
{
// Token: 0x0200046A RID: 1130
[Token(Token = "0x200046A")]
[HelpURL("http://www.root-motion.com/finalikdox/html/page12.html")]
[AddComponentMenu("Scripts/RootMotion.FinalIK/Rotation Limits/Rotation Limit Angle")]
public class RotationLimitAngle : RotationLimit
{
// Token: 0x0600288C RID: 10380 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600288C")]
[Address(RVA = "0xCB8090", Offset = "0xCB6890", VA = "0x180CB8090")]
[ContextMenu("User Manual")]
private void OpenUserManual()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600288D RID: 10381 RVA: 0x0005972C File Offset: 0x0005792C
[Token(Token = "0x600288D")]
[Address(RVA = "0xCB8050", Offset = "0xCB6850", VA = "0x180CB8050")]
[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_angle.html");
}
// Token: 0x0600288E RID: 10382 RVA: 0x00059744 File Offset: 0x00057944
[Token(Token = "0x600288E")]
[Address(RVA = "0xCB80D0", Offset = "0xCB68D0", VA = "0x180CB80D0")]
[ContextMenu("Support Group")]
private void SupportGroup()
{
Application.OpenURL("https://groups.google.com/forum/#!forum/final-ik");
}
// Token: 0x0600288F RID: 10383 RVA: 0x0005975C File Offset: 0x0005795C
[Token(Token = "0x600288F")]
[Address(RVA = "0xCB7BA0", Offset = "0xCB63A0", VA = "0x180CB7BA0")]
[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: 0x06002890 RID: 10384 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002890")]
[Address(RVA = "0xCB7BE0", Offset = "0xCB63E0", VA = "0x180CB7BE0", Slot = "4")]
protected override Quaternion LimitRotation(Quaternion rotation)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002891 RID: 10385 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002891")]
[Address(RVA = "0xCB7E50", Offset = "0xCB6650", VA = "0x180CB7E50")]
private Quaternion LimitSwing(Quaternion rotation)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002892 RID: 10386 RVA: 0x00059774 File Offset: 0x00057974
[Token(Token = "0x6002892")]
[Address(RVA = "0xCB8110", Offset = "0xCB6910", VA = "0x180CB8110")]
public RotationLimitAngle()
{
float z = Vector3.forward.z;
this.axis.z = z;
base..ctor();
}
// Token: 0x040031F2 RID: 12786
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x40031F2")]
[Range(0f, 180f)]
public float limit = 45f;
// Token: 0x040031F3 RID: 12787
[FieldOffset(Offset = "0x3C")]
[Token(Token = "0x40031F3")]
[Range(0f, 180f)]
public float twistLimit = 180f;
}
}