From 438ccc62dba21b5ca8da3759ac2ab08aba7042b8 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 26 Apr 2021 13:43:07 +0900 Subject: [PATCH] remove not used --- .../VRM10/Runtime/IO/DictionaryExtensions.cs | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 Assets/VRM10/Runtime/IO/DictionaryExtensions.cs diff --git a/Assets/VRM10/Runtime/IO/DictionaryExtensions.cs b/Assets/VRM10/Runtime/IO/DictionaryExtensions.cs deleted file mode 100644 index 5cddb3de7..000000000 --- a/Assets/VRM10/Runtime/IO/DictionaryExtensions.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.Collections.Generic; - -namespace UniVRM10 -{ - public static class DictionaryExtensions - { - public static U GetOrDefault(this Dictionary d, T key) - { - if(key == null) - { - return default; - } - - if(d.TryGetValue(key, out U value)) - { - return value;; - } - else{ - return default; - } - } - } -}