Added PlayerHealth and PlayerShoot
This commit is contained in:
@@ -16,14 +16,14 @@ public class MainMenuUIController : MonoBehaviour
|
||||
|
||||
private void HostGame()
|
||||
{
|
||||
Debug.Log("Hosting game...");
|
||||
NetworkManager.Singleton.StartHost();
|
||||
NetworkManager.Singleton.SceneManager.LoadScene("DEV-Game", LoadSceneMode.Single);
|
||||
Debug.Log("Hosting game...");
|
||||
}
|
||||
|
||||
private void JoinGame()
|
||||
{
|
||||
Debug.Log("Joining game...");
|
||||
NetworkManager.Singleton.StartClient();
|
||||
Debug.Log("Joining game...");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user