bool IsLoaded { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The IsLoaded property of the MapInstance class indicates whether the map is currently loaded into the scene. It returns a boolean value: true if the map is loaded, and false otherwise.

Usage

Use the IsLoaded property to check if a map is currently loaded in your scene. This can be useful for determining whether certain operations that depend on the map being loaded can be performed.

Example

// Example of checking if a map is loaded
MapInstance mapInstance = new MapInstance();

if (mapInstance.IsLoaded)
{
    // Perform operations that require the map to be loaded
    Console.WriteLine("The map is currently loaded.");
}
else
{
    // Handle the case where the map is not loaded
    Console.WriteLine("The map is not loaded.");
}