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.
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.
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 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 }