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, ensuring compatibility and proper handling of different versions of scene files.
Usage
To access the ResourceVersion
property, you need to have an instance of the SceneFile
class. This property is read-only and provides the version number as an integer.
Example
// Example of accessing the ResourceVersion property
SceneFile sceneFile = new SceneFile();
int version = sceneFile.ResourceVersion;
// Output the resource version
// Note: Replace with appropriate logging or handling
// e.g., Log.Info($"Resource Version: {version}");