您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
26 行
650 B
26 行
650 B
using System;
|
|
|
|
namespace UnityEditor.ShaderGraph.Internal
|
|
{
|
|
[Serializable]
|
|
public struct KeywordEntry
|
|
{
|
|
public int id;
|
|
public string displayName;
|
|
public string referenceName;
|
|
|
|
public KeywordEntry(string displayName, string referenceName)
|
|
{
|
|
this.id = -1;
|
|
this.displayName = displayName;
|
|
this.referenceName = referenceName;
|
|
}
|
|
|
|
internal KeywordEntry(int id, string displayName, string referenceName)
|
|
{
|
|
this.id = id;
|
|
this.displayName = displayName;
|
|
this.referenceName = referenceName;
|
|
}
|
|
}
|
|
}
|