Пример #1
0
    public void RpcAddMsg(string Message)
    {
        if (!isLocalPlayer)
        {
            return;
        }

        CurrentChat.ChatUpdate(Message);
        CurrentChat.gameObject.transform.GetChild(0).GetChild(0).Find("Scrollbar Vertical").GetComponent <Scrollbar>().value = 0f;
    }