Component Designer

Generate the Component

Generate, regenerate, duplicate, and maintain the custom component created by a design.

Generate the Component

Click Generate Component in the Component Designer inspector.

Component Designer creates a component script and an icon for the design.

Add the generated component to GameObjects instead of adding each template component by hand.

When the design changes, the button changes to Regenerate Component. Regeneration updates the generated component when needed. It does not remove existing instances.

Deleting a Component Design also deletes its generated component script. Any GameObject that still uses that script will show a missing script until you remove it or create the component again.

Duplicate a Component Design

Duplicating a Component Design creates a separate design with its own components and parameters. Generate a new component from the duplicated asset before using it on GameObjects.