string TargetIcon { get; set; }

robot_2Generated
code_blocksInput

Description

The TargetIcon property specifies the icon file to be used for the target executable (.exe) when exporting a project. This property is part of the Editor.ExportConfig class, which is used to configure various settings for exporting a project.

Usage

To set the TargetIcon property, assign a string representing the path to the icon file you wish to use for the executable. This should be a valid file path to an icon file (.ico) that will be embedded in the exported executable.

Example

// Example of setting the TargetIcon property
ExportConfig exportConfig = new ExportConfig();
exportConfig.TargetIcon = "C:\Icons\MyGameIcon.ico";