chip-game/Assets/Scripts/GameFSM/EnterPanels/EnterPrizesForCharactersState.cs

32 lines
639 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnterPrizesForCharactersState : IState
{
GameObject rootPanel;
List<Prize> prizes;
IState prevState;
public EnterPrizesForCharactersState(IState prevState)
{
this.prevState = prevState;
}
public void enter()
{
rootPanel = GameManager.instance.CharactersConfigurator;
rootPanel.SetActive(true);
}
public void exit()
{
rootPanel.SetActive(false);
//GameManager.instance.stateMachine.ChangeState(prevState);
}
public void update()
{
}
}