Exemplo n.º 1
0
        void Start()
        {
            HydraHead head = GetComponent <HydraHead>();

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