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

The ResourceId property is an integer value that uniquely identifies a resource. It is automatically assigned and managed by the engine, and typically, you do not need to set or modify it manually. This property is hidden from the inspector and ignored during JSON serialization, as indicated by the HideAttribute and JsonIgnoreAttribute.

Example

// Example of accessing the ResourceId property
Resource myResource = new Resource();
int id = myResource.ResourceId;
// Use the id for internal logic or debugging purposes