浏览代码

Removed the control attributes

/main
Martin Thorzen 7 年前
当前提交
1dfe50bd
共有 2 个文件被更改,包括 0 次插入7 次删除
  1. 4
      com.unity.shadergraph/Editor/Data/MasterNodes/PBRMasterNode.cs
  2. 3
      com.unity.shadergraph/Editor/Data/MasterNodes/UnlitMasterNode.cs

4
com.unity.shadergraph/Editor/Data/MasterNodes/PBRMasterNode.cs


[SerializeField]
Model m_Model = Model.Metallic;
[EnumControl("Workflow")]
public Model model
{
get { return m_Model; }

[SerializeField]
SurfaceType m_SurfaceType;
[EnumControl("Surface")]
public SurfaceType surfaceType
{
get { return m_SurfaceType; }

[SerializeField]
AlphaMode m_AlphaMode;
[EnumControl("Blend")]
public AlphaMode alphaMode
{
get { return m_AlphaMode; }

[SerializeField]
bool m_TwoSided;
[ToggleControl("Two Sided")]
public ToggleData twoSided
{
get { return new ToggleData(m_TwoSided); }

3
com.unity.shadergraph/Editor/Data/MasterNodes/UnlitMasterNode.cs


[SerializeField]
SurfaceType m_SurfaceType;
[EnumControl("Surface")]
public SurfaceType surfaceType
{
get { return m_SurfaceType; }

[SerializeField]
AlphaMode m_AlphaMode;
[EnumControl("Blend")]
public AlphaMode alphaMode
{
get { return m_AlphaMode; }

[SerializeField]
bool m_TwoSided;
[ToggleControl("Two Sided")]
public ToggleData twoSided
{
get { return new ToggleData(m_TwoSided); }

正在加载...
取消
保存