From 95dd4fd2fc53247b7cfeb7d3b4832886e911d516 Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Tue, 22 Jun 2021 19:49:27 +0900 Subject: [PATCH] Remove unused --- Assets/VRMShaders/GLTF/IO/Runtime/TextureFactory.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Assets/VRMShaders/GLTF/IO/Runtime/TextureFactory.cs b/Assets/VRMShaders/GLTF/IO/Runtime/TextureFactory.cs index 8922bffe2..34c58f6ae 100644 --- a/Assets/VRMShaders/GLTF/IO/Runtime/TextureFactory.cs +++ b/Assets/VRMShaders/GLTF/IO/Runtime/TextureFactory.cs @@ -9,7 +9,6 @@ namespace VRMShaders public class TextureFactory : IResponsibilityForDestroyObjects { private readonly IReadOnlyDictionary _externalMap; - private readonly Dictionary _temporaryTextures = new Dictionary(); private readonly Dictionary _textureCache = new Dictionary(); public ITextureDeserializer TextureDeserializer { get; } @@ -32,11 +31,6 @@ namespace VRMShaders public void Dispose() { - foreach (var kv in _temporaryTextures) - { - UnityObjectDestoyer.DestroyRuntimeOrEditor(kv.Value); - } - _temporaryTextures.Clear(); _textureCache.Clear(); } @@ -134,8 +128,6 @@ namespace VRMShaders default: throw new ArgumentOutOfRangeException(); } - - throw new NotImplementedException(); } } }