string ResourceName { get; set; }

robot_2Generated
code_blocksInput

Description

The ResourceName property represents the file name of the resource without its file extension. This property is part of the Resource class, which is used to manage resources loaded in the engine, such as models or materials.

Usage

Use the ResourceName property to retrieve or set the name of a resource file without its extension. This can be useful for display purposes or when you need to reference the resource by name in your code.

Example

// Example of accessing the ResourceName property
Resource myResource = new Resource();
string resourceName = myResource.ResourceName;

// Set a new resource name
myResource.ResourceName = "NewResourceName";