mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-11 13:04:17 -05:00
fix #if UNITY_EDITOR
This commit is contained in:
parent
d7e758ba57
commit
610c1223e2
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ namespace VRM
|
|||
public static class VRMVersion
|
||||
{
|
||||
public const int MAJOR = 0;
|
||||
public const int MINOR = 24;
|
||||
public const int MINOR = 25;
|
||||
|
||||
public const string VERSION = "0.24";
|
||||
public const string VERSION = "0.25";
|
||||
|
||||
public const string DecrementMenuName = "VRM/Version(0.24) Decrement";
|
||||
public const string IncrementMenuName = "VRM/Version(0.24) Increment";
|
||||
public const string DecrementMenuName = "VRM/Version(0.25) Decrement";
|
||||
public const string IncrementMenuName = "VRM/Version(0.25) Increment";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user