| 123456789101112131415161718192021222324252627282930 | 
							- // --------------------------------------------------------------------------------------------------------------------
 
- // <copyright file="RoomListView.cs" company="Exit Games GmbH">
 
- //   Part of: Pun Cockpit
 
- // </copyright>
 
- // <author>developer@exitgames.com</author>
 
- // --------------------------------------------------------------------------------------------------------------------
 
- using UnityEngine;
 
- using UnityEngine.UI;
 
- namespace Photon.Pun.Demo.Cockpit
 
- {
 
- 	/// <summary>
 
- 	/// PhotonNetwork.GameVersion UI property.
 
- 	/// </summary>
 
- 	public class GameVersionProperty : MonoBehaviour 
 
-     {
 
- 		public Text Text;
 
- 		string _cache;
 
- 		void Update()
 
- 		{
 
- 			if (PhotonNetwork.GameVersion != _cache) {
 
- 				_cache = PhotonNetwork.GameVersion;
 
- 				Text.text = _cache;
 
- 			}
 
- 		}
 
- 	}
 
- }
 
 
  |