// Animation event when guard attacks player public void attackVampire() { if (guardControl == null) { guardControl = GetComponentInParent <GuardControl>(); } guardControl.hurtVampire(); }
// Animation event when guard attacks player public void attackVampire() { if (guardControl == null) { guardControl = GetComponentInParent <GuardControl>(); } guardControl.hurtVampire(); }