r2mods/ilspy_dump/ror2_csproj/RoR2.Scripts.Tutorial/TutorialObjectiveCrossfadeH...

19 lines
364 B
C#

using System;
using UnityEngine;
using UnityEngine.Events;
namespace RoR2.Scripts.Tutorial;
public class TutorialObjectiveCrossfadeHelper : MonoBehaviour
{
public UnityEvent OnBeginFinishCrossfade;
public Action FinishCrossfadeAction { get; set; }
public void FinishCrossfade()
{
FinishCrossfadeAction?.Invoke();
OnBeginFinishCrossfade?.Invoke();
}
}