Exemplo n.º 1
0
    void Start()
    {
        myFriendList = GameObject.Find("Friendlist").GetComponent <Friendlist>();
        if (!isLocalPlayer)
        {
            return;
        }


        CharacterSelect characterSelect = GameObject.Find("CharacterSelect").GetComponent <CharacterSelect>();

        characterSelect.GetComponent <CanvasGroup>().alpha        = 1;
        characterSelect.GetComponent <CanvasGroup>().interactable = true;
        characterSelect.SetPlayerCharacter(this);

        CmdSetFriendlist();
    }