public void SetFocusObject(object focus) { selectedCreature = (Creature)focus; SelectedCreature = selectedCreature; FollowCamera.SetFollowTarget(SelectedCreature.transform); }
public void SetFocusObject(Entity focus) { selectedCreature = focus; SelectedCreature = selectedCreature; FollowCamera.SetFollowTarget(SelectedCreature); }