![]() |
Paradox Game Engine
v1.0.0 beta06
|
Extension methods for PackageSession. More...
Static Public Member Functions | |
static AssetItem | FindAsset (this PackageSession session, UFile location) |
Finds an asset from all the packages by its location. More... | |
static AssetItem | FindAsset (this PackageSession session, Guid assetId) |
Finds an asset from all the packages by its id. More... | |
static PackageSession | CreateCompilePackageFromAsset (this PackageSession session, AssetItem originalAssetItem) |
Create a PackageSession that can be used to compile an AssetItem by analyzing and resolving its dependencies. More... | |
Extension methods for PackageSession.
Definition at line 15 of file PackageSession.Extensions.cs.
|
static |
Create a PackageSession that can be used to compile an AssetItem by analyzing and resolving its dependencies.
Definition at line 44 of file PackageSession.Extensions.cs.
|
static |
Finds an asset from all the packages by its location.
session | The session. |
location | The location of the asset. |
null
if not found.Definition at line 23 of file PackageSession.Extensions.cs.
References SiliconStudio.Assets.PackageSession.Packages.
|
static |
Finds an asset from all the packages by its id.
session | The session. |
assetId | The assetId of the asset. |
null
if not found.Definition at line 35 of file PackageSession.Extensions.cs.