Version: Unity 6.4 Alpha (6000.4)
LanguageEnglish
  • C#

Rule

class in Unity.ProjectAuditor.Editor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Represents a rule which modifies the Severity of an Issue ReportItem or all of the ProjectIssues that share a Descriptor.

Properties

Property Description
Filter An optional location filter representing a ReportItem's location. If specified, this Rule applies to a single ReportItem. If the string is null or empty, this Rule applies to every ReportItem matching the Id.
Id The Descriptor ID
Severity The Severity level to apply to the issue(s) represented by this Rule

Public Methods

Method Description
GetHashCodeGet the hashed integer representation of the Rule.