Menu
Provides the menu item classes used by the ScriptableFactoryCreator window's OdinMenuTree. The abstract FactoryMenu base class defines common behavior for all menu items, with two concrete subclasses handling factory scripts and factory object assets respectively.
Architecture
Menu Icons
The menu system uses SDF icons from Odin to distinguish menu item types:
Template factory (generic)
FileEarmarkCode
Open file icon — represents an abstract/generic factory script
Concrete factory (non-generic)
FileEarmarkCodeFill
Filled file icon — represents a concrete factory script
Factory object asset
Asset thumbnail
Uses AssetPreview.GetMiniThumbnail() for the ScriptableObject
Classes
Abstract base for all menu items in the factory tree
Menu item for concrete factory ScriptableObject assets
Menu item for factory C# script types
See Also
Creator — subsystem overview
ScriptableFactoryCreator — the window that hosts the menu tree
Creator Panel — panels embedded within script menus
Last updated