private bool ShouldShowInspector()
{
// Only show the inspector GUI if we are not showing the ParticleSystemWindow
ParticleSystemWindow window = ParticleSystemWindow.GetInstance();
return(!window || !window.IsVisible() || !selectedInParticleSystemWindow);
}