int ResourceVersion { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The ResourceVersion property of the SceneFile class represents the version number of the resource file. This property is used to track changes and updates to the scene file format over time. It is an integer value that can be overridden in derived classes to provide specific versioning logic.

Usage

To access the ResourceVersion property, you need to have an instance of the SceneFile class. This property is read-only and provides the current version of the scene resource.

Example

// Example of accessing the ResourceVersion property
SceneFile sceneFile = new SceneFile();
int version = sceneFile.ResourceVersion;

// Output the resource version
// Note: Avoid using Console.WriteLine in s&box
// Instead, use appropriate logging or UI display methods
// Example: Log.Info($"Resource Version: {version}");