You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
608 B

using CustomUI.BeatSaber;
using System;
using UnityEngine.UI;
using VRUI;
namespace BSIPA_ModList.UI
{
internal class BackButtonNavigationController : VRUINavigationController
{
public event Action didFinishEvent;
private Button _backButton;
protected override void DidActivate(bool firstActivation, ActivationType activationType)
{
if (firstActivation && activationType == ActivationType.AddedToHierarchy)
{
_backButton = BeatSaberUI.CreateBackButton(rectTransform, didFinishEvent.Invoke);
}
}
}
}