This commit is contained in:
CortexCore
2024-06-26 17:53:10 +08:00
parent 46188dc637
commit 4a8c97d1fd
4 changed files with 50 additions and 16 deletions

View File

@@ -6,6 +6,8 @@ using UnityEngine;
using Cysharp.Threading.Tasks;
namespace BITKit.Net.Kcp
{
[CustomType(typeof(INetClient))]
[CustomType(typeof(INetProvider))]
public class MonoKcpClient : MonoBehaviour,INetClient,INetProvider
{
internal static MonoKcpClient Singleton { get; private set; }