mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-29 20:52:10 +01:00
added scene
This commit is contained in:
11
Assets/Scripts/HomeMenu/MenuStartHost.cs
Normal file
11
Assets/Scripts/HomeMenu/MenuStartHost.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Mirror;
|
||||
using UnityEngine;
|
||||
|
||||
public class MenuStartHost : MonoBehaviour
|
||||
{
|
||||
public void StartHost()
|
||||
{
|
||||
Debug.Log("[MENU] Starting host...");
|
||||
NetworkManager.singleton.StartHost();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user