コード例 #1
0
 public void findLobbyScripts()
 {
     if (!ua)
     {
         ua = FindObjectOfType <UsernameActions>();
         lf = FindObjectOfType <LobbyFunctions>();
     }
 }
コード例 #2
0
    void loadGame(SocketIOEvent evt)
    {
        Debug.Log("The game has been started!");

        ua = null;
        lf = null;

        UnityEngine.SceneManagement.SceneManager.LoadScene(1);
    }
コード例 #3
0
ファイル: LobbyFunctions.cs プロジェクト: Lebrra/server-stuff
 private void Awake()
 {
     inst = this;
     // not the first time here
     if (GameManager.instance)
     {
         loadMainUserList();
     }
 }