Summary
Created by the editor when publishing a resource, passed into Resource.ConfigurePublishing. This allows
the resource to configure how it wants to be published.
Constructors
Properties
CanIncludeSourceFiles |
If true then we'll offer an option to upload source files with this asset. This will make it easier for people
who want to download and add it to their project, but make their own changes. |
CreateThumbnailFunction |
A function to create a thumbnail for this resource. If not null, this will be called to create the thumbnail. |
IncludeCode |
If true we'll include the addon's code with this |
PublishingEnabled |
Can be set to false using SetPublishingDisabled |
ReasonForDisabling |
If publishing is disabled this will be the message to display why. |
Methods
SetPublishingDisabled |
Allows you to disable publishing for this resource, with a reason that'll be shown
to the user. |