浏览代码

Fix Enum issue.

Added System.Enum.GetName(typeof(BlendModesEnum), m_BlendMode);
/main
RinaldoTjan 8 年前
当前提交
3e47bb19
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      MaterialGraphProject/Assets/Rinaldo/BlendModeNode.cs

2
MaterialGraphProject/Assets/Rinaldo/BlendModeNode.cs


protected override string GetFunctionName()
{
return "unity_blendmode_" + precision;
return "unity_blendmode_" + System.Enum.GetName(typeof(BlendModesEnum), m_BlendMode);
}
protected override string GetInputSlot1Name()
{

正在加载...
取消
保存