浏览代码

Update serialization upgrader

/main
Matt Dean 7 年前
当前提交
056c4c90
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Graphs/AbstractMaterialGraph.cs

12
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Graphs/AbstractMaterialGraph.cs


};
result[worldPosNode] = SerializationHelper.GetTypeSerializableAsString(typeof(PositionNode));
var sampleTexture2DNode = new SerializationHelper.TypeSerializationInfo
{
fullName = "UnityEditor.ShaderGraph.Texture2DNode"
};
result[sampleTexture2DNode] = SerializationHelper.GetTypeSerializableAsString(typeof(SampleTexture2DNode));
var sampleCubemapNode = new SerializationHelper.TypeSerializationInfo
{
fullName = "UnityEditor.ShaderGraph.CubemapNode"
};
result[sampleCubemapNode] = SerializationHelper.GetTypeSerializableAsString(typeof(SampleCubemapNode));
return result;
}

正在加载...
取消
保存