public void OnDisable()
    {
        OnUpdateFrameInfoNotify -= PauseOnFrame;
#if UNITY_EDITOR
        EditorApplication.pauseStateChanged -= OnPauseStateChange;
#endif
    }
Example #2
0
 public void OnEnable()
 {
     if (isInitialized)
     {
         pluginInterop.CleanupCommandBuffers();
     }
     OnUpdateFrameInfoNotify += PauseOnFrame;
 }
Example #3
0
 public void OnDisable()
 {
     OnUpdateFrameInfoNotify -= PauseOnFrame;
 }