Exemple #1
0
 public override void OnRoomPropertiesUpdate(PhotonHashtable changes)
 {
     if (changes.ContainsKey("is3rdPersonCam"))
     {
         thirdPersonCam.SetActive(changes.SafeGet("is3rdPersonCam", false));
     }
 }
Exemple #2
0
 public static bool Is <T>(this ExitGames.Client.Photon.Hashtable _this, string key, T expected)
     where T : class
 {
     return(_this.SafeGet(key, default(T)) == expected);
 }