Antoshidza / NSprites-Foundation

Basic assets for working with NSprites package
MIT License
65 stars 17 forks source link

Custom editor causes errors when build #5

Closed laicasaane closed 1 year ago

laicasaane commented 1 year ago

Custom editors should be placed inside #if UNITY_EDITOR or Editor only asmdef.

Library\PackageCache\com.tonymax.nsprites.foundation@ebe6f264d8\Sorting\Editor\SortingLayerPropertyDrawer.cs(8,47): error CS0246: The type or namespace name 'PropertyDrawer' could not be found (are you missing a using directive or an assembly reference?)
laicasaane commented 1 year ago

FYI, folder named Editor is just a normal folder if they are inside an asmdef folder.