예제 #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);
    }