Properties

AbsolutePath The absolute path to the resource on disk
Data Get the data to write to
RelativePath The path relative to the assets folder
ResourceVersion The resource version can be important
StreamingData Get the streaming data to write to

Methods

AddCompileReference Add a reference that is needed to compile this resource, but isn't actually needed once compiled.
AddRuntimeReference Add a reference. This means that the resource we're compiling depends on this resource.
CreateChild Create a child resource
ReadSource Read the source, either from in memory, or from disk
ReadSourceAsJson Read the source, either from in memory, or from disk
ReadSourceAsString Read the source, either from in memory, or from disk
ScanJson Load the json and scan it for paths or any embedded resources
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.