您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
24 行
737 B
24 行
737 B
using System;
|
|
|
|
namespace UnityEngine.Perception.Randomization
|
|
{
|
|
/// <summary>
|
|
/// Used to annotate an AssetSourceLocation with description notes within the inspector UI
|
|
/// </summary>
|
|
public class AssetSourceEditorDescriptionAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// The text notes to display in the AssetSourceLocation's UI.
|
|
/// </summary>
|
|
public string notes;
|
|
|
|
/// <summary>
|
|
/// Constructs a new AssetSourceLocationNotes attribute
|
|
/// </summary>
|
|
/// <param name="notes">The text notes to display in the inspector</param>
|
|
public AssetSourceEditorDescriptionAttribute(string notes)
|
|
{
|
|
this.notes = notes;
|
|
}
|
|
}
|
|
}
|