示例#1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.Escape))
     {
         ManuManager.GotoMenu();
     }
 }
示例#2
0
 private void Awake()
 {
     Instance = this;
     hostMenu.SetActive(false);
     connectMenu.SetActive(false);
     DontDestroyOnLoad(gameObject);
 }
示例#3
0
 public TitleScreen()
 {
     menuManager = new ManuManager();
 }
示例#4
0
 // Use this for initialization
 void Start()
 {
     _instance = this;
     // Listen to image picker event so we can load the image into a texture later
     EtceteraManager.imagePickerChoseImageEvent += imagePickerChoseImage;
 }