The Schema
property represents the version of the addon file within the ProjectConfig
class. This versioning allows for internal upgrades and compatibility checks when dealing with different versions of addon files.
The Schema
property represents the version of the addon file within the ProjectConfig
class. This versioning allows for internal upgrades and compatibility checks when dealing with different versions of addon files.
Use the Schema
property to retrieve or set the version number of the addon file. This is particularly useful when you need to ensure compatibility or perform migrations between different versions of your addon configuration.
// Example of accessing the Schema property // Assuming you have an instance of ProjectConfig ProjectConfig config = new ProjectConfig(); // Get the current schema version int currentSchemaVersion = config.Schema; // Set a new schema version config.Schema = 2;