mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 18:40:03 +00:00
36 lines
773 B
C#
36 lines
773 B
C#
using OWML.Common;
|
|
using OWML.ModHelper;
|
|
using UnityEngine;
|
|
using UnityEngine.Networking;
|
|
|
|
namespace QSB
|
|
{
|
|
public class QSB : ModBehaviour
|
|
{
|
|
public static IModHelper Helper;
|
|
|
|
private void Awake()
|
|
{
|
|
Application.runInBackground = true;
|
|
Cursor.lockState = CursorLockMode.None;
|
|
Cursor.visible = true;
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
Cursor.lockState = CursorLockMode.None;
|
|
Cursor.visible = true;
|
|
}
|
|
|
|
private void Start()
|
|
{
|
|
Helper = ModHelper;
|
|
|
|
gameObject.AddComponent<DebugLog>();
|
|
gameObject.AddComponent<QSBNetworkManager>();
|
|
gameObject.AddComponent<NetworkManagerHUD>();
|
|
}
|
|
|
|
}
|
|
}
|