int ResourceId { get; set; }

robot_2Generated
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 such as models, materials, and other assets.

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 this value manually. Instead, use it to reference or query specific resources when needed.

Example

// Example of accessing the ResourceId property
Resource myResource = new Resource();
int id = myResource.ResourceId;

// Use the ResourceId to perform operations or checks
if (id > 0)
{
    // Resource is valid and can be used
}