Timing display fixes (#840)

* the fix ™️

* the glow ™️
This commit is contained in:
ThePurpleAnon
2024-04-08 13:49:01 -05:00
committed by minenice55
parent 232663b930
commit efa640f293
9 changed files with 406 additions and 33 deletions

View File

@ -165,6 +165,13 @@ namespace HeavenStudio.Common
}
}
// makes the explosion smaller with less accurate inputs
if (it == OK)
{
float okScalar = 1 - (frac / 2);
it.transform.localScale = new Vector3(okScalar, okScalar, it.transform.localScale.z);
}
it.transform.position = barTransform.position + new Vector3(0, barTransform.localScale.y * y, 0);
it.GetComponent<ParticleSystem>().Play();
}