r2mods/ilspy_dump/ror2_csproj/EntityStates.Missions.Artif.../DuringTrial.cs

23 lines
506 B
C#

namespace EntityStates.Missions.ArtifactWorld.TrialController;
public class DuringTrial : ArtifactTrialControllerBaseState
{
public virtual EntityState GetNextState()
{
return new AfterTrial();
}
public override void OnEnter()
{
base.OnEnter();
purchaseInteraction.enabled = false;
childLocator.FindChild("DuringTrial").gameObject.SetActive(value: true);
}
public override void OnExit()
{
childLocator.FindChild("DuringTrial").gameObject.SetActive(value: false);
base.OnExit();
}
}