private bool ShouldShowInspector() { ParticleSystemWindow instance = ParticleSystemWindow.GetInstance(); return (((instance == null) || !instance.IsVisible()) || !this.selectedInParticleSystemWindow); }