Closed MostHated closed 3 years ago
Hi MH,
First of all, let me say thank you for using SelectionGroups, and I am sorry for your inconveniences. We are developing SelectionGroups to provide a more convenient workflow for us and our users, and although we found that many users liked the workflow using SelectionGroups UI window, we don't think that we are ready yet to open its scripts API for public.
The fact that most of the API were open for public in the first release was a mistake on our side, which we "fixed" by making them internal. But of course, this caused your code to stop working.
That said, we may be able to open some of the API for public now, and based on your code, I think we would need to open
If you have any other classes/properties/fields that you would like us to open, please let us know.
Hey there, I appreciate the reply. The things that would be most useful (that I can think of at the moment) would be the ones already mentioned, as well as the ability to create new and remove groups and add/remove members programmatically, as I was using events upon SubScene loading to then have Linq-to-GameObject locate items within SubScene and add them to selection groups for more easily working with Timeline.
Thanks, -MH
@MostHated Thank you for the wait. We just released 0.4.0-preview which opened some APIs, including the APIs that we discussed above. Please feel free to reopen this issue if you find that the issue still occurs
Thanks for the heads up. For the time being, I just manually added the package to my assets folder and made the modifications I needed and used it like that, so I will move that to another folder and then add this package back and give it a go and let you know if I run into any issues. Much appreciated. :+1:
Hello, I was excited to see that SelectionGroup got an update (I believe I was using 0.1 up to now) until I saw that the SelectionGroup class, as well as pretty much everything else, are all internal. What is the reasoning behind this? I didn't see anything in the documentation about a replacement, so.. what really is the point of it then, if I can no longer access the group members? I am guessing I must be missing something in regards to how this is supposed to work now?
I had been using it in ways such as this:
What is the required way of using it now?
Thanks, -MH