Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using Photon.Pun;
- using UnityEngine.UI;
- using UnityEngine;
- public class LobbyManager : MonoBehaviourPunCallbacks
- {
- [SerializeField]
- private Text logText;
- void Start()
- {
- PhotonNetwork.NickName = "Кадыр";
- PhotonNetwork.AutomaticallySyncScene = true;
- PhotonNetwork.GameVersion = "1";
- PhotonNetwork.ConnectUsingSettings();
- }
- void Log(string message)
- {
- Debug.Log(message);
- logText.text += "\n";
- logText.text += message;
- }
- void Update()
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement