Inheritence

Summary

A resource loaded in the engine, such as a Model or Material.

Constructors

Resource

Properties

EmbeddedResource Embedded data for this resource
HasUnsavedChanges True if this resource has been changed but the changes aren't written to disk
IsValid
ResourceId ID of this resource,
ResourceName File name of the resource without the extension.
ResourcePath Path to this resource.

Methods

ConfigurePublishing When publishing an asset we'll call into this method to allow the resource to configure how it wants to be published. This allows your resource to make bespoke decisions to configure publishing based on its content.
CreateAssetTypeIcon Create an icon for this type of asset. This is an icon that is shown in the editor.
Finalize
GetAssetTypeIcon Get the icon for this type of asset. This is an icon that is shown in the editor.
RenderThumbnail Render a thumbnail for this specific resource.
StateHasChanged Should be called after the resource has been edited by the inspector

Static Methods

CreateSimpleAssetTypeIcon
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.