Exemple #1
0
        void Start()
        {
            HydraHead head = GetComponent <HydraHead>();

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