The first line of code says that the script needs UnityEditor code. Which makes it an Editor script. Which means it needs to be stored in a folder called `Editor`.
↧