private void OnGUI()
{
if (s_Texts == null)
{
s_Texts = new Texts();
}
if (s_Icons == null)
{
s_Icons = new GUIContent[] { EditorGUIUtility.IconContent("HorizontalSplit"), EditorGUIUtility.IconContent("VerticalSplit") };
}
if ((this.m_Target == null) && ((Selection.activeGameObject != null) || (ParticleSystemEditorUtils.lockedParticleSystem != null)))
{
this.InitEffectUI();
}
this.DoToolbarGUI();
if ((this.m_Target != null) && (this.m_ParticleEffectUI != null))
{
this.m_ParticleEffectUI.OnGUI();
}
}