Description
The ShowEntityReportForAsset
method is a static method of the Editor.MapEditor.Hammer
class. It is used to display a report of entities associated with a specific asset within the Hammer editor. This can be useful for developers and designers who need to analyze or debug the usage of assets in their map designs.
Usage
To use the ShowEntityReportForAsset
method, you need to pass an Editor.Asset
object as a parameter. This asset represents the resource for which you want to generate an entity report.
Ensure that the asset is valid and properly loaded in the editor context before calling this method.
Example
// Example usage of ShowEntityReportForAsset
Editor.Asset myAsset = Editor.Asset.Load("path/to/asset");
Editor.MapEditor.Hammer.ShowEntityReportForAsset(myAsset);