public void ApplyProperties()
{
bool hasModifiedProperties = this.m_ParticleSystemSerializedObject.hasModifiedProperties;
this.m_ParticleSystemSerializedObject.ApplyModifiedProperties();
if (hasModifiedProperties)
{
if (!ParticleEffectUI.IsStopped(ParticleSystemEditorUtils.GetRoot(this.m_ParticleSystem)) && ParticleSystemEditorUtils.editorResimulation)
{
ParticleSystemEditorUtils.PerformCompleteResimulation();
}
this.UpdateParticleSystemInfoString();
}
if (this.m_RendererSerializedObject != null)
{
this.m_RendererSerializedObject.ApplyModifiedProperties();
}
}