What's the pros and cons to firing an event per item, or firing an event once but passing an array?

后端 未结 0 1938
日久生厌
日久生厌 2021-01-14 13:33

So lets say you have a list of items. They move from one object to another, and you want to fire off an event like OnItemsMoved(pass 1 moved item)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题