dialog applying time pause
This commit is contained in:
@@ -12,12 +12,10 @@ public class Bed : BaseInteractableObject
|
||||
|
||||
private void OnAnimationFinished()
|
||||
{
|
||||
TimeManager.Instance.Pause();
|
||||
SliderUI.Instance.ShowTimeSliderDialog("Go to sleep", "Sleep until", OnCancel,OnConfirm);
|
||||
}
|
||||
private void OnCancel()
|
||||
{
|
||||
TimeManager.Instance.Resume();
|
||||
OnFastForwardEnd();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user