r2mods/ilspy_dump/ror2_csproj/EntityStates.Engi.Mine/Arm.cs

20 lines
355 B
C#
Raw Permalink Normal View History

2024-10-04 07:26:37 +00:00
using UnityEngine.Networking;
namespace EntityStates.Engi.Mine;
public class Arm : BaseMineState
{
public static float duration;
protected override bool shouldStick => true;
public override void FixedUpdate()
{
base.FixedUpdate();
if (NetworkServer.active && duration <= base.fixedAge)
{
outer.SetNextState(new WaitForTarget());
}
}
}