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: 0x0600050E RID: 1294 RVA: 0x0001ACD0 File Offset: 0x00018ED0
|
|
[Token(Token = "0x600050E")]
|
|
[Address(RVA = "0xA43F70", Offset = "0xA42D70", VA = "0x180A43F70")]
|
|
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: 0x0600050F RID: 1295 RVA: 0x0001AD6C File Offset: 0x00018F6C
|
|
[Token(Token = "0x600050F")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
public SceneToolsKinematicOnReset()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000436 RID: 1078
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000436")]
|
|
[SerializeField]
|
|
private Tool[] kinematicOnResetTools;
|
|
|
|
// Token: 0x04000437 RID: 1079
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000437")]
|
|
[SerializeField]
|
|
private Tool[] kinematicOnSleepTools;
|
|
}
|