浏览代码

Remove GraphTypeMapper

/main
Peter Bay Bastian 7 年前
当前提交
9e3b2fca
共有 2 个文件被更改,包括 0 次插入29 次删除
  1. 12
      com.unity.shadergraph/Editor/Util/GraphTypeMapper.cs.meta
  2. 17
      com.unity.shadergraph/Editor/Util/GraphTypeMapper.cs

12
com.unity.shadergraph/Editor/Util/GraphTypeMapper.cs.meta


fileFormatVersion: 2
guid: efaba3c359b73408c9888998f9a4c87d
timeCreated: 1482407708
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

17
com.unity.shadergraph/Editor/Util/GraphTypeMapper.cs


using System;
using UnityEditor.Experimental.UIElements.GraphView;
namespace UnityEditor.Graphing.Util
{
public class GraphTypeMapper : BaseTypeFactory<INode, GraphElement>
{
public GraphTypeMapper(Type fallbackType) : base(fallbackType)
{
}
protected override GraphElement InternalCreate(Type valueType)
{
return (GraphElement)Activator.CreateInstance(valueType);
}
}
}
正在加载...
取消
保存