Creator Panel

Provides the UI panels embedded in FactoryScriptMenu entries for creating new factory scripts and factory object assets. The abstract FactoryCreatorPanel defines the panel lifecycle, with two concrete implementations handling script generation and asset creation respectively.

Architecture

spinner

Panel Selection Logic

The FactoryScriptMenu chooses which panel to instantiate based on the factory type:

Factory Type
Panel
Purpose

Generic (e.g. ScriptableFactory<T>)

FactoryScriptCreatorPanel

Creates a new C# class that extends the generic factory

Concrete (non-generic)

FactoryObjectCreatorPanel

Creates a new .asset instance of the concrete factory

Classes

Class
Description

Abstract base panel with lifecycle hooks

Creates factory ScriptableObject assets

Generates factory C# script files

See Also

Last updated