5argon / NotchSolution

A set of components and tools to solve notched/cutout phones layout problems for Unity.
http://exceed7.com/notch-solution
MIT License
668 stars 91 forks source link

Not working in Unity 2019.4.40 LTS #67

Open paulorenanmelo opened 1 year ago

paulorenanmelo commented 1 year ago

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?)

sdalexandre commented 1 year ago

The breaking changes: https://github.com/5argon/NotchSolution/commit/2bb581e20dfc5f666a9819af86bed2962ffa9d76

I have solved the error by readding the following line: using UnityEditor.Experimental.SceneManagement;