namespace UnityEngine.AdaptivePerformance
{
///
/// You can subscribe to the performance mode event delegate which sends the when the performance mode changes.
///
///
public delegate void PerformanceModeEventHandler(PerformanceMode performanceMode);
///
/// Use the performance mode status interface to receive performance mode status events of the device.
///
public interface IPerformanceModeStatus
{
///
/// The latest performance mode available.
///
/// The latest performance mode.
PerformanceMode PerformanceMode { get; }
///
/// Subscribe to performance mode events which Adaptive Performance sends when the performance mode of the device changes.
///
event PerformanceModeEventHandler PerformanceModeEvent;
}
}