Check if 2 objects are selected in Scene View

I am working on AI Way point system and I need to be able to check if I have selected 2 way points(gameObjects) in the editor/scene view, then return those 2 objects and do stuff with them.


Iā€™m not real experienced with editor scripts, but I believe ā€˜Selection.transformsā€™ will give you want you want. Just check that the array has two items.

Or Selection.gameObjects