fix #if UNITY_EDITOR

This commit is contained in:
ousttrue
2018-04-10 19:35:32 +09:00
parent d7e758ba57
commit 610c1223e2
3 changed files with 8 additions and 5 deletions

View File

@@ -10,12 +10,14 @@ using UnityEditor;
namespace VRM
{
#if UNITY_EDITOR
[Serializable]
public struct PropItem
{
public ShaderUtil.ShaderPropertyType PropertyType;
public Vector4 DefaultValues;
}
#endif
[Serializable]
public class MaterialItem

View File

@@ -212,6 +212,7 @@ namespace VRM
}
}
#if UNITY_EDITOR
Bounds m_bounds;
public void Bake(BlendShapeBinding[] values=null, MaterialValueBinding[] materialValues=null, float weight=1.0f)
{
@@ -256,7 +257,7 @@ namespace VRM
}
}
#endif
/*
int PreviewLayer
{