using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using UnityEditor;
namespace Packages.Rider.Editor.UnitTesting
{
///
/// Is used by Rider Unity plugin by reflection
///
[UsedImplicitly] // from Rider Unity plugin
public class CallbackData : ScriptableSingleton
{
public bool isRider;
[UsedImplicitly] public static event EventHandler Changed = (sender, args) => { };
internal void RaiseChangedEvent()
{
Changed(null, EventArgs.Empty);
}
public List events = new List();
///
/// Is used by Rider Unity plugin by reflection
///
[UsedImplicitly]
public void Clear()
{
events.Clear();
}
}
}