Geri-Borbas / Unity.Library.eppz.Geometry

2D Geometry for Unity. Suited for everyday polygon hassle. Polygon clipping, polygon winding direction, polygon area, polygon centroid, centroid of multiple polygons, line intersection, point-line distance, segment intersection, polygon-point containment, polygon triangulation, polygon Voronoi diagram, polygon offset, polygon outline, polygon buffer, polygon union, polygon substraction, polygon boolean operations, and more. It is a polygon fest.
Other
321 stars 58 forks source link

Missing dependencies #1

Open FullStackForger opened 6 years ago

FullStackForger commented 6 years ago

Error I am getting after importing your library.

Assets/Plugins/eppz!/Geometry/Scenes/Controllers/Controller_1.cs(33,10): error CS0246: The type or namespace name `SegmentLineRenderer' could not be found. Are you missing an assembly reference?
erasta commented 6 years ago

@FullStackForger you can delete the folder Scenes and then it works. Another option: also import the https://github.com/eppz/Unity.Library.eppz.Lines repo to a sibling folder, as they are coupled. you might also need to add the EPPZ_LINES define to the global definitions. which is on player-settings/other-settings/scripting-define-symbols, separated by commas.

Geri-Borbas commented 6 years ago

Yap, sorry for that. I've never used it without the dependencies actually. I recommend to add the entire eppz! library, so scripting defines, and sibling libraries will just work fine.

Geri-Borbas commented 6 years ago

@erasta Thanks for the workaround, and the support. 😄