您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
38 行
820 B
38 行
820 B
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 LayerRemoved : GraphChange
|
|
{
|
|
public LayerRemoved(Guid id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Guid id { get; private set; }
|
|
}
|
|
}
|