16 lines
324 B
C#
16 lines
324 B
C#
using UnityEngine;
|
|
|
|
namespace Bremsengine
|
|
{
|
|
public class GeneralManagerPauseAction : MonoBehaviour
|
|
{
|
|
public void SetPause(bool state)
|
|
{
|
|
GeneralManager.SetPause(state);
|
|
}
|
|
public void TogglePause()
|
|
{
|
|
SetPause(!GeneralManager.IsPaused);
|
|
}
|
|
}
|
|
}
|