Description
The MapFolder
property of the SceneMap
class represents the directory path where the map files are stored. This property is a string
and provides the location of the map within the file system, which is essential for loading and managing map resources.
Usage
Use the MapFolder
property to retrieve the directory path of the map files associated with a SceneMap
instance. This can be useful for debugging, logging, or when you need to access the map files directly for custom operations.
Example
// Example of accessing the MapFolder property
SceneMap sceneMap = new SceneMap();
string mapFolderPath = sceneMap.MapFolder;
// Output the map folder path
// Note: Avoid using Console.WriteLine in s&box
Log.Info($"Map folder path: {mapFolderPath}");