Summary

Assets defined in C# and created through tools. You can define your own <a href="https://sbox.game/dev/doc/assetsresources/custom-assets/">Custom Asset Types</a>.

Properties

HasUnsavedChanges True if this resource has changed but the changes aren't written to disk
IsValid
ResourceVersion The version of the component. Used by Sandbox.JsonUpgrader.

Methods

Deserialize
GetReferencedPackages Get a list of packages that are needed to load this asset
LoadFromJson
Serialize Serialize the current state to a JsonObject
StateHasChanged Should be called after the resource has been edited by the inspector
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.