Fixed build warnings

This commit is contained in:
ousttrue 2019-01-10 23:18:12 +09:00
parent 0108d018e0
commit 221e1e573d
2 changed files with 1 additions and 2 deletions

View File

@ -375,10 +375,10 @@ namespace UniGLTF
for (int i = 0; i < GLTF.textures.Count; ++i)
{
var image = GLTF.GetImageFromTextureIndex(i);
TextureItem item = null;
#if UNITY_EDITOR
var image = GLTF.GetImageFromTextureIndex(i);
if (imageBaseDir.IsUnderAssetsFolder
&& !string.IsNullOrEmpty(image.uri)
&& !image.uri.StartsWith("data:")

View File

@ -49,7 +49,6 @@ namespace UniHumanoid
m_lastDir = Path.GetDirectoryName(path);
#else
string path=null;
throw new NotImplementedException();
#endif
#pragma warning disable 4014