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: 0x02000450 RID: 1104
|
|
public class SimpleLocomotion : MonoBehaviour
|
|
{
|
|
// Token: 0x17002CB0 RID: 11440
|
|
// (get) Token: 0x0600834E RID: 33614 RVA: 0x00217AF0 File Offset: 0x00215CF0
|
|
// (set) Token: 0x0600834F RID: 33615 RVA: 0x00217B40 File Offset: 0x00215D40
|
|
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: 0x06008350 RID: 33616 RVA: 0x00217B94 File Offset: 0x00215D94
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626133, XrefRangeEnd = 626143, 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: 0x06008351 RID: 33617 RVA: 0x00217BD8 File Offset: 0x00215DD8
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626143, XrefRangeEnd = 626148, 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: 0x06008352 RID: 33618 RVA: 0x00217C1C File Offset: 0x00215E1C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626148, XrefRangeEnd = 626151, 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: 0x06008353 RID: 33619 RVA: 0x00217C60 File Offset: 0x00215E60
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 626166, RefRangeEnd = 626167, XrefRangeStart = 626151, XrefRangeEnd = 626166, 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: 0x06008354 RID: 33620 RVA: 0x00217CA4 File Offset: 0x00215EA4
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 626188, RefRangeEnd = 626189, XrefRangeStart = 626167, XrefRangeEnd = 626188, 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: 0x06008355 RID: 33621 RVA: 0x00217CE8 File Offset: 0x00215EE8
|
|
[CallerCount(2)]
|
|
[CachedScanResults(RefRangeStart = 626195, RefRangeEnd = 626197, XrefRangeStart = 626189, XrefRangeEnd = 626195, 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: 0x06008356 RID: 33622 RVA: 0x00217D38 File Offset: 0x00215F38
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626197, XrefRangeEnd = 626203, 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: 0x06008357 RID: 33623 RVA: 0x00217D88 File Offset: 0x00215F88
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626203, XrefRangeEnd = 626204, 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: 0x06008358 RID: 33624 RVA: 0x00217DD4 File Offset: 0x00215FD4
|
|
// 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, 100673236);
|
|
SimpleLocomotion.NativeMethodInfoPtr_set_isGrounded_Private_set_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100673237);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100673238);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100673239);
|
|
SimpleLocomotion.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100673240);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Rotate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100673241);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Move_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100673242);
|
|
SimpleLocomotion.NativeMethodInfoPtr_GetInputVector_Private_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100673243);
|
|
SimpleLocomotion.NativeMethodInfoPtr_GetInputVectorRaw_Private_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100673244);
|
|
SimpleLocomotion.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100673245);
|
|
}
|
|
|
|
// Token: 0x06008359 RID: 33625 RVA: 0x0000351C File Offset: 0x0000171C
|
|
public SimpleLocomotion(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17002CA3 RID: 11427
|
|
// (get) Token: 0x0600835A RID: 33626 RVA: 0x00217FD0 File Offset: 0x002161D0
|
|
// (set) Token: 0x0600835B RID: 33627 RVA: 0x00218004 File Offset: 0x00216204
|
|
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: 0x17002CA4 RID: 11428
|
|
// (get) Token: 0x0600835C RID: 33628 RVA: 0x0021802C File Offset: 0x0021622C
|
|
// (set) Token: 0x0600835D RID: 33629 RVA: 0x00218054 File Offset: 0x00216254
|
|
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: 0x17002CA5 RID: 11429
|
|
// (get) Token: 0x0600835E RID: 33630 RVA: 0x00218078 File Offset: 0x00216278
|
|
// (set) Token: 0x0600835F RID: 33631 RVA: 0x002180A0 File Offset: 0x002162A0
|
|
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: 0x17002CA6 RID: 11430
|
|
// (get) Token: 0x06008360 RID: 33632 RVA: 0x002180C4 File Offset: 0x002162C4
|
|
// (set) Token: 0x06008361 RID: 33633 RVA: 0x002180EC File Offset: 0x002162EC
|
|
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: 0x17002CA7 RID: 11431
|
|
// (get) Token: 0x06008362 RID: 33634 RVA: 0x00218110 File Offset: 0x00216310
|
|
// (set) Token: 0x06008363 RID: 33635 RVA: 0x00218138 File Offset: 0x00216338
|
|
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: 0x17002CA8 RID: 11432
|
|
// (get) Token: 0x06008364 RID: 33636 RVA: 0x0021815C File Offset: 0x0021635C
|
|
// (set) Token: 0x06008365 RID: 33637 RVA: 0x00218184 File Offset: 0x00216384
|
|
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: 0x17002CA9 RID: 11433
|
|
// (get) Token: 0x06008366 RID: 33638 RVA: 0x002181A8 File Offset: 0x002163A8
|
|
// (set) Token: 0x06008367 RID: 33639 RVA: 0x002181D0 File Offset: 0x002163D0
|
|
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: 0x17002CAA RID: 11434
|
|
// (get) Token: 0x06008368 RID: 33640 RVA: 0x002181F4 File Offset: 0x002163F4
|
|
// (set) Token: 0x06008369 RID: 33641 RVA: 0x00218228 File Offset: 0x00216428
|
|
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: 0x17002CAB RID: 11435
|
|
// (get) Token: 0x0600836A RID: 33642 RVA: 0x00218250 File Offset: 0x00216450
|
|
// (set) Token: 0x0600836B RID: 33643 RVA: 0x00218278 File Offset: 0x00216478
|
|
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: 0x17002CAC RID: 11436
|
|
// (get) Token: 0x0600836C RID: 33644 RVA: 0x0021829C File Offset: 0x0021649C
|
|
// (set) Token: 0x0600836D RID: 33645 RVA: 0x002182C4 File Offset: 0x002164C4
|
|
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: 0x17002CAD RID: 11437
|
|
// (get) Token: 0x0600836E RID: 33646 RVA: 0x002182E8 File Offset: 0x002164E8
|
|
// (set) Token: 0x0600836F RID: 33647 RVA: 0x00218310 File Offset: 0x00216510
|
|
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: 0x17002CAE RID: 11438
|
|
// (get) Token: 0x06008370 RID: 33648 RVA: 0x00218334 File Offset: 0x00216534
|
|
// (set) Token: 0x06008371 RID: 33649 RVA: 0x0021835C File Offset: 0x0021655C
|
|
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: 0x17002CAF RID: 11439
|
|
// (get) Token: 0x06008372 RID: 33650 RVA: 0x00218380 File Offset: 0x00216580
|
|
// (set) Token: 0x06008373 RID: 33651 RVA: 0x002183B4 File Offset: 0x002165B4
|
|
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: 0x040057D8 RID: 22488
|
|
private static readonly IntPtr NativeFieldInfoPtr_cameraController;
|
|
|
|
// Token: 0x040057D9 RID: 22489
|
|
private static readonly IntPtr NativeFieldInfoPtr_accelerationTime;
|
|
|
|
// Token: 0x040057DA RID: 22490
|
|
private static readonly IntPtr NativeFieldInfoPtr_turnTime;
|
|
|
|
// Token: 0x040057DB RID: 22491
|
|
private static readonly IntPtr NativeFieldInfoPtr_walkByDefault;
|
|
|
|
// Token: 0x040057DC RID: 22492
|
|
private static readonly IntPtr NativeFieldInfoPtr_rotationMode;
|
|
|
|
// Token: 0x040057DD RID: 22493
|
|
private static readonly IntPtr NativeFieldInfoPtr_moveSpeed;
|
|
|
|
// Token: 0x040057DE RID: 22494
|
|
private static readonly IntPtr NativeFieldInfoPtr__isGrounded_k__BackingField;
|
|
|
|
// Token: 0x040057DF RID: 22495
|
|
private static readonly IntPtr NativeFieldInfoPtr_animator;
|
|
|
|
// Token: 0x040057E0 RID: 22496
|
|
private static readonly IntPtr NativeFieldInfoPtr_speed;
|
|
|
|
// Token: 0x040057E1 RID: 22497
|
|
private static readonly IntPtr NativeFieldInfoPtr_angleVel;
|
|
|
|
// Token: 0x040057E2 RID: 22498
|
|
private static readonly IntPtr NativeFieldInfoPtr_speedVel;
|
|
|
|
// Token: 0x040057E3 RID: 22499
|
|
private static readonly IntPtr NativeFieldInfoPtr_linearTargetDirection;
|
|
|
|
// Token: 0x040057E4 RID: 22500
|
|
private static readonly IntPtr NativeFieldInfoPtr_characterController;
|
|
|
|
// Token: 0x040057E5 RID: 22501
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_isGrounded_Public_get_Boolean_0;
|
|
|
|
// Token: 0x040057E6 RID: 22502
|
|
private static readonly IntPtr NativeMethodInfoPtr_set_isGrounded_Private_set_Void_Boolean_0;
|
|
|
|
// Token: 0x040057E7 RID: 22503
|
|
private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;
|
|
|
|
// Token: 0x040057E8 RID: 22504
|
|
private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;
|
|
|
|
// Token: 0x040057E9 RID: 22505
|
|
private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;
|
|
|
|
// Token: 0x040057EA RID: 22506
|
|
private static readonly IntPtr NativeMethodInfoPtr_Rotate_Private_Void_0;
|
|
|
|
// Token: 0x040057EB RID: 22507
|
|
private static readonly IntPtr NativeMethodInfoPtr_Move_Private_Void_0;
|
|
|
|
// Token: 0x040057EC RID: 22508
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetInputVector_Private_Vector3_0;
|
|
|
|
// Token: 0x040057ED RID: 22509
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetInputVectorRaw_Private_Vector3_0;
|
|
|
|
// Token: 0x040057EE RID: 22510
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
|
|
// Token: 0x02000451 RID: 1105
|
|
[Serializable]
|
|
public enum RotationMode
|
|
{
|
|
// Token: 0x040057F0 RID: 22512
|
|
Smooth,
|
|
// Token: 0x040057F1 RID: 22513
|
|
Linear
|
|
}
|
|
}
|
|
}
|