Fix whitespaces

pull/254/head
AndreevWezom 2023-03-13 13:34:55 +02:00
parent 761c50abac
commit 63e4e6a409
1 changed files with 7 additions and 7 deletions

View File

@ -81,7 +81,7 @@ namespace Coffee.UIExtensions
set set
{ {
m_ParticleSystem = value; m_ParticleSystem = value;
if (!ApplyParticleSystem()) return; if (!ApplyParticleSystem()) return;
enabled = true; enabled = true;
} }
} }
@ -203,9 +203,9 @@ namespace Coffee.UIExtensions
return Vector3.MoveTowards(current, target, speed); return Vector3.MoveTowards(current, target, speed);
} }
private bool ApplyParticleSystem() private bool ApplyParticleSystem()
{ {
if (m_ParticleSystem == null) if (m_ParticleSystem == null)
{ {
Debug.LogError("No particle system attached to particle attractor script", this); Debug.LogError("No particle system attached to particle attractor script", this);
enabled = false; enabled = false;
@ -217,8 +217,8 @@ namespace Coffee.UIExtensions
{ {
_uiParticle = null; _uiParticle = null;
} }
return true; return true;
} }
} }
} }