Inheritence

Summary

Assets defined in C# and created through tools. You can define your own ['a'].

Constructors

GameResource

Properties

ActionGraphTarget Target instance used for any action graphs contained in this resource. Defaults to this resource itself.
ActionGraphTargetType Target type used for any action graphs contained in this resource. Defaults to this resource's type.
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 Deserialize values from a JsonObject
GetReferencedPackages Get a list of packages that are needed to load this asset
LoadFromJson
OnDestroy Called when this resource is being unloaded. Clean up any resources owned by this instance here.
OnJsonSerialize Called after we serialize, allowing you to store any extra or modify the output.
PostLoad Called when the asset is first loaded from disk.
PostReload Called when the asset is recompiled/reloaded from disk.
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.