Coimbra Framework: Editor Utilities
This package offers some tools available in Tools/Coimbra Framework/
and an option to configure a startup scene while playing in the editor.
Going to Project Settings/Coimbra Framework
you will find Editor Startup Scene Settings.
There you can configure a Startup Scene
that will be used when entering play mode.
If none is set, then the default editor behaviour takes place.
The startup scene will only be used if attempting to enter play mode when a scene included in the build settings is currently open. This will allow you to still play from test scenes where you always can iterate faster.
The windows available in Window/Coimbra Framework/
are:
Scene Selector
: Personal window to have quick access to specific scenes of the project.Scriptable Settings
: Debug window for ScriptableSettings.Shared Managed Pools
: Debug window for SharedManagedPool.Service Locator
: Debug window for ServiceLocator.
The menu items available in Tools/Coimbra Framework/
are:
Assert Serializable Types
: Asserts that all types that inherits from a serializable type also contains the SerializableAttribute. It will also log a message if everything is correct.Clear Cache
: Deletes all AssetBundle content that has been cached.Create Assets Assembly
: Generate assemblies for all scripts in theAssets
folder while also taking into considerationEditor
folders. Needs to be triggered everytime a new third-party is imported.Force Reserialize Assets
: Forcibly load and re-serialize all assets, flushing any outstanding data changes to disk. Useful after upgrading engine versions to avoid unnecessary dirtying later on.Request Script Reload
: The Unity Editor reloads script assemblies asynchronously on the next frame. This resets the state of all the scripts, but Unity does not compile any code that has changed since the previous compilation.Reset Play Mode Start Scene
: Reset the EditorSceneManager.playModeStartScene back to null, if set.Save Assets
: Saves all assets changes to disk. About the same asFile/Save Project
but also with a nice default shortcut atAlt + Shift + S
.
Some additional GUI scopes are provided for when creating custom inspectors:
Some additional utility classes are provided to enable a smoother editor scripting experience: