您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
48 行
1.0 KiB
48 行
1.0 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using UnityEditor.Graphing;
|
|
|
|
namespace UnityEditor.ShaderGraph
|
|
{
|
|
public class ShaderPropertyAdded : GraphChange
|
|
{
|
|
public ShaderPropertyAdded(IShaderProperty shaderProperty)
|
|
{
|
|
this.shaderProperty = shaderProperty;
|
|
}
|
|
|
|
public IShaderProperty shaderProperty { get; private set; }
|
|
}
|
|
|
|
public class ShaderPropertyRemoved : GraphChange
|
|
{
|
|
public ShaderPropertyRemoved(Guid guid)
|
|
{
|
|
this.guid = guid;
|
|
}
|
|
|
|
public Guid guid { get; private set; }
|
|
}
|
|
|
|
public class LayerAdded : GraphChange
|
|
{
|
|
public LayerAdded(LayeredShaderGraph.Layer layer)
|
|
{
|
|
this.layer = layer;
|
|
}
|
|
|
|
public LayeredShaderGraph.Layer layer { get; private set; }
|
|
}
|
|
|
|
public class LayerRemoved : GraphChange
|
|
{
|
|
public LayerRemoved(Guid id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Guid id { get; private set; }
|
|
}
|
|
}
|