public void OnSetMana(Rune rune, Action action) { SetMana sm = rune as SetMana; text.text += ":" + sm.mana; action(); }
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(); }