您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
27 行
590 B
27 行
590 B
using System.Linq;
|
|
using UnityEngine.Graphing;
|
|
|
|
namespace UnityEngine.MaterialGraph
|
|
{
|
|
public class MaterialSubGraphAsset : AbstractMaterialGraphAsset
|
|
{
|
|
[SerializeField]
|
|
private SubGraph m_MaterialSubGraph = new SubGraph();
|
|
|
|
public override IGraph graph
|
|
{
|
|
get { return m_MaterialSubGraph; }
|
|
}
|
|
|
|
public SubGraph subGraph
|
|
{
|
|
get { return m_MaterialSubGraph; }
|
|
set { m_MaterialSubGraph = value; }
|
|
}
|
|
|
|
public void PostCreate()
|
|
{
|
|
m_MaterialSubGraph.PostCreate();
|
|
}
|
|
}
|
|
}
|