Пример #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 SetSkin(int i = -1)
    {
        int skin = avatar.ChangeSkin(i);

        SkinButtonText.text = ("Skin " + skin);
    }