quantum-space-buddies/QSB/TimeSync/StopMeditation.cs
2022-08-27 11:54:14 -07:00

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);
}
}