Skip to content

Multiple polygons and prefab better support#1

Open
bassarisse wants to merge 2 commits intohamdshah:masterfrom
bassarisse:master
Open

Multiple polygons and prefab better support#1
bassarisse wants to merge 2 commits intohamdshah:masterfrom
bassarisse:master

Conversation

@bassarisse
Copy link
Copy Markdown

This PR makes the script add all the polygons contained in the selected key of the plist, instead of only the first one. Is this only possible because of a Unity update? Sorry, little experience here.

And, maybe it's a bit hacky, but the reference to the PolygonCollider2D via Editor fixed some issues when using the script on prefabs.

What do you think?

@hamdshah
Copy link
Copy Markdown
Owner

hamdshah commented Sep 1, 2015

Thanks, will look in to this.
b/w which version of unity you are using ? 😄

@bassarisse
Copy link
Copy Markdown
Author

I'm using Unity 5 :)

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

Successfully merging this pull request may close these issues.

2 participants