protected void RpcSetAvatar(int colour, int hair, int brow, int skin) { if (avatarReady()) { avatar.ChangeHairColour(SyncHairColour); avatar.ChangeHair(SyncHair); avatar.ChangeBrow(SyncBrow); avatar.ChangeSkin(SyncSkin); AvatarSent = true; } }
public void SetAvatar(int colour, int hair, int brow, int skin) { avatar.ChangeHairColour(colour); avatar.ChangeBrow(brow); avatar.ChangeHair(hair); avatar.ChangeSkin(skin); Debug.Log("What the f**k am I setting hair to? " + colour); }
public void SetHair(int i = -1) { int hair = avatar.ChangeHair(i); HairButtonText.text = ("Hair " + hair); }