예제 #1
0
 private void ApplyActiveState()
 {
     // Opening/Closing CPU chart should not set the CPU area as that would set Profiler.enabled.
     if (m_Area != ProfilerArea.CPU)
     {
         ProfilerDriver.SetAreaEnabled(m_Area, active);
     }
 }