NotchSolution
NotchSolution copied to clipboard
A set of components and tools to solve notched/cutout phones layout problems for Unity.
There are new commit since last year but no new tagged release for the new version, so OpenUPM can't pick it up. Please make a tagged release for version 2.0.0....
Error when importing package, not compiling. > Library\PackageCache\com.e7.notch-solution@35d64ddef6\Editor\Simulator\NotchSimulator.cs(433,55): error CS0246: The type or namespace name 'PrefabStage' could not be found (are you missing a using directive or an assembly reference?)
The package is no longer working with Unity 2021
Got no time to look at yet, not sure if we have to edit anything to be compatible with them or not. Quoted from my bug report : > Re:...
Exception thrown while invoking [DidReloadScripts] method 'E7.NotchSolution.Editor.NotchSimulator:OnScriptsReloaded ()' : NullReferenceException: Object reference not set to an instance of an object E7.NotchSolution.MockupCanvas.UpdateMockupSprite (UnityEngine.Sprite sprite, UnityEngine.ScreenOrientation orientation, System.Boolean simulate, System.Boolean flipped, UnityEngine.Color...
I want to conduct a research what would Unity returns for `Screen.safeArea` (new in 2019.1) and `Screen.cutouts` (new in 2019.2). I have made an APK from Unity 2019.2 alpha that...
We tried your game on the S10, and it seems the top right button did stay covered by the notch 
`SafePadding` renders incorrect padding on non-mobile platforms in 2019.3 and Device Simulator 2.+ As a workaround, I use the following scripts: ```csharp /// /// Provides a replacement for that better...
If done right, it may serve the purpose of #18 as well. I have think about the design more. I think it should be a new component that : -...
The latest push adds a proper `Sample~` folder format. However it is lacking a real sample because that is a debug scene. Have to show some practical mock UI sample...