decline-cookies / anvil-unity-dots

Unity DOTS and ECS specific additions and extensions to Anvil
MIT License
4 stars 1 forks source link

EntityPersistentData Reader/Writer - Add Count and IsEmpty #207

Closed mbaker3 closed 1 year ago

mbaker3 commented 1 year ago

Add IsEmpty and Count to the EntityPersistentDataReader and EntityPersistentDataWriter

What is the current behaviour?

Though unusual, there is now way to check the number of elements in an Entity Persisten Data instance.

What is the new behaviour?

IsEmpty and Count getters are now passed through from the underlying collection.

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?