public void PropertiesJudge() { if (PhotonNetwork.LocalPlayer.CustomProperties["set1"] is bool set1) { if (PhotonNetwork.CurrentRoom.CustomProperties["Set"] is bool Set) { Debug.Log("SET:" + "1" + set1 + "Room" + Set); if (first & set1 && Set) { Debug.Log("SetGameScene!!!!!!!(Instantiate)"); first = false; gamemanager.SetGameScene(); } } } }