Skip to main content

Basic Operations

This section describes the basic operations on thein Smart Importer.

Import File Formats

The Smart Importer usesimports files using one of the following two methods for import,methods, depending on the file format to be imported.format:

  • Local files: *.psd, *.xscil, *.xd
  • Cloud Resource:resources: Figma data
drawing-4-1727940873.png

For more information on the Photoshop layer structure format, see Recommended Layers Structure for Smart Importer.

Restore Settings

The Smart Importer saves the settings that wereyou applied when configuring the import was performed are saved in the solution along with the imported scene. Therefore, when you importing the same file again and importing to the same path in the Solution Explorer,Explorer, the Smart Importer will displaydisplays a dialog asking if you want to use the saved settings.

drawing-7-1770713035.png
Use SavedThe settingsSmart areImporter applied.applies the saved settings.
Merge Merges both the saved settings and the new settings.
Don't use NoThe Smart Importer does not apply saved settings areand applied andcreates new settings are made.settings.

If an image has been replaced in an imported file, select the Use Radiobutton to replace the old image in the scene can be replaced with a new,the updated image while maintaining the previous mapping between layers and controls by using [ Use ].colors.

For other behaviors when reimporting files, see herereimporting files.

Conversion to 2D Nodes

During import, Smart Importer converts specific elementselements, (artboards/colorsuch pickers,as inPhotoshop Photoshop)artboards inand theColor file to be imported are convertedPickers, to optimal nodes in Scene Composer.

Artboards

ArtboardsSmart Importer can treat artboards in the file to beyou imported can be treated as a Group Node in Smart Importer.Node.

Color Picker

Smart Importer can treat Color pickersPickers in the file to beyou imported can be treated as Solid Color Nodes. In this case, the solid color layer will useuses the same icon as the Solid Color Node in Smart Importer.

UnderYou cannot edit the Appearance tab under any of the following conditions, the Appearance tab cannot be edited.conditions:

  • The layer of the file to be imported does not have image information.
  • The applied control does not have a properties that refers to an image.

OtherIn thanall theother above,cases, the same options are available as for image layers. For example, the Layer Mapping section can generate image resources onceafter (Control)you map control properties are mapped to a layer. Similarly, other prototyping tools will do the same with colorColor pickers.Pickers.

For each node in a 2D scene, see here2D scene nodes.


Control instance configured with Smart Importer

After you finished applying the detected controls and configuring images, pivot points, and other properties, click the [ OK ] button at the bottom of the Smart Importer dialog to import the configured file.

See the Smart Importer UI for details on what to configure in each part of the Smart Importer dialog.

ItThe willSmart beImporter importedimports the configured file to the location specified in the Import Settings Tab, withusing the configured settings. Note that you can view the control instance configured in Smart Importer (e.g., "such as Gauge left"left in the image below) can be viewedbelow, in the ImportImports panel.

drawing-5-1725628567.png

ControlYou can use control instances configured in Smart Importer can be used in the sceneScene editorEditor or by draggingdrag them into the sceneScene tree.Tree.

drawing-5-1732885515.png

Configure Scenes

The Import Settings tab allows you to manage scenes tothat beyou importedimport into Scene Composer. AfterTo selectingsee the available options, select a target scene from the [ Scenes: ]Scenes, openthen right-click the contexttarget menu to see the following optionsscene:

drawing-4-1710298666.png
Add Scene

AddAdds a new scene. NoteThe thatSmart Importer clears all checkscheckboxes for each element displayed in the layerLayer tree will be unchecked.Tree.

After theyou operation,select this option, the [ Add Scene... ] dialog box willappears. appear, and enterEnter a name for the new scene.

Clone Scene

The Smart Importer duplicates the scene will be duplicatedwhile maintaining the configuration on the current layerLayer tree.Tree.

After theyou operation,select this option, the [ Add Scene... ] dialog box willappears. appear, and enterEnter a name for the new scene.

Remove Scene

Deletes the selected scene.
Rename Scene

Rename the scene. CanYou can also change the name by double-clickingclick the target scene name to change the name.

TextStyle

When importingyou import a Text Layer into Scene Composer, Scene Composer creates a a new TextStyle is created.TextStyle. Its name will be a combination ofcombines the font name and the font size used in the Text Layer of the PSD file. UponWhen creationScene ofComposer creates a new TextStyleTextStyle, it checks whether the Scene Composer checkssolution ifincludes a font resource with the corresponding namename. is registered in theIf Scene Composer solution.cannot Iffind the appropriate font resources cannot be found in the solution, it displays a dialog box like the belowone will be displayed.below.

If the font does not exist in the solution, you can use an existing font resource by specifying an alternative font on this dialog.

drawing-4-1727138202.png

Text and text-containing controls

TheScene Composer imports the bounding rectangle (width/width and height) of text and controls containing text are imported as automatic values.

drawing-5-1725631019.png

Global State Machine

Scene Composer imports all State Machine elements are all imported as Global State Machine (confirmationelements dialogand isdoes not displayed).display a confirmation dialog.

drawing-4-1710298910.png