65 lines
1.5 KiB
C#
65 lines
1.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000C1 RID: 193
|
|
[Token(Token = "0x20000C1")]
|
|
public class SceneToolsKinematicOnReset : MonoBehaviour
|
|
{
|
|
// Token: 0x0600050F RID: 1295 RVA: 0x0001ACBC File Offset: 0x00018EBC
|
|
[Token(Token = "0x600050F")]
|
|
[Address(RVA = "0x125A6C0", Offset = "0x12596C0", VA = "0x18125A6C0")]
|
|
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: 0x06000510 RID: 1296 RVA: 0x0001AD58 File Offset: 0x00018F58
|
|
[Token(Token = "0x6000510")]
|
|
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
|
public SceneToolsKinematicOnReset()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000437 RID: 1079
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000437")]
|
|
[SerializeField]
|
|
private Tool[] kinematicOnResetTools;
|
|
|
|
// Token: 0x04000438 RID: 1080
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000438")]
|
|
[SerializeField]
|
|
private Tool[] kinematicOnSleepTools;
|
|
}
|