示例#1
0
        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);
 private static extern void Internal_CreateInstance(ProfilerOverlayInternal instance, IntPtr camera);