Answers for "photon chat recieve messagesd"

1

photon chat recieve messagesd

void Update() {
	chatClient.Service();
}

public void OnGetMessages( string channelName, string[] senders, object[] messages )
    {
       string msgs = "";
       for ( int i = 0; i < senders.Length; i++ )
       {
           msgs = string.Format("{0}{1}={2}, ", msgs, senders[i], messages[i]);
       }
       print(msgs);
    }
Posted by: Guest on August-17-2020

Browse Popular Code Answers by Language