您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
27 行
868 B
27 行
868 B
namespace UnityEngine.MaterialGraph
|
|
{
|
|
public abstract class PropertyChunk
|
|
{
|
|
public enum HideState
|
|
{
|
|
Hidden,
|
|
Visible
|
|
}
|
|
|
|
private readonly string m_PropertyName;
|
|
private readonly string m_PropertyDescription;
|
|
private readonly HideState m_HideState;
|
|
|
|
protected PropertyChunk(string propertyName, string propertyDescription, HideState hideState)
|
|
{
|
|
m_PropertyName = propertyName;
|
|
m_PropertyDescription = propertyDescription;
|
|
m_HideState = hideState;
|
|
}
|
|
|
|
public abstract string GetPropertyString();
|
|
public string propertyName { get { return m_PropertyName; } }
|
|
public string propertyDescription { get { return m_PropertyDescription; } }
|
|
public HideState hideState { get { return m_HideState; } }
|
|
}
|
|
}
|