Closed ahmed-shariff closed 10 months ago
Based on my understanding, during runtime, once a VirtualizedScrollRectList is created, it cannot be reset. I would like to be able to reuse the menu for different list of items.
The OnValidate method already seems to do this. A solution could be to make this public method https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/blob/f669f5aef4141ed3f949a2913a40e386c5444b2e/org.mixedrealitytoolkit.uxcore/Experimental/List/VirtualizedScrollRectList.cs#L314-L324
Hi @ahmed-shariff thank you for your request. This seems like a valid feature worth investigating.
Problem
Based on my understanding, during runtime, once a VirtualizedScrollRectList is created, it cannot be reset. I would like to be able to reuse the menu for different list of items.
The OnValidate method already seems to do this. A solution could be to make this public method https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/blob/f669f5aef4141ed3f949a2913a40e386c5444b2e/org.mixedrealitytoolkit.uxcore/Experimental/List/VirtualizedScrollRectList.cs#L314-L324