Question by
Narraxus · Jun 13, 2018 at 08:05 AM ·
editor-scriptingeditorguieditor extension
[Help] GUI Button - Enables Raycast Which Selects The Object In Scene Hierarchy Through Play Window
I want to create a GUI button in the Scene Window which enables a one-time function. The function enables a method in the Play Window which returns the first GameObject hit by a raycast in the Play Window, and then selects that GameObject in the hierarchy.
I have little to no experience with editor scripting. I've only made some basic tools like scene selection through toolbar dropdown menu, and selecting files from a dropdown menu.
Comment