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: 0x02000401 RID: 1025
|
|
public class SimpleLocomotion : MonoBehaviour
|
|
{
|
|
// Token: 0x17002A47 RID: 10823
|
|
// (get) Token: 0x06007BAB RID: 31659 RVA: 0x001F79B8 File Offset: 0x001F5BB8
|
|
// (set) Token: 0x06007BAC RID: 31660 RVA: 0x001F7A08 File Offset: 0x001F5C08
|
|
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: 0x06007BAD RID: 31661 RVA: 0x001F7A5C File Offset: 0x001F5C5C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 611424, XrefRangeEnd = 611434, 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: 0x06007BAE RID: 31662 RVA: 0x001F7AA0 File Offset: 0x001F5CA0
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 611434, XrefRangeEnd = 611439, 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: 0x06007BAF RID: 31663 RVA: 0x001F7AE4 File Offset: 0x001F5CE4
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 611439, XrefRangeEnd = 611442, 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: 0x06007BB0 RID: 31664 RVA: 0x001F7B28 File Offset: 0x001F5D28
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 611457, RefRangeEnd = 611458, XrefRangeStart = 611442, XrefRangeEnd = 611457, 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: 0x06007BB1 RID: 31665 RVA: 0x001F7B6C File Offset: 0x001F5D6C
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 611479, RefRangeEnd = 611480, XrefRangeStart = 611458, XrefRangeEnd = 611479, 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: 0x06007BB2 RID: 31666 RVA: 0x001F7BB0 File Offset: 0x001F5DB0
|
|
[CallerCount(2)]
|
|
[CachedScanResults(RefRangeStart = 611486, RefRangeEnd = 611488, XrefRangeStart = 611480, XrefRangeEnd = 611486, 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: 0x06007BB3 RID: 31667 RVA: 0x001F7C00 File Offset: 0x001F5E00
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 611488, XrefRangeEnd = 611494, 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: 0x06007BB4 RID: 31668 RVA: 0x001F7C50 File Offset: 0x001F5E50
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 611494, XrefRangeEnd = 611495, 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: 0x06007BB5 RID: 31669 RVA: 0x001F7C9C File Offset: 0x001F5E9C
|
|
// 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, 100672573);
|
|
SimpleLocomotion.NativeMethodInfoPtr_set_isGrounded_Private_set_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672574);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672575);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672576);
|
|
SimpleLocomotion.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672577);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Rotate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672578);
|
|
SimpleLocomotion.NativeMethodInfoPtr_Move_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672579);
|
|
SimpleLocomotion.NativeMethodInfoPtr_GetInputVector_Private_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672580);
|
|
SimpleLocomotion.NativeMethodInfoPtr_GetInputVectorRaw_Private_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672581);
|
|
SimpleLocomotion.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SimpleLocomotion>.NativeClassPtr, 100672582);
|
|
}
|
|
|
|
// Token: 0x06007BB6 RID: 31670 RVA: 0x0000351C File Offset: 0x0000171C
|
|
public SimpleLocomotion(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17002A3A RID: 10810
|
|
// (get) Token: 0x06007BB7 RID: 31671 RVA: 0x001F7E98 File Offset: 0x001F6098
|
|
// (set) Token: 0x06007BB8 RID: 31672 RVA: 0x001F7ECC File Offset: 0x001F60CC
|
|
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: 0x17002A3B RID: 10811
|
|
// (get) Token: 0x06007BB9 RID: 31673 RVA: 0x001F7EF4 File Offset: 0x001F60F4
|
|
// (set) Token: 0x06007BBA RID: 31674 RVA: 0x001F7F1C File Offset: 0x001F611C
|
|
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: 0x17002A3C RID: 10812
|
|
// (get) Token: 0x06007BBB RID: 31675 RVA: 0x001F7F40 File Offset: 0x001F6140
|
|
// (set) Token: 0x06007BBC RID: 31676 RVA: 0x001F7F68 File Offset: 0x001F6168
|
|
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: 0x17002A3D RID: 10813
|
|
// (get) Token: 0x06007BBD RID: 31677 RVA: 0x001F7F8C File Offset: 0x001F618C
|
|
// (set) Token: 0x06007BBE RID: 31678 RVA: 0x001F7FB4 File Offset: 0x001F61B4
|
|
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: 0x17002A3E RID: 10814
|
|
// (get) Token: 0x06007BBF RID: 31679 RVA: 0x001F7FD8 File Offset: 0x001F61D8
|
|
// (set) Token: 0x06007BC0 RID: 31680 RVA: 0x001F8000 File Offset: 0x001F6200
|
|
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: 0x17002A3F RID: 10815
|
|
// (get) Token: 0x06007BC1 RID: 31681 RVA: 0x001F8024 File Offset: 0x001F6224
|
|
// (set) Token: 0x06007BC2 RID: 31682 RVA: 0x001F804C File Offset: 0x001F624C
|
|
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: 0x17002A40 RID: 10816
|
|
// (get) Token: 0x06007BC3 RID: 31683 RVA: 0x001F8070 File Offset: 0x001F6270
|
|
// (set) Token: 0x06007BC4 RID: 31684 RVA: 0x001F8098 File Offset: 0x001F6298
|
|
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: 0x17002A41 RID: 10817
|
|
// (get) Token: 0x06007BC5 RID: 31685 RVA: 0x001F80BC File Offset: 0x001F62BC
|
|
// (set) Token: 0x06007BC6 RID: 31686 RVA: 0x001F80F0 File Offset: 0x001F62F0
|
|
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: 0x17002A42 RID: 10818
|
|
// (get) Token: 0x06007BC7 RID: 31687 RVA: 0x001F8118 File Offset: 0x001F6318
|
|
// (set) Token: 0x06007BC8 RID: 31688 RVA: 0x001F8140 File Offset: 0x001F6340
|
|
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: 0x17002A43 RID: 10819
|
|
// (get) Token: 0x06007BC9 RID: 31689 RVA: 0x001F8164 File Offset: 0x001F6364
|
|
// (set) Token: 0x06007BCA RID: 31690 RVA: 0x001F818C File Offset: 0x001F638C
|
|
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: 0x17002A44 RID: 10820
|
|
// (get) Token: 0x06007BCB RID: 31691 RVA: 0x001F81B0 File Offset: 0x001F63B0
|
|
// (set) Token: 0x06007BCC RID: 31692 RVA: 0x001F81D8 File Offset: 0x001F63D8
|
|
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: 0x17002A45 RID: 10821
|
|
// (get) Token: 0x06007BCD RID: 31693 RVA: 0x001F81FC File Offset: 0x001F63FC
|
|
// (set) Token: 0x06007BCE RID: 31694 RVA: 0x001F8224 File Offset: 0x001F6424
|
|
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: 0x17002A46 RID: 10822
|
|
// (get) Token: 0x06007BCF RID: 31695 RVA: 0x001F8248 File Offset: 0x001F6448
|
|
// (set) Token: 0x06007BD0 RID: 31696 RVA: 0x001F827C File Offset: 0x001F647C
|
|
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: 0x040052A3 RID: 21155
|
|
private static readonly IntPtr NativeFieldInfoPtr_cameraController;
|
|
|
|
// Token: 0x040052A4 RID: 21156
|
|
private static readonly IntPtr NativeFieldInfoPtr_accelerationTime;
|
|
|
|
// Token: 0x040052A5 RID: 21157
|
|
private static readonly IntPtr NativeFieldInfoPtr_turnTime;
|
|
|
|
// Token: 0x040052A6 RID: 21158
|
|
private static readonly IntPtr NativeFieldInfoPtr_walkByDefault;
|
|
|
|
// Token: 0x040052A7 RID: 21159
|
|
private static readonly IntPtr NativeFieldInfoPtr_rotationMode;
|
|
|
|
// Token: 0x040052A8 RID: 21160
|
|
private static readonly IntPtr NativeFieldInfoPtr_moveSpeed;
|
|
|
|
// Token: 0x040052A9 RID: 21161
|
|
private static readonly IntPtr NativeFieldInfoPtr__isGrounded_k__BackingField;
|
|
|
|
// Token: 0x040052AA RID: 21162
|
|
private static readonly IntPtr NativeFieldInfoPtr_animator;
|
|
|
|
// Token: 0x040052AB RID: 21163
|
|
private static readonly IntPtr NativeFieldInfoPtr_speed;
|
|
|
|
// Token: 0x040052AC RID: 21164
|
|
private static readonly IntPtr NativeFieldInfoPtr_angleVel;
|
|
|
|
// Token: 0x040052AD RID: 21165
|
|
private static readonly IntPtr NativeFieldInfoPtr_speedVel;
|
|
|
|
// Token: 0x040052AE RID: 21166
|
|
private static readonly IntPtr NativeFieldInfoPtr_linearTargetDirection;
|
|
|
|
// Token: 0x040052AF RID: 21167
|
|
private static readonly IntPtr NativeFieldInfoPtr_characterController;
|
|
|
|
// Token: 0x040052B0 RID: 21168
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_isGrounded_Public_get_Boolean_0;
|
|
|
|
// Token: 0x040052B1 RID: 21169
|
|
private static readonly IntPtr NativeMethodInfoPtr_set_isGrounded_Private_set_Void_Boolean_0;
|
|
|
|
// Token: 0x040052B2 RID: 21170
|
|
private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;
|
|
|
|
// Token: 0x040052B3 RID: 21171
|
|
private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;
|
|
|
|
// Token: 0x040052B4 RID: 21172
|
|
private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;
|
|
|
|
// Token: 0x040052B5 RID: 21173
|
|
private static readonly IntPtr NativeMethodInfoPtr_Rotate_Private_Void_0;
|
|
|
|
// Token: 0x040052B6 RID: 21174
|
|
private static readonly IntPtr NativeMethodInfoPtr_Move_Private_Void_0;
|
|
|
|
// Token: 0x040052B7 RID: 21175
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetInputVector_Private_Vector3_0;
|
|
|
|
// Token: 0x040052B8 RID: 21176
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetInputVectorRaw_Private_Vector3_0;
|
|
|
|
// Token: 0x040052B9 RID: 21177
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
|
|
// Token: 0x02000402 RID: 1026
|
|
[Serializable]
|
|
public enum RotationMode
|
|
{
|
|
// Token: 0x040052BB RID: 21179
|
|
Smooth,
|
|
// Token: 0x040052BC RID: 21180
|
|
Linear
|
|
}
|
|
}
|
|
}
|