Commit bb8074cd authored by Trương Khoa (NEGAXY)'s avatar Trương Khoa (NEGAXY)
parents 25fce304 71b8e980
......@@ -102,6 +102,8 @@ public class ExplosionCount : MonoBehaviour
float percent = (transform.childCount * 1f) / (initChildCount * 1f);
if (percent < 0.3f)
{
InterfaceOperation.Instance.CheckStar(1 - percent);
Interface.instance.healthPlanet.fill.fillAmount = (1 - percent);
return true;
}
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment