Replies: 1 comment
-
If you're Destroy'ing the deleted objects, then I'd definitely recommend calling Refresh and RefreshSearchResults after Destroy (but since Destroy isn't immediate, perhaps RefreshDelayed might be the solution here). You may say it's wasteful to refresh all objects but unless it causes real performance issues, I'd say better safe than sorry. Refresh goes over all expanded Transforms and thus, makes sure that the object is removed from everywhere. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I want to specifically get all the pseudo-scenes of a Transform and then use that list to remove the object manually from all the pseudo scenes (users are having errors when deleting objects and the hierarchy suddenly broke afterwards).
A function/method to get all the pseudo-scenes that the Transform is in would be nice or a function to just remove the Transform completely without needing to refresh the hierarchy afterwards would be fine or is calling Refresh right after I deleted it should work just fine?
This might also have some other use cases but I can't think of it right now so for now I'd like to ask for the implementation of these methods 🙏
Beta Was this translation helpful? Give feedback.
All reactions