Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Assembly Definition Files #15

Open
Radagaisus opened this issue Mar 4, 2019 · 3 comments
Open

Add Assembly Definition Files #15

Radagaisus opened this issue Mar 4, 2019 · 3 comments

Comments

@Radagaisus
Copy link

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.

@rakkarage
Copy link

rakkarage commented Mar 4, 2019

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

@laurentopia
Copy link

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
Copy link

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants