Advertisement
apieceoffruit

Untitled

Jul 26th, 2021
859
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1. using UnityEngine;
  2. using static Photon.Pun.PhotonNetwork;
  3. using static UnityEngine.SceneManagement.SceneManager;
  4. namespace JasonStorey
  5. {
  6.     public class LobbyReturn : MonoBehaviour
  7.     {
  8.         void Start()
  9.         {
  10.             if (!IsConnectedAndReady) LoadScene(0);
  11.         }
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement