chip-gameV3/Assets/Scripts/Common/GameFSM/EnterPanels/EnterPrizesForCharactersState.cs

32 lines
590 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using PrizeSystem;
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);
}
public void update()
{
}
}