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

18 lines
322 B
C#

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());
}
}
}