Component Designer

Component Design Assets

Create designs from assets or existing GameObjects and configure their generated component settings.

Component Design Assets

Create a Component Design

Right-click inside your Project folder and select Create > Game Creator > Component Designer > Component.

Open the new asset to see its inspector.

Create a Design from a GameObject

You can create a Component Design from an existing scene GameObject:

  1. Select the GameObject in the Hierarchy.
  2. Right-click it.
  3. Choose Component Designer > Create Component Design.
  4. Choose where to save the new asset.

Component Designer copies the supported components and their current settings into the new design, generates its component script, and adds that generated component to the original GameObject. The original component instances are kept and become owned by the Host, so scene references are not lost. They are hidden from the normal inspector and shown through the Host inspector instead.

Components that cannot be used by Component Designer are left on the GameObject.

Settings

Click the gear button in the Component Designer inspector to edit the asset settings:

  • Menu Path controls where the generated component appears in the GameObject Add Component menu.
  • Icon Source chooses a Game Creator icon or a custom texture.
  • Game Creator Icon and Color choose the generated component icon when the icon source is Game Creator.

Save the asset before generating its component.