rrbox / ecs-swift

Entity Component System for swift
MIT License
3 stars 0 forks source link

didSpawnEntity, didDespawnEntity のようなシステムを作る #6

Closed rrbox closed 10 months ago

rrbox commented 1 year ago

Entity が spawn / despawn されたタイミングで実行される処理をカスタマイズできるようにしたいです。Entity と関連づけられた Node を削除したりする時に活用できると思います。

rrbox commented 10 months ago

v0.1.0 の CommnadsEventSystem で実装しました。