//Steps public void ChangeStep(e_step _step) { step = _step; inputManager.UpdateStep(_step); boardManager.UpdateStep(_step); }
public IEnumerator StepTansition(e_step _final) { ChangeStep(e_step.Default); UIManager.Transition(_final); yield return(new WaitForSeconds(transiAnim.length)); if (!eliminated) { ChangeStep(_final); } }
public void UpdateStep(e_step _step) { step = _step; if (step == e_step.Board) { deckManager.Unselection(); } else if (step == e_step.Card) { boardManager.Unselection(); } }
public void ModifyMana(int _value) { mana += _value; uiManager.UpdateMana(); if (mana <= 0) { if (step == e_step.Card || step == e_step.UseCard) { step = e_step.Card; NextStep(); } } }
public void Transition(e_step _step) { transitionText.text = _step.ToString(); transition.Anim(); }
public void UpdateStep(e_step _step) { step = _step; }