r2mods/ilspy_dump/ror2_csproj/EntityStates.Scrapper/WaitToBeginScrapping.cs

18 lines
322 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
namespace EntityStates.Scrapper;
public class WaitToBeginScrapping : ScrapperBaseState
{
public static float duration;
protected override bool enableInteraction => false;
public override void FixedUpdate()
{
base.FixedUpdate();
if (base.fixedAge > duration)
{
outer.SetNextState(new Scrapping());
}
}
}