using System; using Cpp2IlInjected; using UnityEngine; namespace RootMotion.FinalIK { // Token: 0x0200045A RID: 1114 [Token(Token = "0x200045A")] [AddComponentMenu("Scripts/RootMotion.FinalIK/Interaction System/Interaction Target")] [HelpURL("https://www.youtube.com/watch?v=r5jiZnsDH3M")] public class InteractionTarget : MonoBehaviour { // Token: 0x0600282A RID: 10282 RVA: 0x00058E10 File Offset: 0x00057010 [Token(Token = "0x600282A")] [Address(RVA = "0x10B85A0", Offset = "0x10B6DA0", VA = "0x1810B85A0")] [ContextMenu("TUTORIAL VIDEO (PART 1: BASICS)")] private void OpenTutorial1() { Application.OpenURL("https://www.youtube.com/watch?v=r5jiZnsDH3M"); } // Token: 0x0600282B RID: 10283 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600282B")] [Address(RVA = "0x10B85E0", Offset = "0x10B6DE0", VA = "0x1810B85E0")] [ContextMenu("TUTORIAL VIDEO (PART 2: PICKING UP...)")] private void OpenTutorial2() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600282C RID: 10284 RVA: 0x00058E28 File Offset: 0x00057028 [Token(Token = "0x600282C")] [Address(RVA = "0x10B8620", Offset = "0x10B6E20", VA = "0x1810B8620")] [ContextMenu("TUTORIAL VIDEO (PART 3: ANIMATION)")] private void OpenTutorial3() { Application.OpenURL("https://www.youtube.com/watch?v=sQfB2RcT1T4&index=14&list=PLVxSIA1OaTOu8Nos3CalXbJ2DrKnntMv6"); } // Token: 0x0600282D RID: 10285 RVA: 0x00058E40 File Offset: 0x00057040 [Token(Token = "0x600282D")] [Address(RVA = "0x10B8660", Offset = "0x10B6E60", VA = "0x1810B8660")] [ContextMenu("TUTORIAL VIDEO (PART 4: TRIGGERS)")] private void OpenTutorial4() { Application.OpenURL("https://www.youtube.com/watch?v=-TDZpNjt2mk&index=15&list=PLVxSIA1OaTOu8Nos3CalXbJ2DrKnntMv6"); } // Token: 0x0600282E RID: 10286 RVA: 0x00058E58 File Offset: 0x00057058 [Token(Token = "0x600282E")] [Address(RVA = "0x10B8D70", Offset = "0x10B7570", VA = "0x1810B8D70")] [ContextMenu("Support Group")] private void SupportGroup() { Application.OpenURL("https://groups.google.com/forum/#!forum/final-ik"); } // Token: 0x0600282F RID: 10287 RVA: 0x00058E70 File Offset: 0x00057070 [Token(Token = "0x600282F")] [Address(RVA = "0x10B84B0", Offset = "0x10B6CB0", VA = "0x1810B84B0")] [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: 0x06002830 RID: 10288 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002830")] [Address(RVA = "0x10B84F0", Offset = "0x10B6CF0", VA = "0x1810B84F0")] public float GetValue(InteractionObject.WeightCurve.Type curveType) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002831 RID: 10289 RVA: 0x00058E88 File Offset: 0x00057088 [Token(Token = "0x6002831")] [Address(RVA = "0x10B86E0", Offset = "0x10B6EE0", VA = "0x1810B86E0")] public void ResetRotation() { Transform transform = this.pivot; int num = 0; if (transform != num) { Transform transform2 = this.pivot; Quaternion quaternion = this.defaultLocalRotation; transform2.localRotation = quaternion; } } // Token: 0x06002832 RID: 10290 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002832")] [Address(RVA = "0x10B8770", Offset = "0x10B6F70", VA = "0x1810B8770")] public void RotateTo(Vector3 position) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002833 RID: 10291 RVA: 0x00058EC4 File Offset: 0x000570C4 [Token(Token = "0x6002833")] [Address(RVA = "0x10B86A0", Offset = "0x10B6EA0", VA = "0x1810B86A0")] [ContextMenu("User Manual")] private void OpenUserManual() { Application.OpenURL("http://www.root-motion.com/finalikdox/html/page10.html"); } // Token: 0x06002834 RID: 10292 RVA: 0x00058EDC File Offset: 0x000570DC [Token(Token = "0x6002834")] [Address(RVA = "0x10B8560", Offset = "0x10B6D60", VA = "0x1810B8560")] [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_interaction_target.html"); } // Token: 0x06002835 RID: 10293 RVA: 0x00058EF4 File Offset: 0x000570F4 [Token(Token = "0x6002835")] [Address(RVA = "0x10B8DB0", Offset = "0x10B75B0", VA = "0x1810B8DB0")] public InteractionTarget() { float z = Vector3.up.z; this.twistAxis.z = z; this.twistWeight = 1f; this.rotateOnce = true; base..ctor(); } // Token: 0x0400319D RID: 12701 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400319D")] [Tooltip("The type of the FBBIK effector.")] public FullBodyBipedEffector effectorType; // Token: 0x0400319E RID: 12702 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400319E")] [Tooltip("InteractionObject weight curve multipliers for this effector target.")] public InteractionTarget.Multiplier[] multipliers; // Token: 0x0400319F RID: 12703 [FieldOffset(Offset = "0x28")] [Token(Token = "0x400319F")] [Tooltip("The interaction speed multiplier for this effector. This can be used to make interactions faster/slower for specific effectors.")] public float interactionSpeedMlp = 1f; // Token: 0x040031A0 RID: 12704 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40031A0")] [Tooltip("The pivot to twist/swing this interaction target about. For symmetric objects that can be interacted with from a certain angular range.")] public Transform pivot; // Token: 0x040031A1 RID: 12705 [FieldOffset(Offset = "0x38")] [Token(Token = "0x40031A1")] [Tooltip("The axis of twisting the interaction target (blue line).")] public Vector3 twistAxis; // Token: 0x040031A2 RID: 12706 [FieldOffset(Offset = "0x44")] [Token(Token = "0x40031A2")] [Tooltip("The weight of twisting the interaction target towards the effector bone in the start of the interaction.")] public float twistWeight; // Token: 0x040031A3 RID: 12707 [FieldOffset(Offset = "0x48")] [Token(Token = "0x40031A3")] [Tooltip("The weight of swinging the interaction target towards the effector bone in the start of the interaction. Swing is defined as a 3-DOF rotation around any axis, while twist is only around the twist axis.")] public float swingWeight; // Token: 0x040031A4 RID: 12708 [FieldOffset(Offset = "0x4C")] [Token(Token = "0x40031A4")] [Tooltip("If true, will twist/swing around the pivot only once at the start of the interaction. If false, will continue rotating throuout the whole interaction.")] public bool rotateOnce; // Token: 0x040031A5 RID: 12709 [FieldOffset(Offset = "0x50")] [Token(Token = "0x40031A5")] private Quaternion defaultLocalRotation; // Token: 0x040031A6 RID: 12710 [FieldOffset(Offset = "0x60")] [Token(Token = "0x40031A6")] private Transform lastPivot; // Token: 0x0200045B RID: 1115 [Token(Token = "0x200045B")] [Serializable] public class Multiplier { // Token: 0x06002836 RID: 10294 RVA: 0x00058F3C File Offset: 0x0005713C [Token(Token = "0x6002836")] [Address(RVA = "0x43A830", Offset = "0x439030", VA = "0x18043A830")] public Multiplier() { } // Token: 0x040031A7 RID: 12711 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40031A7")] [Tooltip("The curve type (InteractionObject.WeightCurve.Type).")] public InteractionObject.WeightCurve.Type curve; // Token: 0x040031A8 RID: 12712 [FieldOffset(Offset = "0x14")] [Token(Token = "0x40031A8")] [Tooltip("Multiplier of the curve's value.")] public float multiplier; } } }