using UnityEngine;
using System.Collections;
public class NetworkManager : MonoBehaviour {
public Transform[] SpawnNoktalari;
// Use this for initialization
void Start () {
PhotonNetwork.ConnectUsingSettings("1");
}
void OnGUI()
{
GUILayout.Label(PhotonNetwork.connectionStateDetailed.ToString());
}
void OnJoinedLobby()
{
Debug.Log("Lobidesin");
PhotonNetwork.JoinRoom("YuDe");
}
void OnPhotonJoinRoomFailed ()
{
Debug.Log("Oda Bulunamadı");...
Codıng is Hell need a superhero
using System.Collections;
public class NetworkManager : MonoBehaviour {
public Transform[] SpawnNoktalari;
// Use this for initialization
void Start () {
PhotonNetwork.ConnectUsingSettings("1");
}
void OnGUI()
{
GUILayout.Label(PhotonNetwork.connectionStateDetailed.ToString());
}
void OnJoinedLobby()
{
Debug.Log("Lobidesin");
PhotonNetwork.JoinRoom("YuDe");
}
void OnPhotonJoinRoomFailed ()
{
Debug.Log("Oda Bulunamadı");...
Codıng is Hell need a superhero