浏览代码

Fixing script errors

/main
Eduardo Chaves 8 年前
当前提交
cfb46195
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 6
      MaterialGraphProject/Assets/NewNodes/WIP/AnyNode.cs

6
MaterialGraphProject/Assets/NewNodes/WIP/AnyNode.cs


{
switch (slotValueType)
{
case SlotValueType.sampler2D:
case SlotValueType.Sampler2D:
// TODO
break;
case SlotValueType.Dynamic:

slotValueType = SlotValueType.Vector4;
break;
case PropertyType.Texture:
slotValueType = SlotValueType.sampler2D;
slotValueType = SlotValueType.Sampler2D;
slotValueType = SlotValueType.sampler2D;
slotValueType = SlotValueType.Sampler2D;
break;
case PropertyType.Float:
slotValueType = SlotValueType.Vector1;

正在加载...
取消
保存