omid3098 / OpenFlowMap

MIT License
95 stars 7 forks source link

Request: can be downloaded with unity package manager #3

Open fight4dream opened 10 months ago

fight4dream commented 10 months ago

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 )
omid3098 commented 10 months ago

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

fight4dream commented 10 months ago

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?

omid3098 commented 10 months ago

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.

fight4dream commented 10 months ago

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