# Editor.AssetSystem

The asset system, provides access to all the assets.

- Kind: class
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Modifiers: static, abstract, sealed

## Properties

- [`All`](/api/Editor.AssetSystem/All): All the assets that are being tracked by the asset system. Does not include deleted assets.

## Methods

- [`CanCloudInstall`](/api/Editor.AssetSystem/CanCloudInstall): Is this package type something we can install?
- [`CompileResource`](/api/Editor.AssetSystem/CompileResource): Compile a resource from text.
- [`CreateEmbeddedAsset`](/api/Editor.AssetSystem/CreateEmbeddedAsset): Create an Asset from a serialized property. This is expected to be an embedded asset property.
- [`CreateResource`](/api/Editor.AssetSystem/CreateResource): Create an empty [Sandbox.GameResource](/api/Sandbox.GameResource).
- [`DeleteOrphans`](/api/Editor.AssetSystem/DeleteOrphans): Delete orphaned trivial children. These are things that are generated for usage by an asset, but aren't referenced by anything, so are useless.
- [`FindByPath`](/api/Editor.AssetSystem/FindByPath): Find an asset by path.
- [`GetInstalledPackages`](/api/Editor.AssetSystem/GetInstalledPackages): Get all packages in the download cache
- [`GetInstalledRevision`](/api/Editor.AssetSystem/GetInstalledRevision): Gets the locally installed package revision by ident
- [`GetPackageFiles`](/api/Editor.AssetSystem/GetPackageFiles)
- [`GetReferencedPackages`](/api/Editor.AssetSystem/GetReferencedPackages): Get all packages, referenced by assets in the current project, in the download cache
- [`InstallAsync`](/api/Editor.AssetSystem/InstallAsync)
- [`IsCloudInstalled`](/api/Editor.AssetSystem/IsCloudInstalled): Is this package installed in our cloud directory?
- [`RegisterFile`](/api/Editor.AssetSystem/RegisterFile): If you just created an asset, you probably want to immediately register it
