OpenFlowMap icon indicating copy to clipboard operation
OpenFlowMap copied to clipboard

Request: can be downloaded with unity package manager

Open fight4dream opened this issue 2 years ago • 4 comments

to make the current code be presented as custom package in unity:

Create custom package

  1. rename or put Scripts folder into Runtime
  2. add assembly definition file to Editor and Runtime folder (.asmdef)
  3. add package.json
  4. (optional) rename Sample folder into “Sample~” and add more data into package.json (See Add Samples )

fight4dream avatar Sep 02 '23 11:09 fight4dream

Thank you very much @fight4dream. Also, as issue #4 suggests, it is better to publish the entire unity project and a separate upm branch containing only the package using templates like this I would highly appreciate it if you could send a PR for these changes. (I am not fast at this kind of things!)

omid3098 avatar Sep 02 '23 11:09 omid3098

i am not familiar with the said procedure in #4 but regardless we need at least to come up with a package name (com.example.mypackage) @omid3098 could you choose the desired package name please?

fight4dream avatar Sep 02 '23 12:09 fight4dream

please use com.omid3098.openflowmap as package name.

I have done this OpenUPM process once this year for OpenRest and did not find the pipeline handy. might need to read more about that again. anyway, one step at a time.

omid3098 avatar Sep 02 '23 12:09 omid3098

some Processors contain references to UnityEditor and some editor only classes. might break build and runtime. i'll try to see how to isolate them

fight4dream avatar Sep 04 '23 15:09 fight4dream