protected override bool CanApply(RaycastHit hitInfo) { Dude dude = hitInfo.transform.GetComponent <Dude>(); return(dude.CanEnlarge()); }