public void Equip(RigShuffler rig, Material hatColor, Material highlightColor) { rig.hatFront.sprite = front; rig.hatBack.sprite = back; rig.hatFront.material = hatColor; rig.hatBack.material = hatColor; }
public void Equip(RigShuffler rig, Material shirtColor) { rig.shirt.sprite = torso; rig.leftShoulder.sprite = leftShoulder; rig.rightShoulder.sprite = rightShoulder; rig.leftForearm.sprite = leftForearm; rig.rightForearm.sprite = rightForearm; rig.shirt.material = shirtColor; rig.leftShoulder.material = shirtColor; rig.rightShoulder.material = shirtColor; rig.leftForearm.material = shirtColor; rig.rightForearm.material = shirtColor; }
public void Equip(RigShuffler rig, Material hairColor, bool hasHat) { if (hasHat == true) { rig.hairTop.sprite = hatHair; } else { rig.hairTop.sprite = top; } rig.hairFront.sprite = front; rig.hairBack.sprite = back; rig.hairTop.material = hairColor; rig.hairFront.material = hairColor; rig.hairBack.material = hairColor; }
public void Equip(RigShuffler rig, Material pantsColor) { rig.hips.sprite = hips; //rig.hipsBack.sprite = hipsBack; rig.leftThigh.sprite = leftThigh; rig.rightThigh.sprite = rightThigh; rig.leftShin.sprite = leftShin; rig.rightShin.sprite = rightShin; rig.leftFoot.sprite = leftFoot; rig.rightFoot.sprite = rightFoot; rig.hips.material = pantsColor; rig.leftThigh.material = pantsColor; rig.rightThigh.material = pantsColor; rig.leftShin.material = pantsColor; rig.rightShin.material = pantsColor; rig.leftFoot.material = pantsColor; rig.rightFoot.material = pantsColor; }
public void Equip(RigShuffler rig, Material jacketColor, Material highlightColor) { rig.jacket.sprite = torso; rig.jacketFront.sprite = torsoFront; rig.jacketBack.sprite = torsoBack; rig.jacket.material = jacketColor; rig.jacketFront.material = jacketColor; rig.jacketBack.material = jacketColor; if (hasSleeves == true) { rig.leftShoulder.sprite = leftShoulder; rig.rightShoulder.sprite = rightShoulder; rig.leftForearm.sprite = leftForearm; rig.rightForearm.sprite = rightForearm; rig.leftShoulder.material = jacketColor; rig.rightShoulder.material = jacketColor; rig.leftForearm.material = jacketColor; rig.rightForearm.material = jacketColor; } }