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.
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.
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 of setting the TargetIcon property ExportConfig exportConfig = new ExportConfig(); exportConfig.TargetIcon = "C:\Icons\MyGameIcon.ico";