scripts
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x020001A2 RID: 418
|
||||
[RequireComponent(typeof(Rigidbody2D))]
|
||||
public sealed class ConstantForce2D : PhysicsUpdateBehaviour2D
|
||||
{
|
||||
// Token: 0x170006EC RID: 1772
|
||||
// (get) Token: 0x06001EE7 RID: 7911 RVA: 0x00025A80 File Offset: 0x00023C80
|
||||
// (set) Token: 0x06001EE8 RID: 7912 RVA: 0x00025AA0 File Offset: 0x00023CA0
|
||||
public Vector2 force
|
||||
{
|
||||
get
|
||||
{
|
||||
Vector2 vector;
|
||||
this.INTERNAL_get_force(out vector);
|
||||
return vector;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.INTERNAL_set_force(ref value);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001EE9 RID: 7913
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private extern void INTERNAL_get_force(out Vector2 value);
|
||||
|
||||
// Token: 0x06001EEA RID: 7914
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private extern void INTERNAL_set_force(ref Vector2 value);
|
||||
|
||||
// Token: 0x170006ED RID: 1773
|
||||
// (get) Token: 0x06001EEB RID: 7915 RVA: 0x00025AAC File Offset: 0x00023CAC
|
||||
// (set) Token: 0x06001EEC RID: 7916 RVA: 0x00025ACC File Offset: 0x00023CCC
|
||||
public Vector2 relativeForce
|
||||
{
|
||||
get
|
||||
{
|
||||
Vector2 vector;
|
||||
this.INTERNAL_get_relativeForce(out vector);
|
||||
return vector;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.INTERNAL_set_relativeForce(ref value);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001EED RID: 7917
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private extern void INTERNAL_get_relativeForce(out Vector2 value);
|
||||
|
||||
// Token: 0x06001EEE RID: 7918
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private extern void INTERNAL_set_relativeForce(ref Vector2 value);
|
||||
|
||||
// Token: 0x170006EE RID: 1774
|
||||
// (get) Token: 0x06001EEF RID: 7919
|
||||
// (set) Token: 0x06001EF0 RID: 7920
|
||||
public extern float torque
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user