Fix whitespaces
parent
761c50abac
commit
63e4e6a409
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue