16 lines
299 B
C#
16 lines
299 B
C#
using Mirror;
|
|
using UnityEngine;
|
|
|
|
public class Menu : MonoBehaviour
|
|
{
|
|
public CustomNetworkManager networkManager;
|
|
|
|
[Header("UI")] public GameObject landingPagePanel;
|
|
|
|
public void HostLobby()
|
|
{
|
|
networkManager.StartHost();
|
|
landingPagePanel.SetActive(false);
|
|
}
|
|
}
|