Hi guys. I been reading up and looking into how Unity has its own editor class and allows you to implement all sortsa stuff outside the box that unity ships in. The thing is, from what im seeing in these documents, is that you create menus and fields within the inspector , menu etc … which is cool, and has caught my interest big time. Will most likely be pursuing this learning curve further. However, that said, the reason i discovered it in the first place , is because i needed a simple way to change the lightmap size that beast is using as default 1024.
My real question is … do i absolutely need to implement some kind of menu , or inspector settings to allow this to happen. As is, i created the silly script containing just the settings i want changed…
LightmapEditorSettings.maxAtlasWidth = 256;
LightmapEditorSettings.maxAtlasHeight = 256;
and noticed, that this script is not *attacheable( to any objects, and nor does it work through traditional methods of play in editor i am used to such as function Awake()
Thanks , again , totally new to editor scripting.
In the documentation, all i could find was *must be placed in Assets/Editor … etc , but nothing beyond that. (that i could find)