浏览代码

Merge pull request #308 from Unity-Technologies/fixes/update-deprecated-resources-api

Update deprecated Resources API
/main
GitHub 7 年前
当前提交
26deb2a4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.shadergraph/Editor/Drawing/Blackboard/BlackboardProvider.cs

2
com.unity.shadergraph/Editor/Drawing/Blackboard/BlackboardProvider.cs


public BlackboardProvider(string assetName, AbstractMaterialGraph graph)
{
m_Graph = graph;
m_ExposedIcon = Resources.Load("GraphView/Nodes/BlackboardFieldExposed") as Texture2D;
m_ExposedIcon = Resources.Load<Texture2D>("GraphView/Nodes/BlackboardFieldExposed");
m_PropertyRows = new Dictionary<Guid, BlackboardRow>();
blackboard = new Blackboard()

正在加载...
取消
保存