r2mods/ilspy_dump/ror2_csproj/EntityStates.GameOver/BaseGameOverControllerState.cs

18 lines
406 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using RoR2;
namespace EntityStates.GameOver;
public class BaseGameOverControllerState : BaseState
{
protected GameOverController gameOverController { get; private set; }
protected GameEndingDef gameEnding { get; private set; }
public override void OnEnter()
{
base.OnEnter();
gameOverController = GetComponent<GameOverController>();
gameEnding = gameOverController.runReport.gameEnding;
}
}