mjholtzem / Unity-2D-Destruction

MIT License
622 stars 98 forks source link

Destruction2D Object can not be made into a PreFab without loosing its function #3

Open InMeVa opened 7 years ago

InMeVa commented 7 years ago

https://forum.unity.com/threads/free-open-source-unity-2d-destruction.382416/

See Comment #24 and #25

It is basically the same.

Best, InMeVa

francescoladdomada commented 6 years ago

I found out that the function fragmentInEditor() from the same Explodable component generates again the fragments at runtime, so it can be called after instantiating the prefab.