Skip to main content

Manage Imports

Manage Imports

Scene Composer’s Solution Explorer provides the possibility to manage and organize the solution’s files. Imported resources are organized in folders according to the user's needs.

You can modify the folder structure of imported resources in the Solution Explorer panel. In addition to Solution Explorer, imported resources can also be made visible in the "Imports" panel.

Imports Panel

The Import panel can be shown or hidden by selecting "View > Libraries > Imports" from the menu bar. This panel displays imported resources in a hierarchical manner. They can be placed on the scene editor by drag-and-drop operations.

drawing-4-1693200175.png

Properties of Imported resources

When you select an imported resources either in Solution Explorer or Import panel, its properties are shown in Properties panel. Information about the selected resource is displayed in Properties panel.

drawing-4-1693200218.png

Clone, Delete and Rename Items

Imported resources can be cloned, renamed or deleted in the Solution Explorer panel. Right-click an imported item in the Solution Explorer and choose the desired option from the context menu. You can also right-click on a folder containing imported files to bulk delete them.

For further information refer to Solution Explorer Context Menu.

Delete Unused Imports

If there are unused imports or import parts, it is possible to clean up the solution by using the "Delete Unused Imports..." option. This option is available in the

  • Import menu
  • Solution Explorer
  • Imports Panel
drawing-4-1695948453.png

The "Delete Unused Imports" dialog will list all the imports from a solution.

The only imports which can be displayed and deleted as unused imports are FBX, images, raw resources, fonts imports.

The filter button allows to hide/show the unused (= undeletable) imports. Tick the checkboxes for unused imports to delete them with the Delete button.

drawing-4-1695950914.png

If an import folder contains other folders or files, which are not imported, this folder won't be deleted. Only the imported files that are unused.

Export Imported Images

If necessary, it is possible to export any imported image from solution to a .png file. This operation can be done through the context menu which is available when right click on any image. This operation can also be performed after selecting multiple image resources.

drawing-4-1695952085.png

The image can be exported even though it is locked.

This export operation can be done in different contexts of the application:
  • From Solution Explorer
  • From Imports
  • From Canvas Node
  • From Canvas sprite
  • From Billboard

Currently the original image is exported, not the asset one.

 

Edit an imported script resource

You can import any type of script by using the [ Import Resources... ] menu. Imported scripts are read-only, but can be changed to editable format.
Select the target script in Solution Explorer and choose [ Change to Editable ] from the context menu.

drawing-4-1695953530.png

Please refer to Scripting for instructions on how to operate script resources.