public void OnPairConnection(TCPConnection connection) { foreach (VideoDisplay videoDisplay in displayedVideos) { GuideAdapter adapter = GuideAdapter.Instance; if (adapter) { adapter.SendHasVideo(connection, videoDisplay.VideoName); } } }
private void OnDestroy() { Instance = null; }
private void Start() { Instance = this; onZeroConnections.Invoke(); }