67 lines
1.6 KiB
C#
67 lines
1.6 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000E3 RID: 227
|
|
[Token(Token = "0x20000E3")]
|
|
[StructLayout(3)]
|
|
public class SceneToolsKinematicOnReset : MonoBehaviour
|
|
{
|
|
// Token: 0x060005FC RID: 1532 RVA: 0x0001E6B4 File Offset: 0x0001C8B4
|
|
[Token(Token = "0x60005FC")]
|
|
[Address(RVA = "0x1290780", Offset = "0x128F180", VA = "0x181290780")]
|
|
private void Awake()
|
|
{
|
|
Tool[] array = this.kinematicOnResetTools;
|
|
int num = 0;
|
|
if (num < array.Length)
|
|
{
|
|
int num2 = 0;
|
|
Tool tool;
|
|
if (tool != num2)
|
|
{
|
|
Tool[] array2 = this.kinematicOnResetTools;
|
|
Tool tool2;
|
|
tool2.KinematicOnReset = true;
|
|
}
|
|
Tool[] array3 = this.kinematicOnResetTools;
|
|
num++;
|
|
}
|
|
Tool[] array4 = this.kinematicOnSleepTools;
|
|
if (num < array4.Length)
|
|
{
|
|
Tool tool3 = array4[num];
|
|
int num3 = 0;
|
|
if (tool3 != num3)
|
|
{
|
|
this.kinematicOnSleepTools[num].KinematicOnSleep = true;
|
|
}
|
|
Tool[] array5 = this.kinematicOnSleepTools;
|
|
num++;
|
|
while (array5 != 0)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060005FD RID: 1533 RVA: 0x0001E750 File Offset: 0x0001C950
|
|
[Token(Token = "0x60005FD")]
|
|
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
|
public SceneToolsKinematicOnReset()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400051C RID: 1308
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400051C")]
|
|
[SerializeField]
|
|
private Tool[] kinematicOnResetTools;
|
|
|
|
// Token: 0x0400051D RID: 1309
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400051D")]
|
|
[SerializeField]
|
|
private Tool[] kinematicOnSleepTools;
|
|
}
|