How to clear RealtimeArray?
I am using RealtimeArrays to store RealtimeModels for scoring like kills/deaths etc. There is a use-case where I need to reset the scores and everything. How do I clear/remove all elements of RealtimeArray to start from scratch?
Solution
you can store the realtime array inside a realtime set in order to clear your scores and create a new array