Advertisement
Guest User

Untitled

a guest
May 20th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using Barebones;
  5. using Barebones.MasterServer;
  6. using Barebones.Logging;
  7. namespace Barebones.MasterServer
  8. {
  9. public class InstantLoadLevel : MonoBehaviour
  10. {
  11. public GameObject QuickAuthUi;
  12. public GameObject CreateGameUi;
  13. // Use this for initialization
  14. void Start()
  15. {
  16.  
  17.  
  18. }
  19.  
  20. // Update is called once per frame
  21. void Update()
  22. {
  23.  
  24. }
  25. public void LoadLevel()
  26. {
  27. QuickAuthUi.GetComponent<QuickAuthUi>().OnGuestAccessClick();
  28. CreateGameUi.GetComponent<CreateGameUi>().OnCreateClick();
  29. }
  30. }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement