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

spinner

The menu system uses SDF icons from Odin to distinguish menu item types:

Item Type
Icon
Description

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

Class
Description

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

Last updated