private void OnReset() { if (impl != null) { impl.Destroy(); } Camera cam = SceneObject.GetComponent <Camera>(); impl = new ProfilerOverlayInternal(cam); }
private static extern void Internal_CreateInstance(ProfilerOverlayInternal instance, IntPtr camera);