浏览代码

Possible fix for #154 - UV channel was not being serialized

/main
Peter Bay Bastian 7 年前
当前提交
891d3537
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Graphs/UVMaterialSlot.cs

3
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Graphs/UVMaterialSlot.cs


[Serializable]
public class UVMaterialSlot : Vector2MaterialSlot, IMayRequireMeshUV
{
private UVChannel m_Channel = UVChannel.UV0;
[SerializeField]
UVChannel m_Channel = UVChannel.UV0;
public UVChannel channel
{

正在加载...
取消
保存