Getting a list of game objects a script belongs to.

For a given script, is it possible to get a listing of game objects that have that script as a component?

In the editor, type the name of the script in the search box. In scripting, use FindObjectsOfType(). (Would require some extra processing if objects have more than one copy of the script attached, otherwise you’d have those objects more than once.)

–Eric

Works well, thanks very much!