The `#if UNITY_EDITOR` you have used tells Unity to only use the code inside when it's running in the editor. You might want to read up on c# code.
↧