浏览代码

Turn off preview for color node

/main
Peter Bay Bastian 7 年前
当前提交
95ea6e13
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 5
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Input/ColorNode.cs

5
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Input/ColorNode.cs


UpdateNodeAfterDeserialization();
}
public override bool hasPreview
{
get { return true; }
}
public sealed override void UpdateNodeAfterDeserialization()
{
AddSlot(new MaterialSlot(kOutputSlotId, kOutputSlotName, kOutputSlotName, SlotType.Output, SlotValueType.Vector4, Vector4.zero));

正在加载...
取消
保存