跳到主要内容
版本:2.3.x

Class ReportElement

Assembly: YooAsset.Editor.dll​
Declaration
[Serializable]
public class ReportElement

Properties​

IsSelected​

是否在列表里选中

Declaration
public bool IsSelected { get; set; }

IsWhiteList​

是否在白名单里

Declaration
public bool IsWhiteList { get; set; }

Hidden​

是否隐藏元素

Declaration
public bool Hidden { get; set; }

Fields​

GUID​

GUID(白名单存储对象)

Declaration
public string GUID

Passes​

扫描是否通过

Declaration
public bool Passes

ScanInfos​

反馈的信息列表

Declaration
public List<ReportScanInfo> ScanInfos

Methods​

AddScanInfo(string, string)​

添加扫描信息

Declaration
public void AddScanInfo(string headerTitle, string value)
Parameters​
TypeName
System.StringheaderTitle
System.Stringvalue

AddScanInfo(string, long)​

添加扫描信息

Declaration
public void AddScanInfo(string headerTitle, long value)
Parameters​
TypeName
System.StringheaderTitle
System.Int64value

AddScanInfo(string, double)​

添加扫描信息

Declaration
public void AddScanInfo(string headerTitle, double value)
Parameters​
TypeName
System.StringheaderTitle
System.Doublevalue

GetScanInfo(string)​

获取扫描信息

Declaration
public ReportScanInfo GetScanInfo(string headerTitle)
Returns​

YooAsset.Editor.ReportScanInfo

Parameters​
TypeName
System.StringheaderTitle