A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Thanks, this helped me a lot. You can add [ExecuteInEditMode] to the top of your class so it will work in editor. Still only works in game view.