Skip to content

Instantly share code, notes, and snippets.

#if UNITY_EDITOR || DEVELOPMENT_BUILD
#define PROFILING_ENABLED
#endif
#if NET_4_6 || NET_STANDARD_2_0 || NETFX_CORE
#define NET_MODERN
#endif
using System;
using System.Diagnostics;
@jonagill
jonagill / CollisionDebugger.cs
Last active June 14, 2018 18:00
Tool to track what collisions are happening in a Unity game
#if UNITY_EDITOR
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
[InitializeOnLoad]