r2mods/ilspy_dump/ror2_csproj/UDPHelper.cs

24 lines
495 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using UDPHelperSpace;
using UnityEngine;
public static class UDPHelper
{
public static UDPSender Sender;
public static UDPReceive Receiver;
public static UDPTest Test;
private static UDPSenderUpdate uDPSender;
static UDPHelper()
{
Sender = new UDPSender();
Receiver = new UDPReceive();
Test = new UDPTest();
GameObject gameObject = new GameObject("UDPHelperSender");
gameObject.AddComponent<UDPSenderUpdate>();
uDPSender = gameObject.GetComponent<UDPSenderUpdate>();
}
}