From 63e4e6a4094611097da0d6dac33720f0e937780d Mon Sep 17 00:00:00 2001 From: AndreevWezom Date: Mon, 13 Mar 2023 13:34:55 +0200 Subject: [PATCH] Fix whitespaces --- Scripts/UIParticleAttractor.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Scripts/UIParticleAttractor.cs b/Scripts/UIParticleAttractor.cs index f5a999d..6c98a59 100644 --- a/Scripts/UIParticleAttractor.cs +++ b/Scripts/UIParticleAttractor.cs @@ -81,7 +81,7 @@ namespace Coffee.UIExtensions set { m_ParticleSystem = value; - if (!ApplyParticleSystem()) return; + if (!ApplyParticleSystem()) return; enabled = true; } } @@ -203,9 +203,9 @@ namespace Coffee.UIExtensions return Vector3.MoveTowards(current, target, speed); } - private bool ApplyParticleSystem() - { - if (m_ParticleSystem == null) + private bool ApplyParticleSystem() + { + if (m_ParticleSystem == null) { Debug.LogError("No particle system attached to particle attractor script", this); enabled = false; @@ -217,8 +217,8 @@ namespace Coffee.UIExtensions { _uiParticle = null; } - - return true; - } + + return true; + } } } \ No newline at end of file