void Awake() { streamer = GameObject.Find("Main Camera").gameObject.GetComponent <ParsecStreamGeneral>(); if (streamer != null) { streamer.GuestConnected += Streamer_GuestConnected; streamer.GuestDisconnected += Streamer_GuestDisconnected; } }