Exemplo n.º 1
0
        // Update is called once per frame
        void Update()
        {
            if (!isConnected)
            {
                if (connectionProvider != null)
                {
                    connectionProvider.Update();
                }

                return;
            }
            else if (remotePath != null)
            {
                if (didStart == false)
                {
                    didStart = true;
                    remotePath.Start(connectionProvider, screenStreamer);
                    MainMenu.SetActive(false);
                }

                remotePath.UpdatePath();
            }
        }