using UnityEngine;
namespace E7.NotchSolution
{
///
/// Put it on any component to make it receive simulation calls from the Notch Simulator.
/// Because in editor API is useless, instead we could receive some
/// simulated values depending on what we have selected.
///
///
/// After 2019.3 finally there is an API that or could
/// be overridden. It is a base for Unity's own
/// [Device Simulator package](https://docs.unity3d.com/Packages/com.unity.device-simulator@latest/).
///
public interface INotchSimulatorTarget
{
///
/// Called frequently while the Notch Simulator is running.
///
///
/// If you have [Device Simulator package](https://docs.unity3d.com/Packages/com.unity.device-simulator@latest/),
/// it is still called. Your script using this should decide if you want to stop using these values
/// when you can now trust the or that is now modified.
/// (You may use this helper : )
///
///
/// Each values in the rect is 0~1, relative to the current screen size of active simulation device.
///
///
/// Each values in the rect is 0~1, relative to the current screen size of active simulation device.
///
void SimulatorUpdate(Rect simulatedSafeAreaRelative, Rect[] simulatedCutoutsRelative);
}
}