ReorderableInspector icon indicating copy to clipboard operation
ReorderableInspector copied to clipboard

Add Assembly Definition Files

Open Radagaisus opened this issue 6 years ago • 3 comments

So that people won’t have to muck around within the package, add assembly definition files. One that should only be linked to in the Editor, another for all platforms.

Radagaisus avatar Mar 04 '19 22:03 Radagaisus

ya that is how i use it too https://github.com/rakkarage/TestTileMap/blob/master/Assets/ReorderableInspector/ReorderableInspector.asmdef but maybe just need one for all platforms not two? idk

rakkarage avatar Mar 04 '19 23:03 rakkarage

Yes please. I tried this but no bueno on switch build (il2cpp) image image image

the error on build is this Assets\Scripts\Plugins\Utilities\Reorderable\Editor\ReorderableArrayInspector.cs(468,33): error CS0246: The type or namespace name 'ReorderableAttribute' could not be found (are you missing a using directive or an assembly reference?)

laurentopia avatar Feb 06 '21 03:02 laurentopia

and ... solved here is how you do it: create a asmdef in the editor folder "Reorderable.Editor" and another one called "Reorderable" in the folder than contains non editor scripts of Reorderable reference "Reorderable" in "Reorderable.Editor"

laurentopia avatar Feb 06 '21 04:02 laurentopia