public void Init(Bed bed, Need Need) { Bed = bed; NPC owner = gameObject.GetComponent <NPC>(); owner.SetDestination(bed.GetLocation()); this.Need = Need; }