The Resource class represents a resource loaded in the engine, such as a Model or Material. It provides properties and methods to manage and interact with these resources.
The Resource class represents a resource loaded in the engine, such as a Model or Material. It provides properties and methods to manage and interact with these resources.
Member Name | Summary |
---|---|
ResourceId | ID of this resource. |
ResourcePath | Path to this resource. |
ResourceName | File name of the resource without the extension. |
IsValid | Indicates whether the resource is valid. |
HasUnsavedChanges | True if this resource has been changed but the changes aren't written to disk. |
StateHasChanged | Should be called after the resource has been edited by the inspector. |