mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
23 lines
397 B
C#
23 lines
397 B
C#
using UnityEngine;
|
|
|
|
namespace QSB.TimeSync;
|
|
|
|
public class StopMeditation : MonoBehaviour
|
|
{
|
|
public void Init()
|
|
{
|
|
var menuManager = Locator.GetSceneMenuManager();
|
|
|
|
if (menuManager == null)
|
|
{
|
|
return;
|
|
}
|
|
|
|
if (menuManager._pauseMenu == null || menuManager.pauseMenu._skipToNextLoopButton == null)
|
|
{
|
|
return;
|
|
}
|
|
|
|
menuManager.pauseMenu._skipToNextLoopButton.SetActive(false);
|
|
}
|
|
} |