void OnTriggerEnter(Collider other) { if (other.tag == "Player") { playerHpRef.DrainHp(newDrainAmount); } }
void OnTriggerEnter(Collider other) { if (other.tag == "Player") { matchRef.MathBlown(); //playerHpRef.GainHP(false); playerHpRef.DrainHp(newDrainAmount); //playerHpRef.PleaseDie(); } }