int ResourceId { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The ResourceId property represents the unique identifier for a resource within the Sandbox engine. This identifier is used internally to manage and reference resources efficiently.

Usage

Use the ResourceId property to retrieve the unique ID of a resource. This property is read-only and is automatically assigned by the engine when the resource is created or loaded.

Example

// Assuming 'resource' is an instance of Sandbox.Resource
int id = resource.ResourceId;
// Use 'id' for logging, debugging, or resource management purposes.