scripts
This commit is contained in:
@@ -0,0 +1,146 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x02000170 RID: 368
|
||||
[RequiredByNativeCode]
|
||||
[RequireComponent(typeof(Transform))]
|
||||
public class Collider : Component
|
||||
{
|
||||
// Token: 0x170005F6 RID: 1526
|
||||
// (get) Token: 0x06001B4C RID: 6988
|
||||
// (set) Token: 0x06001B4D RID: 6989
|
||||
public extern bool enabled
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170005F7 RID: 1527
|
||||
// (get) Token: 0x06001B4E RID: 6990
|
||||
public extern Rigidbody attachedRigidbody
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170005F8 RID: 1528
|
||||
// (get) Token: 0x06001B4F RID: 6991
|
||||
// (set) Token: 0x06001B50 RID: 6992
|
||||
public extern bool isTrigger
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170005F9 RID: 1529
|
||||
// (get) Token: 0x06001B51 RID: 6993
|
||||
// (set) Token: 0x06001B52 RID: 6994
|
||||
public extern float contactOffset
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170005FA RID: 1530
|
||||
// (get) Token: 0x06001B53 RID: 6995
|
||||
// (set) Token: 0x06001B54 RID: 6996
|
||||
public extern PhysicMaterial material
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x06001B55 RID: 6997 RVA: 0x00021760 File Offset: 0x0001F960
|
||||
public Vector3 ClosestPointOnBounds(Vector3 position)
|
||||
{
|
||||
Vector3 vector;
|
||||
Collider.INTERNAL_CALL_ClosestPointOnBounds(this, ref position, out vector);
|
||||
return vector;
|
||||
}
|
||||
|
||||
// Token: 0x06001B56 RID: 6998
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void INTERNAL_CALL_ClosestPointOnBounds(Collider self, ref Vector3 position, out Vector3 value);
|
||||
|
||||
// Token: 0x06001B57 RID: 6999 RVA: 0x00021780 File Offset: 0x0001F980
|
||||
public Vector3 ClosestPoint(Vector3 position)
|
||||
{
|
||||
Vector3 vector;
|
||||
Collider.INTERNAL_CALL_ClosestPoint(this, ref position, out vector);
|
||||
return vector;
|
||||
}
|
||||
|
||||
// Token: 0x06001B58 RID: 7000
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void INTERNAL_CALL_ClosestPoint(Collider self, ref Vector3 position, out Vector3 value);
|
||||
|
||||
// Token: 0x170005FB RID: 1531
|
||||
// (get) Token: 0x06001B59 RID: 7001
|
||||
// (set) Token: 0x06001B5A RID: 7002
|
||||
public extern PhysicMaterial sharedMaterial
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170005FC RID: 1532
|
||||
// (get) Token: 0x06001B5B RID: 7003 RVA: 0x000217A0 File Offset: 0x0001F9A0
|
||||
public Bounds bounds
|
||||
{
|
||||
get
|
||||
{
|
||||
Bounds bounds;
|
||||
this.INTERNAL_get_bounds(out bounds);
|
||||
return bounds;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001B5C RID: 7004
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private extern void INTERNAL_get_bounds(out Bounds value);
|
||||
|
||||
// Token: 0x06001B5D RID: 7005 RVA: 0x000217C0 File Offset: 0x0001F9C0
|
||||
private static bool Internal_Raycast(Collider col, Ray ray, out RaycastHit hitInfo, float maxDistance)
|
||||
{
|
||||
return Collider.INTERNAL_CALL_Internal_Raycast(col, ref ray, out hitInfo, maxDistance);
|
||||
}
|
||||
|
||||
// Token: 0x06001B5E RID: 7006
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern bool INTERNAL_CALL_Internal_Raycast(Collider col, ref Ray ray, out RaycastHit hitInfo, float maxDistance);
|
||||
|
||||
// Token: 0x06001B5F RID: 7007 RVA: 0x000217E0 File Offset: 0x0001F9E0
|
||||
public bool Raycast(Ray ray, out RaycastHit hitInfo, float maxDistance)
|
||||
{
|
||||
return Collider.Internal_Raycast(this, ray, out hitInfo, maxDistance);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user