// Use this for initialization void Start() { currentPotion = maxPotion - 2; currentMeleeBonus = 0; currentHP = HPLevels [1]; currentAttack = attackLevels [1]; currentDefence = defenceLevels [1]; thePlayerHealth = FindObjectOfType <Player2Hp> (); }
// Use this for initialization void Start() { theP1 = FindObjectOfType <PlayerHp> (); theP2 = FindObjectOfType <Player2Hp>(); }