浏览代码

Add API so that we can find the type of subshaders that can be added.

/main
Tim Cooper 7 年前
当前提交
b5bf1073
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/MasterNode.cs

5
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/MasterNode.cs


{
get { return PreviewMode.Preview3D; }
}
public Type supportedSubshaderType
{
get { return typeof(T); }
}
public IEnumerable<T> subShaders
{

正在加载...
取消
保存