scripts
This commit is contained in:
@@ -0,0 +1,116 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x02000195 RID: 405
|
||||
[RequireComponent(typeof(Transform), typeof(Rigidbody2D))]
|
||||
public class Joint2D : Behaviour
|
||||
{
|
||||
// Token: 0x170006AE RID: 1710
|
||||
// (get) Token: 0x06001E4C RID: 7756
|
||||
public extern Rigidbody2D attachedRigidbody
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170006AF RID: 1711
|
||||
// (get) Token: 0x06001E4D RID: 7757
|
||||
// (set) Token: 0x06001E4E RID: 7758
|
||||
public extern Rigidbody2D connectedBody
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170006B0 RID: 1712
|
||||
// (get) Token: 0x06001E4F RID: 7759
|
||||
// (set) Token: 0x06001E50 RID: 7760
|
||||
public extern bool enableCollision
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170006B1 RID: 1713
|
||||
// (get) Token: 0x06001E51 RID: 7761
|
||||
// (set) Token: 0x06001E52 RID: 7762
|
||||
public extern float breakForce
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170006B2 RID: 1714
|
||||
// (get) Token: 0x06001E53 RID: 7763
|
||||
// (set) Token: 0x06001E54 RID: 7764
|
||||
public extern float breakTorque
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170006B3 RID: 1715
|
||||
// (get) Token: 0x06001E55 RID: 7765 RVA: 0x0002572C File Offset: 0x0002392C
|
||||
public Vector2 reactionForce
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetReactionForce(Time.fixedDeltaTime);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170006B4 RID: 1716
|
||||
// (get) Token: 0x06001E56 RID: 7766 RVA: 0x0002574C File Offset: 0x0002394C
|
||||
public float reactionTorque
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetReactionTorque(Time.fixedDeltaTime);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001E57 RID: 7767 RVA: 0x0002576C File Offset: 0x0002396C
|
||||
public Vector2 GetReactionForce(float timeStep)
|
||||
{
|
||||
Vector2 vector;
|
||||
Joint2D.Internal_GetReactionForce(this, timeStep, out vector);
|
||||
return vector;
|
||||
}
|
||||
|
||||
// Token: 0x06001E58 RID: 7768
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void Internal_GetReactionForce(Joint2D joint, float timeStep, out Vector2 value);
|
||||
|
||||
// Token: 0x06001E59 RID: 7769 RVA: 0x0002578C File Offset: 0x0002398C
|
||||
public float GetReactionTorque(float timeStep)
|
||||
{
|
||||
return Joint2D.INTERNAL_CALL_GetReactionTorque(this, timeStep);
|
||||
}
|
||||
|
||||
// Token: 0x06001E5A RID: 7770
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern float INTERNAL_CALL_GetReactionTorque(Joint2D self, float timeStep);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user