smart-interactive-display/Assets/GadGame/Scripts/State/GameState/ResumeGameState.cs

25 lines
482 B
C#
Raw Normal View History

2024-04-15 04:10:00 -07:00
using GadGame.MiniGame;
using UnityEngine;
namespace GadGame.State.GameState
{
public class ResumeGameState : State<MiniGameController>
{
public override void Enter()
{
Debug.Log("Resume Game");
Time.timeScale = 1;
2024-04-15 04:10:00 -07:00
Runner.SetState<PlayingGameState>();
}
public override void Update(float time)
{
}
public override void Exit()
{
}
}
}