james7132 / DanmakU

An open source Danmaku development kit for Unity3D.
https://danmaku.jamessliu.com/
MIT License
238 stars 50 forks source link

About the prefab #21

Closed AliAkbarMontazeri closed 7 years ago

AliAkbarMontazeri commented 7 years ago

Hi, thanks for the great danmaku project you shared ! I want to ask about why the instantiated bullet doesn't appear in the hieararchy ? I would really appreciate it if you are willing to answer this newbie question. Thank you !

james7132 commented 7 years ago

For performance reasons, Danmaku are not fully formed GameObjects. The actual rendering is done via a singleton particle system, where each particle is a separate bullet controlled by a set of Danmaku objects. The collision is also manually done via Physics2D calls.