Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using Barebones;
- using Barebones.MasterServer;
- using Barebones.Logging;
- namespace Barebones.MasterServer
- {
- public class InstantLoadLevel : MonoBehaviour
- {
- public GameObject QuickAuthUi;
- public GameObject CreateGameUi;
- // Use this for initialization
- void Start()
- {
- }
- // Update is called once per frame
- void Update()
- {
- }
- public void LoadLevel()
- {
- QuickAuthUi.GetComponent<QuickAuthUi>().OnGuestAccessClick();
- CreateGameUi.GetComponent<CreateGameUi>().OnCreateClick();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement