private bool IsInRange() { return(Vector3.Distance(transform.position, target.transform.position) < currentWeaponConfig.getRange()); }