示例#1
0
    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;
        }
    }
示例#2
0
    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);
    }
示例#3
0
    public void SetBrow(int i = -1)
    {
        int brow = avatar.ChangeBrow(i);

        BrowButtonText.text = ("Brow " + brow);
    }