Commit 71b8e980 authored by Hà Trung (NEGAXY)'s avatar Hà Trung (NEGAXY)

no message

parent 3114d1cf
...@@ -102,6 +102,8 @@ public class ExplosionCount : MonoBehaviour ...@@ -102,6 +102,8 @@ public class ExplosionCount : MonoBehaviour
float percent = (transform.childCount * 1f) / (initChildCount * 1f); float percent = (transform.childCount * 1f) / (initChildCount * 1f);
if (percent < 0.3f) if (percent < 0.3f)
{ {
InterfaceOperation.Instance.CheckStar(1 - percent);
Interface.instance.healthPlanet.fill.fillAmount = (1 - percent);
return true; return true;
} }
return false; 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