public void UpdatePlayerVisuals(PlayerVisuals playerVisuals) { playerVisuals.SetHairstyle(hair); playerVisuals.SetHat(hat); playerVisuals.SetSkinColor(skinColor); playerVisuals.SetClothingColor(clothingColor); }
public void SetHairstyle(Hair hair) { this.hair = hair; PlayerVisuals playerVisuals = player.GetComponent <PlayerVisuals>(); playerVisuals.SetHairstyle(hair); }