예제 #1
0
    public void OnSetMana(Rune rune, Action action)
    {
        SetMana sm = rune as SetMana;

        text.text += ":" + sm.mana;
        action();
    }
예제 #2
0
    public void OnSetMana(Rune rune, System.Action action)
    {
        SetMana sm = rune as SetMana;

        if (sm.controller_uid != careAboutGuid)
        {
            action();
            return;
        }
        currentMana = sm.mana;
        mana.text   = currentMana + " : " + currentTopMana;
        action();
    }