ParagonMenuItems
Static class providing top-level Unity Editor menu items under the Paragon menu and the Assets context menu. Includes commands for opening the Scriptable Factory Creator, updating script templates, reloading domain/scripts, and force-reserializing assets.
Definition
Namespace: Paragon.Editor Assembly: Paragon.Editor.dll
public static class ParagonMenuItemsRemarks
All menu items are registered via Unity's [MenuItem] attribute and appear in the Unity Editor's top menu bar. The class serves as a central registry for Paragon-related editor commands, delegating to the appropriate subsystem for each operation.
Quick Lookup
Paragon/Scriptable Factory Creator
1
Opens the ScriptableFactoryCreator editor window
Paragon/Update Script Templates
2
Calls ScriptTemplates.Update() to refresh script templates
Paragon/Reload/Domain
3
Requests a script/domain reload via EditorUtility.RequestScriptReload()
Paragon/Reload/Scripts
4
Deletes .csproj and .sln files, refreshes AssetDatabase, and reloads scripts
Assets/Force Reserialize
1000
Force-reserializes all currently selected assets
Methods
OpenWindow (private)
Opens the Scriptable Factory Creator editor window.
UpdateScriptTemplates
Refreshes Paragon script templates by calling ScriptTemplates.Update().
ReloadDomain
Triggers a Unity domain reload.
ReloadScripts
Performs a full script reload by deleting all .csproj and .sln files from the project root, refreshing the AssetDatabase, and requesting a script reload.
Behavior:
Finds and deletes all
.csprojfiles in the project root directoryFinds and deletes all
.slnfiles in the project root directoryCalls
AssetDatabase.Refresh()Calls
EditorUtility.RequestScriptReload()
ForceReserializeSelectedAsset (private)
Force-reserializes all currently selected assets in the Unity Project window.
Behavior:
Gets asset paths for all selected objects
If no objects are selected, returns early
Calls
AssetDatabase.ForceReserializeAssetswith the selected pathsRefreshes the AssetDatabase
Common Pitfalls
ReloadScripts deletes solution files ReloadScripts deletes all .csproj and .sln files from the project root. This forces Unity and your IDE to regenerate them, which can be slow on large projects. Use this only when project/solution files are corrupted.
ForceReserialize modifies assets on disk ForceReserializeSelectedAsset writes changes to disk immediately. This can cause version control diffs on assets that haven't logically changed if the serialization format differs from what was previously saved.
See Also
ParagonEntertainmentBanner — other root editor class
TypeTree — type hierarchy utility
Paragon Editor Overview — system overview
Last updated