private void SingleParticleSystemGUI()
{
ParticleSystem root = ParticleSystemEditorUtils.GetRoot(this.m_SelectedParticleSystem);
GUILayout.BeginVertical(ParticleSystemStyles.Get().effectBgStyle, new GUILayoutOption[0]);
ParticleSystemUI particleSystemUIForParticleSystem = this.GetParticleSystemUIForParticleSystem(this.m_SelectedParticleSystem);
if (particleSystemUIForParticleSystem != null)
{
float width = GUIClip.visibleRect.width - 18f;
particleSystemUIForParticleSystem.OnGUI(root, width, false);
}
GUILayout.EndVertical();
GUILayout.BeginHorizontal(new GUILayoutOption[0]);
GUILayout.FlexibleSpace();
ParticleSystemEditorUtils.editorResimulation = GUILayout.Toggle(ParticleSystemEditorUtils.editorResimulation, s_Texts.resimulation, EditorStyles.toggle, new GUILayoutOption[0]);
m_ShowWireframe = GUILayout.Toggle(m_ShowWireframe, texts.wireframe, EditorStyles.toggle, new GUILayoutOption[0]);
m_ShowBounds = GUILayout.Toggle(m_ShowBounds, texts.bounds, EditorStyles.toggle, new GUILayoutOption[0]);
GUILayout.EndHorizontal();
GUILayout.FlexibleSpace();
this.HandleKeyboardShortcuts(root);
}