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 SetBrow(int i = -1) { int brow = avatar.ChangeBrow(i); BrowButtonText.text = ("Brow " + brow); }