You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en-us/reference/engine/classes/Instance.yaml
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -321,9 +321,13 @@ methods:
321
321
already applied. Successfully adding a tag will fire a signal created by
322
322
`Class.CollectionService:GetInstanceAddedSignal()` with the given tag.
323
323
324
-
**Warning:** An instance's tags that were added client-side will be dropped if the server later adds or removes a tag on that instance, because the server replicates all tags together and overwrites previous tags.
324
+
##### Warnings
325
+
326
+
- An instance's tags that were added client-side will be dropped if the server
327
+
later adds or removes a tag on that instance, because the server replicates
328
+
all tags together and overwrites previous tags.
325
329
326
-
Note that when tagging an instance, it's common that some resources are
330
+
- When tagging an instance, it is common that some resources are
327
331
used to give the tag its functionality, for example event connections or
328
332
tables. To prevent memory leaks, it's a good idea to clean these up
329
333
(disconnect, set to `nil`, etc.) when no longer needed for a tag. Do this
0 commit comments