private void Awake() { chatManager = GameObject.Find("ChatManager").GetComponent <_ChatManager>(); connectionManager = GameObject.Find("ConnectionManager").GetComponent <_ConnectionManager>(); }
void Start() { instance = this; PhotonNetwork.ConnectUsingSettings(); }