com.unity.goql icon indicating copy to clipboard operation
com.unity.goql copied to clipboard

Upgraded to Quick Search 2.0.2

Open dogfuntom opened this issue 4 years ago • 5 comments

This package didn't work with the latest QS version, so I fixed it. Not sure when exactly did the broken change happen. At version 1.0.0 perhaps?

dogfuntom avatar Sep 04 '20 22:09 dogfuntom

so if i understand this correctly with goql you can start a query in quicksearch like: select:<t:Renderer>?

but the compatibility is broken at the moment and you fixed it (a year ago)?

krisrok avatar Sep 29 '21 18:09 krisrok

AFAIK, it doesn't improve Quick Search in any way. It's an alternative for FindObjectsOfTypeAll() and similar methods.

dogfuntom avatar Sep 29 '21 21:09 dogfuntom

the way i understand this function here is there is quicksearch-integration.

i've just stumbled upon goql because of selectiongroups which is another package maintained by unity. ironically, selectiongroups integratetd the goql codebase into its own and commented out said function used for quicksearch integration. strange!

krisrok avatar Sep 30 '21 06:09 krisrok

Thanks for the information, didn't know. I guess we can use GoQL from SelectionGroups then. It's still public, so it should work without any weird hacks. Of course, if the rest of the Selection Groups is not needed, it's a bit annoying, but bearable.

dogfuntom avatar Sep 30 '21 11:09 dogfuntom

Yes in theory but the quicksearch-related stuff is commented out in the SelectionGroups variant of GoQL :) I guess they just needed to make it work with access to internals and that meant to integrate the GoQL stuff into their package. Not a fan of their approach of silently leaving the original repository dangling unmaintained but it is what is.

krisrok avatar Sep 30 '21 12:09 krisrok