기술 자료

Unity Engine

Unity Engine

ReportItem

Describes an issue that ProjectAuditor reports in the Unity project.
읽는 시간 1분최근 업데이트: 2일 전

Definition

public class ReportItem

Properties

Property

Description

CategoryThis issue's category (read-only).
CustomPropertiesCustom properties. See the "moduleMetadata" section of an exported Report JSON file for information on the formats and meanings of the custom properties for each IssueCategory.
DescriptionProject issue Description (read-only).
FileExtensionFile extension of the file that contains this issue.
FilenameName of the file that contains this issue.
IdAn unique identifier for the issue descriptor (read-only).
IsUpgradeIssueDetermines whether this issue is an upgrade issue.
LineLine in the file that contains this issue.
LocationLocation of the Insight or Issue (read-only).
LogLevelLog level.
RelativePathRelative path of the file that contains this issue.
SeverityIssue-specific Severity (read-only).
UpgradePropertiesProperties relating to upgrade issues

Methods

Method

Description

GetCustomPropertyBoolCheck whether a custom property is a boolean type and whether its value is true.
GetCustomPropertyDoubleCheck whether a custom property is a double type and return its value.
GetCustomPropertyFloatCheck whether a custom property is a float type and return its value.
GetCustomPropertyInt32Check whether a custom property is an integer type and return its value.
GetCustomPropertyInt64Check whether a custom property is a long type and return its value.
GetCustomPropertyUInt32Check whether a custom property is a uint type and return its value.
GetCustomPropertyUInt64Check whether a custom property is a ulong type and return its value.
HasAnyAreasChecks whether this ReportItem is an issue whose descriptor is flagged with any of the specified areas.
IsIssueChecks whether this ReportItem represents an Issue.
IsValidChecks whether this issue is valid.