24 lines
439 B
C#
Executable File
24 lines
439 B
C#
Executable File
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Mirror;
|
|
using UnityEngine;
|
|
|
|
public class startClient : MonoBehaviour
|
|
{
|
|
public NetworkManager networkManager;
|
|
public static startClient instance;
|
|
void Awake(){
|
|
instance = this;
|
|
}
|
|
void Start()
|
|
{
|
|
networkManager.StartClient();
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|