r2mods/ilspy_dump/ror2_csproj/EntityStates.MinorConstruct/Revealed.cs

14 lines
263 B
C#

namespace EntityStates.MinorConstruct;
public class Revealed : BaseHideState
{
public override void FixedUpdate()
{
base.FixedUpdate();
if (base.characterBody.outOfCombat && base.characterBody.outOfDanger)
{
outer.SetNextState(new Hidden());
}
}
}