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

        playerVisuals.SetHairstyle(hair);
    }