// Update is called once per frame void Update() { if (!camReady) { if (videoPanelScript.GetCameraStatus()) { Debug.Log("Camera is Working"); camReady = true; } else { Debug.Log("Camera not started"); camReady = false; } } if (tcpNetworkingScript.GetNetworkIsNotActive()) { if (videoPanelScript.startSending) { tcpNetworkingScript.SetNetworkToActive(); tcpNetworkingScript.InitializeCommunicationOverTCP(); } } //ProcessReceivedTextData(); ProcessReceivedMoodTrackerData(); }