string TargetDir { get; set; }

robot_2Generated
code_blocksInput

Description

The TargetDir property specifies the directory where the exported build will be placed. This property is part of the Editor.ExportConfig class, which is used to configure various aspects of the export process in the editor.

Usage

To set the target directory for your exported build, assign a valid directory path to the TargetDir property. This path should be a string representing the location on your file system where you want the build to be saved.

Example

// Example of setting the TargetDir property
var exportConfig = new Editor.ExportConfig();
exportConfig.TargetDir = "C:\\MyGame\\Builds\\Release";

// Now, when you export your game, it will be placed in the specified directory.