浏览代码

Remove NodePreviewView as it is no longer used

/main
Peter Bay Bastian 7 年前
当前提交
4fa0de6e
共有 2 个文件被更改,包括 0 次插入29 次删除
  1. 12
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/NodePreviewView.cs.meta
  2. 17
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/NodePreviewView.cs

12
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/NodePreviewView.cs.meta


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

17
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/NodePreviewView.cs


using UnityEngine;
using UnityEngine.Experimental.UIElements;
namespace UnityEditor.MaterialGraph.Drawing
{
public class NodePreviewView : Image
{
public NodePreviewPresenter data;
public override void DoRepaint()
{
Debug.Log("DoRepaint");
image = data.Render(new Vector2(200, 200));
base.DoRepaint();
}
}
}
正在加载...
取消
保存