// Start is called before the first frame update void Start() { SetUpMoveBoundaries(); deadSound = GetComponent <AudioSource>(); laserSound = laserPrefab.GetComponent <AudioSource>(); hpManager = FindObjectOfType <HpImage>(); }
public void HpDisplay() { HpImage.GetChild(1).GetComponent <Image>().fillAmount = HpRatio(); }