Add VRChat and GitHub packages to Unity project

This commit is contained in:
gunnbr committed 2021-01-18 09:14:18 -08:00
1 parent 0334a52b21
commit 85538aaccc
3297 files changed
+847877

No files matched your search

@@ -0,0 +1,19 @@
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using VRC.Core;
[CustomEditor(typeof(ApiCache))]
public class ApiCacheEditor : Editor {
public override void OnInspectorGUI()
{
foreach (System.Type type in ApiCache.cache.Keys)
{
Dictionary<string, ApiCache.CacheEntry> typeCache = ApiCache.cache[type];
EditorGUILayout.BeginHorizontal();
EditorGUILayout.PrefixLabel(type.Name);
EditorGUILayout.LabelField(typeCache.Count.ToString());
EditorGUILayout.EndHorizontal();
}
}
}