浏览代码

Merge pull request #285 from Unity-Technologies/fix-serializable-warnings

Fix warnings from legacy deserialization classes
/main
GitHub 7 年前
当前提交
03f44061
共有 3 个文件被更改,包括 6 次插入0 次删除
  1. 2
      com.unity.shadergraph/Editor/Data/Graphs/SerializableCubemap.cs
  2. 2
      com.unity.shadergraph/Editor/Data/Graphs/SerializableMesh.cs
  3. 2
      com.unity.shadergraph/Editor/Data/Graphs/SerializableTexture.cs

2
com.unity.shadergraph/Editor/Data/Graphs/SerializableCubemap.cs


[Serializable]
class CubemapHelper
{
#pragma warning disable 649
#pragma warning restore 649
}
public Cubemap cubemap

2
com.unity.shadergraph/Editor/Data/Graphs/SerializableMesh.cs


[Serializable]
class MeshHelper
{
#pragma warning disable 649
#pragma warning restore 649
}
public Mesh mesh

2
com.unity.shadergraph/Editor/Data/Graphs/SerializableTexture.cs


[Serializable]
class TextureHelper
{
#pragma warning disable 649
#pragma warning restore 649
}
public Texture texture

正在加载...
取消
保存