sleal-unity
4 年前
当前提交
10fc7559
共有 4 个文件被更改,包括 76 次插入 和 18 次删除
-
19com.unity.perception/Editor/Randomization/Uxml/AssetSource/AssetSourceElement.uxml
-
40com.unity.perception/Editor/Randomization/VisualElements/AssetSource/AssetSourceElement.cs
-
24com.unity.perception/Runtime/Randomization/Randomizers/AssetSources/AssetSourceLocationNotes.cs
-
11com.unity.perception/Runtime/Randomization/Randomizers/AssetSources/AssetSourceLocationNotes.cs.meta
|
|||
using System; |
|||
|
|||
namespace UnityEngine.Perception.Randomization |
|||
{ |
|||
/// <summary>
|
|||
/// Used to annotate an AssetSourceLocation with notes within the inspector UI
|
|||
/// </summary>
|
|||
public class AssetSourceLocationNotes : 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 AssetSourceLocationNotes(string notes) |
|||
{ |
|||
this.notes = notes; |
|||
} |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: b10fba6f9bbaaef498a12faefec212f9 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue