udpate send image

pull/2/head
sangta 2024-06-20 16:39:52 +07:00
parent 3c2c6c3b31
commit 48029c4f2c
7 changed files with 50 additions and 1 deletions

View File

@ -19,5 +19,6 @@ namespace GadGame.Network
public int AgeMin; public int AgeMin;
public int AgeMax; public int AgeMax;
public Vector2[] PosPoints; public Vector2[] PosPoints;
public string StreamingData;
} }
} }

View File

@ -11,7 +11,7 @@ namespace GadGame.Network
{ {
public class UdpSocket : PersistentSingleton<UdpSocket> public class UdpSocket : PersistentSingleton<UdpSocket>
{ {
[SerializeField] private string _ip = "127.0.0.1"; [SerializeField] private string _ip = "192.168.1.122";
[SerializeField] private int _receivePort = 8000; [SerializeField] private int _receivePort = 8000;
[SerializeField] private int _sendPort = 8001; [SerializeField] private int _sendPort = 8001;
[SerializeField] private ReceiverData _dataReceived; [SerializeField] private ReceiverData _dataReceived;

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 560a88da2bbc70140bed167f0ba7fe37
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: fb01be13d6e88ca488dda82150319bfc
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 117dcc671050f5247bd8743b91ecaab7
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -9,6 +9,7 @@
"com.unity.nuget.newtonsoft-json": "3.2.1", "com.unity.nuget.newtonsoft-json": "3.2.1",
"com.unity.textmeshpro": "3.0.8", "com.unity.textmeshpro": "3.0.8",
"com.unity.timeline": "1.7.6", "com.unity.timeline": "1.7.6",
"com.unity.toolchain.linux-x86_64": "2.0.9",
"com.unity.ugui": "1.0.0", "com.unity.ugui": "1.0.0",
"com.unity.visualscripting": "1.9.2", "com.unity.visualscripting": "1.9.2",
"com.wooshii.hierarchydecorator": "https://github.com/WooshiiDev/HierarchyDecorator.git", "com.wooshii.hierarchydecorator": "https://github.com/WooshiiDev/HierarchyDecorator.git",

View File

@ -237,6 +237,22 @@
"dependencies": {}, "dependencies": {},
"url": "https://packages.unity.com" "url": "https://packages.unity.com"
}, },
"com.unity.sysroot": {
"version": "2.0.10",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.sysroot.linux-x86_64": {
"version": "2.0.9",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.sysroot": "2.0.10"
},
"url": "https://packages.unity.com"
},
"com.unity.test-framework": { "com.unity.test-framework": {
"version": "1.1.33", "version": "1.1.33",
"depth": 1, "depth": 1,
@ -279,6 +295,16 @@
}, },
"url": "https://packages.unity.com" "url": "https://packages.unity.com"
}, },
"com.unity.toolchain.linux-x86_64": {
"version": "2.0.9",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.sysroot": "2.0.10",
"com.unity.sysroot.linux-x86_64": "2.0.9"
},
"url": "https://packages.unity.com"
},
"com.unity.ugui": { "com.unity.ugui": {
"version": "1.0.0", "version": "1.0.0",
"depth": 0, "depth": 0,