void Start() { HydraHead head = GetComponent <HydraHead>(); head.onHydraHeadDie.AddListener(OnDie_Head); head.onHydraHeadDie.AddListener(OnDie_Coin); }
private void Awake() { hydraHead = GetComponent <HydraHead>(); maxYFiller = healthFiller.transform.localScale.y; }