IEnumerator Setup() { currentBattleState.value = 1; victoryCanvas.enabled = false; statsController.CalculateSpellPassives(true); TriggerState(); yield break; }
// Use this for initialization void Start() { statsController.CalculateSpellPassives(true); statsController.currentHP.value = statsController.maxHP.value; statsController.currentMana.value = statsController.maxMana.value; currentAttackType = AttackType.NONE; selectCanvas.enabled = false; familiarHealth.value = 0; familiarTransform.gameObject.SetActive(false); }