using UnityEngine; using UnityEngine.UI; [ExecuteInEditMode] public class ChatAppIdCheckerUI : MonoBehaviour { public Text Description; public void Update() { if (string.IsNullOrEmpty(PhotonNetwork.PhotonServerSettings.ChatAppID)) { Description.text = "WARNING:\nTo run this demo, please set the Chat AppId in the PhotonServerSettings file."; } else { Description.text = string.Empty; } } }