UnityEditor.ParticleEffectUI.IsParticleSystemUIVisible C# (CSharp) Method

IsParticleSystemUIVisible() public method

public IsParticleSystemUIVisible ( ParticleSystemUI psUI ) : bool
psUI ParticleSystemUI
return bool
        public bool IsParticleSystemUIVisible(ParticleSystemUI psUI)
        {
            OwnerType type = !(this.m_Owner is ParticleSystemInspector) ? OwnerType.ParticleSystemWindow : OwnerType.Inspector;
            return ((type == OwnerType.ParticleSystemWindow) || ((type == OwnerType.Inspector) && (psUI.m_ParticleSystem == this.m_SelectedParticleSystem)));
        }