// Use this for initialization private void Start() { pttScript = FindObjectOfType <PushToTalkScript>(); PhotonVoiceNetwork.Client.OnStateChangeAction += OnVoiceClientStateChanged; }
// Use this for initialization private void Start() { pttScript = FindObjectOfType <PushToTalkScript>(); PhotonVoiceNetwork.Client.OnStateChangeAction += OnVoiceClientStateChanged; }