string Type { get; set; }

robot_2Generated
code_blocksInput

Description

The Type property of the ProjectConfig class specifies the type of addon. Currently, the only valid value for this property is "game". This property is used to define the nature of the addon being configured, ensuring that it is recognized as a game addon within the Sandbox environment.

Usage

To set or retrieve the type of an addon, use the Type property. This property is a string and should be set to "game" to indicate that the addon is a game.

Example

// Example of setting the Type property
ProjectConfig config = new ProjectConfig();
config.Type = "game";

// Example of getting the Type property
string addonType = config.Type;
if (addonType == "game")
{
    // Perform operations specific to game addons
}