Class AssetItemExtensions
public static class AssetItemExtensions
- Inheritance
-
AssetItemExtensions
Methods
GetGeneratedAbsolutePath(AssetItem)
If the asset is a IProjectFileGeneratorAsset, gets the generated file full path.
public static UFile GetGeneratedAbsolutePath(this AssetItem assetItem)
Parameters
assetItem
AssetItemThe asset item.
Returns
- UFile
GetGeneratedInclude(AssetItem)
If the asset is a IProjectFileGeneratorAsset, gets the generated file path relative to its containing .csproj.
public static string GetGeneratedInclude(this AssetItem assetItem)
Parameters
assetItem
AssetItemThe asset item.
Returns
GetProjectInclude(AssetItem)
Gets the asset filename relative to its .csproj file for IProjectAsset.
public static string GetProjectInclude(this AssetItem assetItem)
Parameters
assetItem
AssetItemThe asset item.