470 lines
21 KiB
C#
470 lines
21 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.Demos
|
|
{
|
|
// Token: 0x020003F8 RID: 1016
|
|
public class SimpleLocomotion : MonoBehaviour
|
|
{
|
|
// Token: 0x17002A15 RID: 10773
|
|
// (get) Token: 0x06007AFB RID: 31483 RVA: 0x001F4DB4 File Offset: 0x001F2FB4
|
|
// (set) Token: 0x06007AFC RID: 31484 RVA: 0x001F4E04 File Offset: 0x001F3004
|
|
public unsafe bool isGrounded
|
|
{
|
|
[CallerCount(0)]
|
|
get
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SimpleLocomotion.NativeMethodInfoPtr_get_isGrounded_Public_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
[CallerCount(0)]
|
|
set
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref value;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SimpleLocomotion.NativeMethodInfoPtr_set_isGrounded_Private_set_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06007AFD RID: 31485 RVA: 0x001F4E58 File Offset: 0x001F3058
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593819, XrefRangeEnd = 593829, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void Start()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SimpleLocomotion.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007AFE RID: 31486 RVA: 0x001F4E9C File Offset: 0x001F309C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593829, XrefRangeEnd = 593834, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void Update()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SimpleLocomotion.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007AFF RID: 31487 RVA: 0x001F4EE0 File Offset: 0x001F30E0
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593834, XrefRangeEnd = 593837, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void LateUpdate()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SimpleLocomotion.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007B00 RID: 31488 RVA: 0x001F4F24 File Offset: 0x001F3124
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 593852, RefRangeEnd = 593853, XrefRangeStart = 593837, XrefRangeEnd = 593852, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void Rotate()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SimpleLocomotion.NativeMethodInfoPtr_Rotate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007B01 RID: 31489 RVA: 0x001F4F68 File Offset: 0x001F3168
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 593874, RefRangeEnd = 593875, XrefRangeStart = 593853, XrefRangeEnd = 593874, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void Move()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SimpleLocomotion.NativeMethodInfoPtr_Move_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007B02 RID: 31490 RVA: 0x001F4FAC File Offset: 0x001F31AC
|
|
[CallerCount(2)]
|
|
[CachedScanResults(RefRangeStart = 593881, RefRangeEnd = 593883, XrefRangeStart = 593875, XrefRangeEnd = 593881, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe Vector3 GetInputVector()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SimpleLocomotion.NativeMethodInfoPtr_GetInputVector_Private_Vector3_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
|
|
// Token: 0x06007B03 RID: 31491 RVA: 0x001F4FFC File Offset: 0x001F31FC
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593883, XrefRangeEnd = 593889, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe Vector3 GetInputVectorRaw()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SimpleLocomotion.NativeMethodInfoPtr_GetInputVectorRaw_Private_Vector3_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
|
|
// Token: 0x06007B04 RID: 31492 RVA: 0x001F504C File Offset: 0x001F324C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593889, XrefRangeEnd = 593890, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe SimpleLocomotion()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SimpleLocomotion.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007B05 RID: 31493 RVA: 0x001F5098 File Offset: 0x001F3298
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static SimpleLocomotion()
|
|
{
|
|
Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "SimpleLocomotion");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr);
|
|
SimpleLocomotion.NativeFieldInfoPtr_cameraController = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "cameraController");
|
|
SimpleLocomotion.NativeFieldInfoPtr_accelerationTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "accelerationTime");
|
|
SimpleLocomotion.NativeFieldInfoPtr_turnTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "turnTime");
|
|
SimpleLocomotion.NativeFieldInfoPtr_walkByDefault = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "walkByDefault");
|
|
SimpleLocomotion.NativeFieldInfoPtr_rotationMode = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "rotationMode");
|
|
SimpleLocomotion.NativeFieldInfoPtr_moveSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "moveSpeed");
|
|
SimpleLocomotion.NativeFieldInfoPtr__isGrounded_k__BackingField = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "<isGrounded>k__BackingField");
|
|
SimpleLocomotion.NativeFieldInfoPtr_animator = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "animator");
|
|
SimpleLocomotion.NativeFieldInfoPtr_speed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "speed");
|
|
SimpleLocomotion.NativeFieldInfoPtr_angleVel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "angleVel");
|
|
SimpleLocomotion.NativeFieldInfoPtr_speedVel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "speedVel");
|
|
SimpleLocomotion.NativeFieldInfoPtr_linearTargetDirection = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "linearTargetDirection");
|
|
SimpleLocomotion.NativeFieldInfoPtr_characterController = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, "characterController");
|
|
SimpleLocomotion.NativeMethodInfoPtr_get_isGrounded_Public_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672523);
|
|
SimpleLocomotion.NativeMethodInfoPtr_set_isGrounded_Private_set_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672524);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672525);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672526);
|
|
SimpleLocomotion.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672527);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Rotate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672528);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Move_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672529);
|
|
SimpleLocomotion.NativeMethodInfoPtr_GetInputVector_Private_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672530);
|
|
SimpleLocomotion.NativeMethodInfoPtr_GetInputVectorRaw_Private_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672531);
|
|
SimpleLocomotion.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672532);
|
|
}
|
|
|
|
// Token: 0x06007B06 RID: 31494 RVA: 0x0000351C File Offset: 0x0000171C
|
|
public SimpleLocomotion(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17002A08 RID: 10760
|
|
// (get) Token: 0x06007B07 RID: 31495 RVA: 0x001F5294 File Offset: 0x001F3494
|
|
// (set) Token: 0x06007B08 RID: 31496 RVA: 0x001F52C8 File Offset: 0x001F34C8
|
|
public unsafe CameraController cameraController
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_cameraController);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new CameraController(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_cameraController), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A09 RID: 10761
|
|
// (get) Token: 0x06007B09 RID: 31497 RVA: 0x001F52F0 File Offset: 0x001F34F0
|
|
// (set) Token: 0x06007B0A RID: 31498 RVA: 0x001F5318 File Offset: 0x001F3518
|
|
public unsafe float accelerationTime
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_accelerationTime);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_accelerationTime)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A0A RID: 10762
|
|
// (get) Token: 0x06007B0B RID: 31499 RVA: 0x001F533C File Offset: 0x001F353C
|
|
// (set) Token: 0x06007B0C RID: 31500 RVA: 0x001F5364 File Offset: 0x001F3564
|
|
public unsafe float turnTime
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_turnTime);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_turnTime)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A0B RID: 10763
|
|
// (get) Token: 0x06007B0D RID: 31501 RVA: 0x001F5388 File Offset: 0x001F3588
|
|
// (set) Token: 0x06007B0E RID: 31502 RVA: 0x001F53B0 File Offset: 0x001F35B0
|
|
public unsafe bool walkByDefault
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_walkByDefault);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_walkByDefault)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A0C RID: 10764
|
|
// (get) Token: 0x06007B0F RID: 31503 RVA: 0x001F53D4 File Offset: 0x001F35D4
|
|
// (set) Token: 0x06007B10 RID: 31504 RVA: 0x001F53FC File Offset: 0x001F35FC
|
|
public unsafe SimpleLocomotion.RotationMode rotationMode
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_rotationMode);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_rotationMode)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A0D RID: 10765
|
|
// (get) Token: 0x06007B11 RID: 31505 RVA: 0x001F5420 File Offset: 0x001F3620
|
|
// (set) Token: 0x06007B12 RID: 31506 RVA: 0x001F5448 File Offset: 0x001F3648
|
|
public unsafe float moveSpeed
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_moveSpeed);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_moveSpeed)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A0E RID: 10766
|
|
// (get) Token: 0x06007B13 RID: 31507 RVA: 0x001F546C File Offset: 0x001F366C
|
|
// (set) Token: 0x06007B14 RID: 31508 RVA: 0x001F5494 File Offset: 0x001F3694
|
|
public unsafe bool _isGrounded_k__BackingField
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr__isGrounded_k__BackingField);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr__isGrounded_k__BackingField)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A0F RID: 10767
|
|
// (get) Token: 0x06007B15 RID: 31509 RVA: 0x001F54B8 File Offset: 0x001F36B8
|
|
// (set) Token: 0x06007B16 RID: 31510 RVA: 0x001F54EC File Offset: 0x001F36EC
|
|
public unsafe Animator animator
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_animator);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new Animator(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_animator), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A10 RID: 10768
|
|
// (get) Token: 0x06007B17 RID: 31511 RVA: 0x001F5514 File Offset: 0x001F3714
|
|
// (set) Token: 0x06007B18 RID: 31512 RVA: 0x001F553C File Offset: 0x001F373C
|
|
public unsafe float speed
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_speed);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_speed)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A11 RID: 10769
|
|
// (get) Token: 0x06007B19 RID: 31513 RVA: 0x001F5560 File Offset: 0x001F3760
|
|
// (set) Token: 0x06007B1A RID: 31514 RVA: 0x001F5588 File Offset: 0x001F3788
|
|
public unsafe float angleVel
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_angleVel);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_angleVel)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A12 RID: 10770
|
|
// (get) Token: 0x06007B1B RID: 31515 RVA: 0x001F55AC File Offset: 0x001F37AC
|
|
// (set) Token: 0x06007B1C RID: 31516 RVA: 0x001F55D4 File Offset: 0x001F37D4
|
|
public unsafe float speedVel
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_speedVel);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_speedVel)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A13 RID: 10771
|
|
// (get) Token: 0x06007B1D RID: 31517 RVA: 0x001F55F8 File Offset: 0x001F37F8
|
|
// (set) Token: 0x06007B1E RID: 31518 RVA: 0x001F5620 File Offset: 0x001F3820
|
|
public unsafe Vector3 linearTargetDirection
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_linearTargetDirection);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_linearTargetDirection)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002A14 RID: 10772
|
|
// (get) Token: 0x06007B1F RID: 31519 RVA: 0x001F5644 File Offset: 0x001F3844
|
|
// (set) Token: 0x06007B20 RID: 31520 RVA: 0x001F5678 File Offset: 0x001F3878
|
|
public unsafe CharacterController characterController
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_characterController);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new CharacterController(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SimpleLocomotion.NativeFieldInfoPtr_characterController), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400522F RID: 21039
|
|
private static readonly IntPtr NativeFieldInfoPtr_cameraController;
|
|
|
|
// Token: 0x04005230 RID: 21040
|
|
private static readonly IntPtr NativeFieldInfoPtr_accelerationTime;
|
|
|
|
// Token: 0x04005231 RID: 21041
|
|
private static readonly IntPtr NativeFieldInfoPtr_turnTime;
|
|
|
|
// Token: 0x04005232 RID: 21042
|
|
private static readonly IntPtr NativeFieldInfoPtr_walkByDefault;
|
|
|
|
// Token: 0x04005233 RID: 21043
|
|
private static readonly IntPtr NativeFieldInfoPtr_rotationMode;
|
|
|
|
// Token: 0x04005234 RID: 21044
|
|
private static readonly IntPtr NativeFieldInfoPtr_moveSpeed;
|
|
|
|
// Token: 0x04005235 RID: 21045
|
|
private static readonly IntPtr NativeFieldInfoPtr__isGrounded_k__BackingField;
|
|
|
|
// Token: 0x04005236 RID: 21046
|
|
private static readonly IntPtr NativeFieldInfoPtr_animator;
|
|
|
|
// Token: 0x04005237 RID: 21047
|
|
private static readonly IntPtr NativeFieldInfoPtr_speed;
|
|
|
|
// Token: 0x04005238 RID: 21048
|
|
private static readonly IntPtr NativeFieldInfoPtr_angleVel;
|
|
|
|
// Token: 0x04005239 RID: 21049
|
|
private static readonly IntPtr NativeFieldInfoPtr_speedVel;
|
|
|
|
// Token: 0x0400523A RID: 21050
|
|
private static readonly IntPtr NativeFieldInfoPtr_linearTargetDirection;
|
|
|
|
// Token: 0x0400523B RID: 21051
|
|
private static readonly IntPtr NativeFieldInfoPtr_characterController;
|
|
|
|
// Token: 0x0400523C RID: 21052
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_isGrounded_Public_get_Boolean_0;
|
|
|
|
// Token: 0x0400523D RID: 21053
|
|
private static readonly IntPtr NativeMethodInfoPtr_set_isGrounded_Private_set_Void_Boolean_0;
|
|
|
|
// Token: 0x0400523E RID: 21054
|
|
private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;
|
|
|
|
// Token: 0x0400523F RID: 21055
|
|
private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;
|
|
|
|
// Token: 0x04005240 RID: 21056
|
|
private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;
|
|
|
|
// Token: 0x04005241 RID: 21057
|
|
private static readonly IntPtr NativeMethodInfoPtr_Rotate_Private_Void_0;
|
|
|
|
// Token: 0x04005242 RID: 21058
|
|
private static readonly IntPtr NativeMethodInfoPtr_Move_Private_Void_0;
|
|
|
|
// Token: 0x04005243 RID: 21059
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetInputVector_Private_Vector3_0;
|
|
|
|
// Token: 0x04005244 RID: 21060
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetInputVectorRaw_Private_Vector3_0;
|
|
|
|
// Token: 0x04005245 RID: 21061
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
|
|
// Token: 0x020003F9 RID: 1017
|
|
[Serializable]
|
|
public enum RotationMode
|
|
{
|
|
// Token: 0x04005247 RID: 21063
|
|
Smooth,
|
|
// Token: 0x04005248 RID: 21064
|
|
Linear
|
|
}
|
|
}
|
|
}
|