mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
16 lines
264 B
C#
16 lines
264 B
C#
|
using UnityEngine;
|
|||
|
|
|||
|
public class NetMan : MonoBehaviour
|
|||
|
{
|
|||
|
void OnGUI()
|
|||
|
{
|
|||
|
if (GUI.Button(new Rect(5, 5, 100, 25), "Start Server"))
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
if (GUI.Button(new Rect(5, 30, 100, 25), "Start Client"))
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|