UnityEditor.ParticleSystemWindow.GetInstance C# (CSharp) Method

GetInstance() static private method

static private GetInstance ( ) : ParticleSystemWindow
return ParticleSystemWindow
        internal static ParticleSystemWindow GetInstance()
        {
            return s_Instance;
        }

Usage Example

Ejemplo n.º 1
0
        private bool ShouldShowInspector()
        {
            // Only show the inspector GUI if we are not showing the ParticleSystemWindow
            ParticleSystemWindow window = ParticleSystemWindow.GetInstance();

            return(!window || !window.IsVisible() || !selectedInParticleSystemWindow);
        }
All Usage Examples Of UnityEditor.ParticleSystemWindow::GetInstance