예제 #1
0
    public void SetPlayerMPPercent(int mpPercent)
    {
        int previousMP = playerMP;

        statBarObject.SetMPBar(mpPercent);
        playerMP = mpPercent;
        UpdateStatBarSize();

        if (!(mpPercent == 0 || previousMP == 0))
        {
            UpdateHPMPActive();
        }
    }
예제 #2
0
 public void SetMPBar(int mpPercent)
 {
     statBar.SetMPBar(mpPercent);
 }