Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- using UnityEngine.UI;
- namespace PUNTutorial
- {
- public class MainMenu : Photon.PunBehaviour {
- static MainMenu instance;
- void Awake () {
- if(instance != null)
- {
- DestroyImmediate(gameObject);
- return;
- }
- instance = this;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement