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

18 lines
428 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
namespace EntityStates.Missions.ArtifactWorld.TrialController;
public class BeforeTrial : ArtifactTrialControllerBaseState
{
public override void OnEnter()
{
base.OnEnter();
purchaseInteraction.enabled = true;
childLocator.FindChild("BeforeTrial").gameObject.SetActive(value: true);
}
public override void OnExit()
{
childLocator.FindChild("BeforeTrial").gameObject.SetActive(value: false);
base.OnExit();
}
}