document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. using UnityEngine;
  2. using System.Collections;
  3. using UnityEngine.UI;
  4.  
  5. namespace PUNTutorial
  6. {
  7.     public class MainMenu : Photon.PunBehaviour {
  8.         static MainMenu instance;
  9.  
  10.         void Awake () {
  11.             if(instance != null)
  12.             {
  13.                 DestroyImmediate(gameObject);
  14.                 return;
  15.             }
  16.             instance = this;
  17.         }
  18.     }
  19. }
');