Suggestions about UserDataStorage.CopyTo() and UserDataStorage.Clear() #245
Closed
ReneeGA2020
started this conversation in
Ideas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Suggestion 1:
It looks like UserDataStorage.CopyTo only works when the orgin UserDataStorage has anything stored, otherwise the target object's storage will not be changed. This probably worth to be mentioned in the document, or change its behavior to clear up all the UserData in the target object.
Alternately, provide a Method to check if the storage has any UserData.
Suggestion 2:
I think UserDataStorage.Clear() would be useful.
All reactions