Пример #1
0
        NeverDisposeDisposableTracker()
        {
#if UNITY_EDITOR
            var go = new UnityEngine.GameObject(nameof(NeverDisposeDisposableTracker));
            go.exposeToInspector(this, nameof(trackedCount), _ => _.trackedCount);
            go.exposeToInspector(this, nameof(list), _ => _.list.Select(d => d.asString()).mkString("\n"));
#endif
        }