mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +00:00
25 lines
437 B
C#
25 lines
437 B
C#
using QSB.Utility;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.TimeSync;
|
|
|
|
[UsedInUnityProject]
|
|
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);
|
|
}
|
|
} |