void Start() { vars = GetComponent<EnemyVariablesScript> (); }
void Start() { vars = GetComponent<EnemyVariablesScript> (); target = vars.bed; }