Suggestions about UserDataStorage.CopyTo() and UserDataStorage.Clear() #245
Closed
ReneeGA2020
started this conversation in
Ideas
Replies: 1 comment
-
Moved to issue #248. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions