199 lines
5.2 KiB
C#
199 lines
5.2 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace UnityEngine
|
|
{
|
|
// Token: 0x02000177 RID: 375
|
|
public sealed class CharacterController : Collider
|
|
{
|
|
// Token: 0x06001BB2 RID: 7090 RVA: 0x00021CB0 File Offset: 0x0001FEB0
|
|
public bool SimpleMove(Vector3 speed)
|
|
{
|
|
return CharacterController.INTERNAL_CALL_SimpleMove(this, ref speed);
|
|
}
|
|
|
|
// Token: 0x06001BB3 RID: 7091
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_SimpleMove(CharacterController self, ref Vector3 speed);
|
|
|
|
// Token: 0x06001BB4 RID: 7092 RVA: 0x00021CD0 File Offset: 0x0001FED0
|
|
public CollisionFlags Move(Vector3 motion)
|
|
{
|
|
return CharacterController.INTERNAL_CALL_Move(this, ref motion);
|
|
}
|
|
|
|
// Token: 0x06001BB5 RID: 7093
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern CollisionFlags INTERNAL_CALL_Move(CharacterController self, ref Vector3 motion);
|
|
|
|
// Token: 0x17000621 RID: 1569
|
|
// (get) Token: 0x06001BB6 RID: 7094
|
|
public extern bool isGrounded
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x17000622 RID: 1570
|
|
// (get) Token: 0x06001BB7 RID: 7095 RVA: 0x00021CF0 File Offset: 0x0001FEF0
|
|
public Vector3 velocity
|
|
{
|
|
get
|
|
{
|
|
Vector3 vector;
|
|
this.INTERNAL_get_velocity(out vector);
|
|
return vector;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001BB8 RID: 7096
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private extern void INTERNAL_get_velocity(out Vector3 value);
|
|
|
|
// Token: 0x17000623 RID: 1571
|
|
// (get) Token: 0x06001BB9 RID: 7097
|
|
public extern CollisionFlags collisionFlags
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x17000624 RID: 1572
|
|
// (get) Token: 0x06001BBA RID: 7098
|
|
// (set) Token: 0x06001BBB RID: 7099
|
|
public extern float radius
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000625 RID: 1573
|
|
// (get) Token: 0x06001BBC RID: 7100
|
|
// (set) Token: 0x06001BBD RID: 7101
|
|
public extern float height
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000626 RID: 1574
|
|
// (get) Token: 0x06001BBE RID: 7102 RVA: 0x00021D10 File Offset: 0x0001FF10
|
|
// (set) Token: 0x06001BBF RID: 7103 RVA: 0x00021D30 File Offset: 0x0001FF30
|
|
public Vector3 center
|
|
{
|
|
get
|
|
{
|
|
Vector3 vector;
|
|
this.INTERNAL_get_center(out vector);
|
|
return vector;
|
|
}
|
|
set
|
|
{
|
|
this.INTERNAL_set_center(ref value);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001BC0 RID: 7104
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private extern void INTERNAL_get_center(out Vector3 value);
|
|
|
|
// Token: 0x06001BC1 RID: 7105
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private extern void INTERNAL_set_center(ref Vector3 value);
|
|
|
|
// Token: 0x17000627 RID: 1575
|
|
// (get) Token: 0x06001BC2 RID: 7106
|
|
// (set) Token: 0x06001BC3 RID: 7107
|
|
public extern float slopeLimit
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000628 RID: 1576
|
|
// (get) Token: 0x06001BC4 RID: 7108
|
|
// (set) Token: 0x06001BC5 RID: 7109
|
|
public extern float stepOffset
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000629 RID: 1577
|
|
// (get) Token: 0x06001BC6 RID: 7110
|
|
// (set) Token: 0x06001BC7 RID: 7111
|
|
public extern float skinWidth
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x1700062A RID: 1578
|
|
// (get) Token: 0x06001BC8 RID: 7112
|
|
// (set) Token: 0x06001BC9 RID: 7113
|
|
public extern float minMoveDistance
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x1700062B RID: 1579
|
|
// (get) Token: 0x06001BCA RID: 7114
|
|
// (set) Token: 0x06001BCB RID: 7115
|
|
public extern bool detectCollisions
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x1700062C RID: 1580
|
|
// (get) Token: 0x06001BCC RID: 7116
|
|
// (set) Token: 0x06001BCD RID: 7117
|
|
public extern bool enableOverlapRecovery
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
}
|
|
}
|