├── Assets
├── UnityChatDemo(Can be deleted).meta
├── UnityChatDemo(Can be deleted)
│ ├── ChatNetWork.meta
│ ├── ChatNetWork
│ │ ├── Plugins.meta
│ │ ├── Plugins
│ │ │ ├── ChatNetWork.dll
│ │ │ ├── ChatNetWork.dll.meta
│ │ │ ├── UnityWebSocket.meta
│ │ │ ├── UnityWebSocket
│ │ │ │ ├── Plugins.meta
│ │ │ │ ├── Plugins
│ │ │ │ │ ├── WebGL.meta
│ │ │ │ │ └── WebGL
│ │ │ │ │ │ ├── WebSocket.jslib
│ │ │ │ │ │ └── WebSocket.jslib.meta
│ │ │ │ ├── Scripts.meta
│ │ │ │ └── Scripts
│ │ │ │ │ ├── Editor.meta
│ │ │ │ │ ├── Editor
│ │ │ │ │ ├── SettingsWindow.cs
│ │ │ │ │ ├── SettingsWindow.cs.meta
│ │ │ │ │ ├── UnityWebSocket.Editor.asmdef
│ │ │ │ │ └── UnityWebSocket.Editor.asmdef.meta
│ │ │ │ │ ├── Runtime.meta
│ │ │ │ │ └── Runtime
│ │ │ │ │ ├── Core.meta
│ │ │ │ │ ├── Core
│ │ │ │ │ ├── CloseEventArgs.cs
│ │ │ │ │ ├── CloseEventArgs.cs.meta
│ │ │ │ │ ├── CloseStatusCode.cs
│ │ │ │ │ ├── CloseStatusCode.cs.meta
│ │ │ │ │ ├── ErrorEventArgs.cs
│ │ │ │ │ ├── ErrorEventArgs.cs.meta
│ │ │ │ │ ├── IWebSocket.cs
│ │ │ │ │ ├── IWebSocket.cs.meta
│ │ │ │ │ ├── MessageEventArgs.cs
│ │ │ │ │ ├── MessageEventArgs.cs.meta
│ │ │ │ │ ├── Opcode.cs
│ │ │ │ │ ├── Opcode.cs.meta
│ │ │ │ │ ├── OpenEventArgs.cs
│ │ │ │ │ ├── OpenEventArgs.cs.meta
│ │ │ │ │ ├── Settings.cs
│ │ │ │ │ ├── Settings.cs.meta
│ │ │ │ │ ├── WebSocketState.cs
│ │ │ │ │ └── WebSocketState.cs.meta
│ │ │ │ │ ├── Implementation.meta
│ │ │ │ │ ├── Implementation
│ │ │ │ │ ├── NoWebGL.meta
│ │ │ │ │ ├── NoWebGL
│ │ │ │ │ │ ├── WebSocket.cs
│ │ │ │ │ │ ├── WebSocket.cs.meta
│ │ │ │ │ │ ├── WebSocketManager.cs
│ │ │ │ │ │ └── WebSocketManager.cs.meta
│ │ │ │ │ ├── WebGL.meta
│ │ │ │ │ └── WebGL
│ │ │ │ │ │ ├── WebSocket.cs
│ │ │ │ │ │ ├── WebSocket.cs.meta
│ │ │ │ │ │ ├── WebSocketManager.cs
│ │ │ │ │ │ └── WebSocketManager.cs.meta
│ │ │ │ │ ├── UnityWebSocket.Runtime.asmdef
│ │ │ │ │ └── UnityWebSocket.Runtime.asmdef.meta
│ │ │ ├── Uwp.meta
│ │ │ └── Uwp
│ │ │ │ ├── ChatNetworkUwp.dll
│ │ │ │ └── ChatNetworkUwp.dll.meta
│ │ ├── Scripts.meta
│ │ └── Scripts
│ │ │ ├── ChatNetworkManager.cs
│ │ │ ├── ChatNetworkManager.cs.meta
│ │ │ ├── DataHandler.meta
│ │ │ ├── DataHandler
│ │ │ ├── IHandler.cs
│ │ │ ├── IHandler.cs.meta
│ │ │ ├── IMHandler.cs
│ │ │ ├── IMHandler.cs.meta
│ │ │ ├── MessageHandler.cs
│ │ │ ├── MessageHandler.cs.meta
│ │ │ ├── MySqlHandler.cs
│ │ │ ├── MySqlHandler.cs.meta
│ │ │ ├── NetDataHanlerCenter.cs
│ │ │ ├── NetDataHanlerCenter.cs.meta
│ │ │ ├── VideoDataHandler.cs
│ │ │ └── VideoDataHandler.cs.meta
│ │ │ ├── NetConfig.cs
│ │ │ ├── NetConfig.cs.meta
│ │ │ ├── Tools.meta
│ │ │ ├── Tools
│ │ │ ├── UdpPacket.cs
│ │ │ ├── UdpPacket.cs.meta
│ │ │ ├── UdpPacketSpliter.cs
│ │ │ └── UdpPacketSpliter.cs.meta
│ │ │ ├── UdpSocketManager.cs
│ │ │ ├── UdpSocketManager.cs.meta
│ │ │ ├── WebSocketNetwork.cs
│ │ │ └── WebSocketNetwork.cs.meta
│ ├── Protocol.meta
│ ├── Protocol
│ │ ├── ChatProto.dll
│ │ ├── ChatProto.dll.meta
│ │ ├── Google.Protobuf.dll
│ │ └── Google.Protobuf.dll.meta
│ ├── Res.meta
│ ├── Res
│ │ ├── pic0.png
│ │ ├── pic0.png.meta
│ │ ├── pic1.png
│ │ ├── pic1.png.meta
│ │ ├── pic2.png
│ │ └── pic2.png.meta
│ ├── Resources.meta
│ ├── Resources
│ │ ├── Sounds.meta
│ │ └── Sounds
│ │ │ ├── Call.wav
│ │ │ ├── Call.wav.meta
│ │ │ ├── Click1.wav
│ │ │ ├── Click1.wav.meta
│ │ │ ├── Click2.wav
│ │ │ ├── Click2.wav.meta
│ │ │ ├── Hang.wav
│ │ │ ├── Hang.wav.meta
│ │ │ ├── message.wav
│ │ │ └── message.wav.meta
│ ├── Scenes.meta
│ ├── Scenes
│ │ ├── HoloLens.meta
│ │ ├── HoloLens
│ │ │ ├── HoloLens demo.txt
│ │ │ └── HoloLens demo.txt.meta
│ │ ├── TextureConvert.meta
│ │ ├── TextureConvert
│ │ │ ├── Convert.png
│ │ │ ├── Convert.png.meta
│ │ │ ├── TextureConvert.cs
│ │ │ ├── TextureConvert.cs.meta
│ │ │ ├── TextureConvert.unity
│ │ │ └── TextureConvert.unity.meta
│ │ ├── UnityChatDemo_Android IOS PC.unity
│ │ ├── UnityChatDemo_Android IOS PC.unity.meta
│ │ ├── UnityChatDemo_PC_DeskMode.unity
│ │ ├── UnityChatDemo_PC_DeskMode.unity.meta
│ │ ├── UnityChatDemo_WebGL.unity
│ │ ├── UnityChatDemo_WebGL.unity.meta
│ │ ├── UnityChatDemo_WebGL_WSS.unity
│ │ ├── UnityChatDemo_WebGL_WSS.unity.meta
│ │ ├── UnityChatSDK_Live Broadcast.unity
│ │ ├── UnityChatSDK_Live Broadcast.unity.meta
│ │ ├── UnityChatSDK_RecordAudio.unity
│ │ ├── UnityChatSDK_RecordAudio.unity.meta
│ │ ├── UnityChatSDK_SpatialAudio.unity
│ │ ├── UnityChatSDK_SpatialAudio.unity.meta
│ │ ├── UnityDeskVideo.unity
│ │ └── UnityDeskVideo.unity.meta
│ ├── Scripts.meta
│ ├── Scripts
│ │ ├── Chat.meta
│ │ ├── Chat
│ │ │ ├── ChatDataHandler.cs
│ │ │ ├── ChatDataHandler.cs.meta
│ │ │ ├── ChatManager.cs
│ │ │ ├── ChatManager.cs.meta
│ │ │ ├── ChatTimer.cs
│ │ │ ├── ChatTimer.cs.meta
│ │ │ ├── ChatUIManager.cs
│ │ │ ├── ChatUIManager.cs.meta
│ │ │ ├── FriendItem.cs
│ │ │ ├── FriendItem.cs.meta
│ │ │ ├── MainUIManager.cs
│ │ │ ├── MainUIManager.cs.meta
│ │ │ ├── PeerVideoItem.cs
│ │ │ ├── PeerVideoItem.cs.meta
│ │ │ ├── SendChatMessageManager.cs
│ │ │ ├── SendChatMessageManager.cs.meta
│ │ │ ├── SetAspectRatio.cs
│ │ │ ├── SetAspectRatio.cs.meta
│ │ │ ├── UIDrag.cs
│ │ │ └── UIDrag.cs.meta
│ │ ├── Common.meta
│ │ ├── Common
│ │ │ ├── FPSDisplay.cs
│ │ │ ├── FPSDisplay.cs.meta
│ │ │ ├── MessageManager.cs
│ │ │ ├── MessageManager.cs.meta
│ │ │ ├── SoundManager.cs
│ │ │ └── SoundManager.cs.meta
│ │ ├── Desk.meta
│ │ ├── Desk
│ │ │ ├── DeskVideoModeDemo.cs
│ │ │ ├── DeskVideoModeDemo.cs.meta
│ │ │ ├── UDeskVideo.cs
│ │ │ └── UDeskVideo.cs.meta
│ │ ├── FriendItem.prefab
│ │ ├── FriendItem.prefab.meta
│ │ ├── Live.meta
│ │ ├── Live
│ │ │ ├── LiveManager.cs
│ │ │ └── LiveManager.cs.meta
│ │ ├── PeerImage.prefab
│ │ ├── PeerImage.prefab.meta
│ │ ├── RecordAudio.meta
│ │ ├── RecordAudio
│ │ │ ├── RecordAudio.cs
│ │ │ └── RecordAudio.cs.meta
│ │ ├── SpatialAudio.meta
│ │ └── SpatialAudio
│ │ │ ├── SetPeerSpatialAudioTest.cs
│ │ │ └── SetPeerSpatialAudioTest.cs.meta
│ ├── UI.meta
│ └── UI
│ │ ├── Audio.png
│ │ ├── Audio.png.meta
│ │ ├── Backspace.png
│ │ ├── Backspace.png.meta
│ │ ├── Black.png
│ │ ├── Black.png.meta
│ │ ├── Call1.png
│ │ ├── Call1.png.meta
│ │ ├── Call2.png
│ │ ├── Call2.png.meta
│ │ ├── Close.png
│ │ ├── Close.png.meta
│ │ ├── DropDown.png
│ │ ├── DropDown.png.meta
│ │ ├── Hang1.png
│ │ ├── Hang1.png.meta
│ │ ├── Hang2.png
│ │ ├── Hang2.png.meta
│ │ ├── Head.png
│ │ ├── Head.png.meta
│ │ ├── Rect.png
│ │ ├── Rect.png.meta
│ │ ├── Set.png
│ │ ├── Set.png.meta
│ │ ├── Video.png
│ │ ├── Video.png.meta
│ │ ├── icon.png
│ │ ├── icon.png.meta
│ │ ├── msg.png
│ │ ├── msg.png.meta
│ │ ├── pic.png
│ │ ├── pic.png.meta
│ │ ├── play.png
│ │ ├── play.png.meta
│ │ ├── record.png
│ │ ├── record.png.meta
│ │ ├── refresh.png
│ │ ├── refresh.png.meta
│ │ ├── voice.png
│ │ └── voice.png.meta
├── UnityChatSDK.meta
└── UnityChatSDK
│ ├── Document.meta
│ ├── Document
│ ├── VideoChatSDK.pdf
│ └── VideoChatSDK.pdf.meta
│ ├── Icons.meta
│ ├── Icons
│ ├── SplashScreen.png
│ ├── SplashScreen.png.meta
│ ├── SplashScreen.scale-200.png
│ ├── SplashScreen.scale-200.png.meta
│ ├── Square150x150Logo.scale-200.png
│ ├── Square150x150Logo.scale-200.png.meta
│ ├── Square44x44Logo.scale-200.png
│ ├── Square44x44Logo.scale-200.png.meta
│ ├── Square44x44Logo.targetsize-24_altform-unplated.png
│ ├── Square44x44Logo.targetsize-24_altform-unplated.png.meta
│ ├── StoreLogo.png
│ ├── StoreLogo.png.meta
│ ├── Wide310x150Logo.scale-200.png
│ └── Wide310x150Logo.scale-200.png.meta
│ ├── Plugins.meta
│ ├── Plugins
│ ├── Android.meta
│ ├── Android
│ │ ├── AndroidManifest.xml
│ │ └── AndroidManifest.xml.meta
│ ├── Device.meta
│ ├── Device
│ │ ├── ChatSDKDevice.cs
│ │ └── ChatSDKDevice.cs.meta
│ ├── TurboJpeg.meta
│ ├── TurboJpeg
│ │ ├── Android.meta
│ │ ├── Android
│ │ │ ├── arm64-v8a.meta
│ │ │ ├── arm64-v8a
│ │ │ │ ├── libturbojpeg.so
│ │ │ │ └── libturbojpeg.so.meta
│ │ │ ├── armeabi-v7a.meta
│ │ │ └── armeabi-v7a
│ │ │ │ ├── libturbojpeg.so
│ │ │ │ └── libturbojpeg.so.meta
│ │ ├── Linux.meta
│ │ ├── Linux
│ │ │ ├── libturbojpeg.so
│ │ │ └── libturbojpeg.so.meta
│ │ ├── Mac.meta
│ │ ├── Mac
│ │ │ ├── ReadMe_Mac.txt
│ │ │ ├── ReadMe_Mac.txt.meta
│ │ │ ├── turbojpeg.bundle.meta
│ │ │ └── turbojpeg.bundle
│ │ │ │ ├── Contents.meta
│ │ │ │ └── Contents
│ │ │ │ ├── MacOS.meta
│ │ │ │ └── MacOS
│ │ │ │ ├── turbojpeg
│ │ │ │ └── turbojpeg.meta
│ │ ├── UWP.meta
│ │ ├── UWP
│ │ │ ├── arm-uwp.meta
│ │ │ ├── arm-uwp
│ │ │ │ ├── turbojpeg.dll
│ │ │ │ └── turbojpeg.dll.meta
│ │ │ ├── arm64-uwp.meta
│ │ │ ├── arm64-uwp
│ │ │ │ ├── turbojpeg.dll
│ │ │ │ └── turbojpeg.dll.meta
│ │ │ ├── x86-uwp.meta
│ │ │ └── x86-uwp
│ │ │ │ ├── turbojpeg.dll
│ │ │ │ └── turbojpeg.dll.meta
│ │ ├── Windows.meta
│ │ ├── Windows
│ │ │ ├── x64.meta
│ │ │ ├── x64
│ │ │ │ ├── turbojpeg.dll
│ │ │ │ └── turbojpeg.dll.meta
│ │ │ ├── x86.meta
│ │ │ └── x86
│ │ │ │ ├── turbojpeg.dll
│ │ │ │ └── turbojpeg.dll.meta
│ │ ├── iOS.meta
│ │ └── iOS
│ │ │ ├── libturbojpeg.a
│ │ │ └── libturbojpeg.a.meta
│ ├── UChatDesk.dll
│ ├── UChatDesk.dll.meta
│ ├── UWP.meta
│ ├── UWP
│ │ ├── UnityChat.dll
│ │ └── UnityChat.dll.meta
│ ├── UnityChat.dll
│ ├── UnityChat.dll.meta
│ ├── UnityChatEditor.dll
│ ├── UnityChatEditor.dll.meta
│ ├── UnityChatSDK.dll
│ ├── UnityChatSDK.dll.meta
│ ├── WebGL.meta
│ ├── WebGL
│ │ ├── Plugins.meta
│ │ ├── Plugins
│ │ │ ├── WebGL.meta
│ │ │ └── WebGL
│ │ │ │ ├── Native.meta
│ │ │ │ ├── Native
│ │ │ │ ├── mic-worklet-processor.js
│ │ │ │ ├── mic-worklet-processor.js.meta
│ │ │ │ ├── microphone.js
│ │ │ │ ├── microphone.js.meta
│ │ │ │ ├── unity-webgl-tools.js
│ │ │ │ └── unity-webgl-tools.js.meta
│ │ │ │ ├── microphone-bridge.jslib
│ │ │ │ └── microphone-bridge.jslib.meta
│ │ ├── Scripts.meta
│ │ └── Scripts
│ │ │ ├── CustomMicrophone.cs
│ │ │ ├── CustomMicrophone.cs.meta
│ │ │ ├── Microphone.cs
│ │ │ ├── Microphone.cs.meta
│ │ │ ├── UnityChatSdkProxy.cs
│ │ │ └── UnityChatSdkProxy.cs.meta
│ ├── WebRtcProcess.dll
│ ├── WebRtcProcess.dll.meta
│ ├── iOS.meta
│ └── iOS
│ │ ├── ChatiOS.m
│ │ ├── ChatiOS.m.meta
│ │ ├── ChatiOSSet.h
│ │ ├── ChatiOSSet.h.meta
│ │ ├── UnityChat.dll
│ │ └── UnityChat.dll.meta
│ ├── Resources.meta
│ ├── Resources
│ ├── CamCalibrate.shader
│ ├── CamCalibrate.shader.meta
│ ├── DropDown.png
│ ├── DropDown.png.meta
│ ├── New Animation.anim
│ ├── New Animation.anim.meta
│ ├── New Animator Controller.controller
│ ├── New Animator Controller.controller.meta
│ ├── test.mat
│ └── test.mat.meta
│ ├── Scenes.meta
│ ├── Scenes
│ ├── UnityChatSDK_DataHandler.unity
│ └── UnityChatSDK_DataHandler.unity.meta
│ ├── Scripts.meta
│ └── Scripts
│ ├── Editor.meta
│ ├── Editor
│ ├── UnityChatBuild.cs
│ └── UnityChatBuild.cs.meta
│ ├── UnityChatDataHandler.cs
│ ├── UnityChatDataHandler.cs.meta
│ ├── UnityChatSet.cs
│ ├── UnityChatSet.cs.meta
│ ├── VideoTexure.cs
│ └── VideoTexure.cs.meta
├── DemoServer.zip
├── LICENSE
├── Packages
├── manifest.json
└── packages-lock.json
├── ProjectSettings
├── AudioManager.asset
├── ClusterInputManager.asset
├── DynamicsManager.asset
├── EditorBuildSettings.asset
├── EditorSettings.asset
├── GraphicsSettings.asset
├── InputManager.asset
├── NavMeshAreas.asset
├── NetworkManager.asset
├── PackageManagerSettings.asset
├── Physics2DSettings.asset
├── PresetManager.asset
├── ProjectSettings.asset
├── ProjectVersion.txt
├── QualitySettings.asset
├── TagManager.asset
├── TimeManager.asset
├── UnityConnectSettings.asset
├── VFXManager.asset
└── XRSettings.asset
├── README.md
├── README.zh.md
├── Readme
├── Images
│ ├── SDK
│ │ ├── Logo_title.png
│ │ ├── pay.gif
│ │ └── pay.zh.png
│ └── Screenshoots
│ │ ├── 01.jpg
│ │ ├── 02.jpg
│ │ ├── 03.jpg
│ │ ├── 04.jpg
│ │ ├── 05.jpg
│ │ └── 06.jpg
├── ReadMe.txt
└── VideoChatSDK.pdf
└── VersionUpdates.md
/Assets/UnityChatDemo(Can be deleted).meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c00901f743122ef439c1b1989bf49029
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ce82725679fc0d445ababb223c80da3d
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1e1c3f0c8c7088743bc15a6e5089b8ba
3 | folderAsset: yes
4 | timeCreated: 1524478566
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/ChatNetWork.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/ChatNetWork.dll
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/ChatNetWork.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1ba81e8cb78fd3942bee81e57c9c3367
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 1
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | - first:
26 | Windows Store Apps: WindowsStoreApps
27 | second:
28 | enabled: 0
29 | settings:
30 | CPU: AnyCPU
31 | userData:
32 | assetBundleName:
33 | assetBundleVariant:
34 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3fe1ade22e3383844b89bba71a65f908
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Plugins.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6af830b34fd05a64fb6da274be10872a
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Plugins/WebGL.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f0274d2733308724087adb2e8876b46c
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Plugins/WebGL/WebSocket.jslib.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b4991cf5ceba2ab4c87b59fdc39e96a7
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 0
20 | Exclude Editor: 0
21 | Exclude Linux64: 0
22 | Exclude OSXUniversal: 0
23 | Exclude WebGL: 0
24 | Exclude Win: 0
25 | Exclude Win64: 0
26 | Exclude WindowsStoreApps: 0
27 | Exclude iOS: 0
28 | - first:
29 | Android: Android
30 | second:
31 | enabled: 1
32 | settings:
33 | CPU: ARMv7
34 | - first:
35 | Any:
36 | second:
37 | enabled: 1
38 | settings: {}
39 | - first:
40 | Editor: Editor
41 | second:
42 | enabled: 1
43 | settings:
44 | CPU: AnyCPU
45 | DefaultValueInitialized: true
46 | OS: AnyOS
47 | - first:
48 | Standalone: Linux64
49 | second:
50 | enabled: 1
51 | settings:
52 | CPU: AnyCPU
53 | - first:
54 | Standalone: OSXUniversal
55 | second:
56 | enabled: 1
57 | settings:
58 | CPU: x86_64
59 | - first:
60 | Standalone: Win
61 | second:
62 | enabled: 1
63 | settings:
64 | CPU: x86
65 | - first:
66 | Standalone: Win64
67 | second:
68 | enabled: 1
69 | settings:
70 | CPU: x86_64
71 | - first:
72 | WebGL: WebGL
73 | second:
74 | enabled: 1
75 | settings: {}
76 | - first:
77 | Windows Store Apps: WindowsStoreApps
78 | second:
79 | enabled: 1
80 | settings:
81 | CPU: AnyCPU
82 | DontProcess: false
83 | PlaceholderPath:
84 | SDK: AnySDK
85 | ScriptingBackend: AnyScriptingBackend
86 | - first:
87 | iPhone: iOS
88 | second:
89 | enabled: 1
90 | settings:
91 | AddToEmbeddedBinaries: false
92 | CPU: AnyCPU
93 | CompileFlags:
94 | FrameworkDependencies:
95 | userData:
96 | assetBundleName:
97 | assetBundleVariant:
98 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 71d64ed511b7b5443b789c36bf65172c
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Editor.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 31714b5239abb9e46a6439191c3d3e34
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Editor/SettingsWindow.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 076b3d6ccc2e44a4195f862eff136b35
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Editor/UnityWebSocket.Editor.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "UnityWebSocket.Editor",
3 | "references": [
4 | "UnityWebSocket.Runtime"
5 | ],
6 | "optionalUnityReferences": [],
7 | "includePlatforms": [
8 | "Editor"
9 | ],
10 | "excludePlatforms": [],
11 | "allowUnsafeCode": false,
12 | "overrideReferences": false,
13 | "precompiledReferences": [],
14 | "autoReferenced": true,
15 | "defineConstraints": []
16 | }
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Editor/UnityWebSocket.Editor.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6107039ceed390e49a6d86e3a0996206
3 | AssemblyDefinitionImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 72151303ec2478d44b8bd7c9b5e76b05
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5cd41c2a3bd23e643bc6547104de7fea
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/CloseEventArgs.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace UnityWebSocket
4 | {
5 | ///
6 | /// Represents the event data for the event.
7 | ///
8 | ///
9 | ///
10 | /// That event occurs when the WebSocket connection has been closed.
11 | ///
12 | ///
13 | /// If you would like to get the reason for the close, you should access
14 | /// the or property.
15 | ///
16 | ///
17 | public class CloseEventArgs : EventArgs
18 | {
19 | #region Internal Constructors
20 |
21 | internal CloseEventArgs()
22 | {
23 | }
24 |
25 | internal CloseEventArgs(ushort code)
26 | : this(code, null)
27 | {
28 | }
29 |
30 | internal CloseEventArgs(CloseStatusCode code)
31 | : this((ushort)code, null)
32 | {
33 | }
34 |
35 | internal CloseEventArgs(CloseStatusCode code, string reason)
36 | : this((ushort)code, reason)
37 | {
38 | }
39 |
40 | internal CloseEventArgs(ushort code, string reason)
41 | {
42 | Code = code;
43 | Reason = reason;
44 | }
45 |
46 | #endregion
47 |
48 | #region Public Properties
49 |
50 | ///
51 | /// Gets the status code for the close.
52 | ///
53 | ///
54 | /// A that represents the status code for the close if any.
55 | ///
56 | public ushort Code { get; private set; }
57 |
58 | ///
59 | /// Gets the reason for the close.
60 | ///
61 | ///
62 | /// A that represents the reason for the close if any.
63 | ///
64 | public string Reason { get; private set; }
65 |
66 | ///
67 | /// Gets a value indicating whether the connection has been closed cleanly.
68 | ///
69 | ///
70 | /// true if the connection has been closed cleanly; otherwise, false.
71 | ///
72 | public bool WasClean { get; internal set; }
73 |
74 | ///
75 | /// Enum value same as Code
76 | ///
77 | public CloseStatusCode StatusCode
78 | {
79 | get
80 | {
81 | if (Enum.IsDefined(typeof(CloseStatusCode), Code))
82 | return (CloseStatusCode)Code;
83 | return CloseStatusCode.Unknown;
84 | }
85 | }
86 |
87 | #endregion
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/CloseEventArgs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9f449740e2196654ab604a317f8d015c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/CloseStatusCode.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7a0a8b69515f4734ebf84e01c2a9661d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/ErrorEventArgs.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace UnityWebSocket
4 | {
5 | ///
6 | /// Represents the event data for the event.
7 | ///
8 | ///
9 | ///
10 | /// That event occurs when the gets an error.
11 | ///
12 | ///
13 | /// If you would like to get the error message, you should access
14 | /// the property.
15 | ///
16 | ///
17 | /// And if the error is due to an exception, you can get it by accessing
18 | /// the property.
19 | ///
20 | ///
21 | public class ErrorEventArgs : EventArgs
22 | {
23 | #region Internal Constructors
24 |
25 | internal ErrorEventArgs(string message)
26 | : this(message, null)
27 | {
28 | }
29 |
30 | internal ErrorEventArgs(string message, Exception exception)
31 | {
32 | this.Message = message;
33 | this.Exception = exception;
34 | }
35 |
36 | #endregion
37 |
38 | #region Public Properties
39 |
40 | ///
41 | /// Gets the exception that caused the error.
42 | ///
43 | ///
44 | /// An instance that represents the cause of
45 | /// the error if it is due to an exception; otherwise, .
46 | ///
47 | public Exception Exception { get; private set; }
48 |
49 | ///
50 | /// Gets the error message.
51 | ///
52 | ///
53 | /// A that represents the error message.
54 | ///
55 | public string Message { get; private set; }
56 |
57 | #endregion
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/ErrorEventArgs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7050eb4471b26ac4192dfd7cc06aaa32
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/IWebSocket.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eb91d3def533cb748adea40021c1d5c8
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/MessageEventArgs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4645ad555b0448b4e89d06269af35e90
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/Opcode.cs:
--------------------------------------------------------------------------------
1 | namespace UnityWebSocket
2 | {
3 | ///
4 | /// Indicates the WebSocket frame type.
5 | ///
6 | ///
7 | /// The values of this enumeration are defined in
8 | ///
9 | /// Section 5.2 of RFC 6455.
10 | ///
11 | public enum Opcode : byte
12 | {
13 | ///
14 | /// Equivalent to numeric value 1. Indicates text frame.
15 | ///
16 | Text = 0x1,
17 | ///
18 | /// Equivalent to numeric value 2. Indicates binary frame.
19 | ///
20 | Binary = 0x2,
21 | ///
22 | /// Equivalent to numeric value 8. Indicates connection close frame.
23 | ///
24 | Close = 0x8,
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/Opcode.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 07852854994bc7740b0558c0ce8de958
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/OpenEventArgs.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace UnityWebSocket
4 | {
5 | public class OpenEventArgs : EventArgs
6 | {
7 | internal OpenEventArgs()
8 | {
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/OpenEventArgs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 43d3f032ae6daa34a98bfe3ad226928a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/Settings.cs:
--------------------------------------------------------------------------------
1 | namespace UnityWebSocket
2 | {
3 | public static class Settings
4 | {
5 | public const string GITHUB = "https://github.com/psygames/UnityWebSocket";
6 | public const string QQ_GROUP = "1126457634";
7 | public const string QQ_GROUP_LINK = "https://qm.qq.com/cgi-bin/qm/qr?k=KcexYJ9aYwogFXbj2aN0XHH5b2G7ICmd";
8 | public const string EMAIL = "799329256@qq.com";
9 | public const string AUHTOR = "psygames";
10 | public const string VERSION = "2.6.4";
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/Settings.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0f542eb67f6d7b44fa830a12038edea9
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/WebSocketState.cs:
--------------------------------------------------------------------------------
1 | namespace UnityWebSocket
2 | {
3 | ///
4 | /// Reference html5 WebSocket ReadyState Properties
5 | /// Indicates the state of a WebSocket connection.
6 | ///
7 | ///
8 | /// The values of this enumeration are defined in
9 | ///
10 | /// The WebSocket API.
11 | ///
12 | public enum WebSocketState : ushort
13 | {
14 | ///
15 | /// Equivalent to numeric value 0. Indicates that the connection has not
16 | /// yet been established.
17 | ///
18 | Connecting = 0,
19 | ///
20 | /// Equivalent to numeric value 1. Indicates that the connection has
21 | /// been established, and the communication is possible.
22 | ///
23 | Open = 1,
24 | ///
25 | /// Equivalent to numeric value 2. Indicates that the connection is
26 | /// going through the closing handshake, or the close method has
27 | /// been invoked.
28 | ///
29 | Closing = 2,
30 | ///
31 | /// Equivalent to numeric value 3. Indicates that the connection has
32 | /// been closed or could not be established.
33 | ///
34 | Closed = 3
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Core/WebSocketState.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6183f74bc40ce0048be0c971604f245c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Implementation.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bff0026cc07881e4f80f6e98142ed1b6
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Implementation/NoWebGL.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fbd832fc3679e3f4c8efbfd4f38b767d
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Implementation/NoWebGL/WebSocket.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 849d512d3802a884690b2679468002f5
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Implementation/NoWebGL/WebSocketManager.cs:
--------------------------------------------------------------------------------
1 | #if !NET_LEGACY && (UNITY_EDITOR || !UNITY_WEBGL) && !UNITY_WEB_SOCKET_ENABLE_ASYNC
2 | using System.Collections.Generic;
3 | using UnityEngine;
4 |
5 | namespace UnityWebSocket
6 | {
7 | [DefaultExecutionOrder(-10000)]
8 | internal class WebSocketManager : MonoBehaviour
9 | {
10 | private const string rootName = "[UnityWebSocket]";
11 | private static WebSocketManager _instance;
12 | public static WebSocketManager Instance
13 | {
14 | get
15 | {
16 | if (!_instance) CreateInstance();
17 | return _instance;
18 | }
19 | }
20 |
21 | private void Awake()
22 | {
23 | DontDestroyOnLoad(gameObject);
24 | }
25 |
26 | public static void CreateInstance()
27 | {
28 | GameObject go = GameObject.Find("/" + rootName);
29 | if (!go) go = new GameObject(rootName);
30 | _instance = go.GetComponent();
31 | if (!_instance) _instance = go.AddComponent();
32 | }
33 |
34 | private readonly List sockets = new List();
35 |
36 | public void Add(WebSocket socket)
37 | {
38 | if (!sockets.Contains(socket))
39 | sockets.Add(socket);
40 | }
41 |
42 | public void Remove(WebSocket socket)
43 | {
44 | if (sockets.Contains(socket))
45 | sockets.Remove(socket);
46 | }
47 |
48 | private void Update()
49 | {
50 | if (sockets.Count <= 0) return;
51 | for (int i = sockets.Count - 1; i >= 0; i--)
52 | {
53 | sockets[i].Update();
54 | }
55 | }
56 | }
57 | }
58 | #endif
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Implementation/NoWebGL/WebSocketManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1eecf43570c82fe48b71475d60faf85d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Implementation/WebGL.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4d2f1946b1964164692ca32332305436
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Implementation/WebGL/WebSocket.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e611cd696a4c81844b3a8ab836fda099
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/Implementation/WebGL/WebSocketManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5958d55f2d069d4459a249c01119b27c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/UnityWebSocket.Runtime.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "UnityWebSocket.Runtime",
3 | "references": [],
4 | "optionalUnityReferences": [],
5 | "includePlatforms": [],
6 | "excludePlatforms": [],
7 | "allowUnsafeCode": false,
8 | "overrideReferences": false,
9 | "precompiledReferences": [],
10 | "autoReferenced": true,
11 | "defineConstraints": []
12 | }
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/UnityWebSocket/Scripts/Runtime/UnityWebSocket.Runtime.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9da94ccbe4495894490438fceeb908de
3 | AssemblyDefinitionImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/Uwp.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ee9dbd0c128d78448bc7c1a02b71adbe
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/Uwp/ChatNetworkUwp.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/Uwp/ChatNetworkUwp.dll
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Plugins/Uwp/ChatNetworkUwp.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2ab7e524a2912e24297a201501325026
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 1
20 | Exclude Editor: 1
21 | Exclude Linux64: 1
22 | Exclude OSXUniversal: 1
23 | Exclude Win: 1
24 | Exclude Win64: 1
25 | Exclude WindowsStoreApps: 0
26 | Exclude iOS: 1
27 | - first:
28 | Android: Android
29 | second:
30 | enabled: 0
31 | settings:
32 | CPU: ARMv7
33 | - first:
34 | Any:
35 | second:
36 | enabled: 0
37 | settings: {}
38 | - first:
39 | Editor: Editor
40 | second:
41 | enabled: 0
42 | settings:
43 | CPU: AnyCPU
44 | DefaultValueInitialized: true
45 | OS: AnyOS
46 | - first:
47 | Standalone: Linux64
48 | second:
49 | enabled: 0
50 | settings:
51 | CPU: None
52 | - first:
53 | Standalone: OSXUniversal
54 | second:
55 | enabled: 0
56 | settings:
57 | CPU: None
58 | - first:
59 | Standalone: Win
60 | second:
61 | enabled: 0
62 | settings:
63 | CPU: None
64 | - first:
65 | Standalone: Win64
66 | second:
67 | enabled: 0
68 | settings:
69 | CPU: None
70 | - first:
71 | Windows Store Apps: WindowsStoreApps
72 | second:
73 | enabled: 1
74 | settings:
75 | CPU: AnyCPU
76 | DontProcess: false
77 | PlaceholderPath:
78 | SDK: AnySDK
79 | ScriptingBackend: AnyScriptingBackend
80 | - first:
81 | iPhone: iOS
82 | second:
83 | enabled: 0
84 | settings:
85 | AddToEmbeddedBinaries: false
86 | CPU: AnyCPU
87 | CompileFlags:
88 | FrameworkDependencies:
89 | userData:
90 | assetBundleName:
91 | assetBundleVariant:
92 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 24c3a22ec35cee14ba903012163bce6f
3 | folderAsset: yes
4 | timeCreated: 1528265880
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/ChatNetworkManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 41cd856530fb36644aafef5bcf2cb2fd
3 | timeCreated: 1528941347
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 592cd6b89e2e6b841a2d364251ee142d
3 | folderAsset: yes
4 | timeCreated: 1524465011
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler/IHandler.cs:
--------------------------------------------------------------------------------
1 |
2 | using ChatProtocol;
3 | using System;
4 |
5 |
6 |
7 | interface IHandler
8 | {
9 | void MessageReceive(DataModel model);
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler/IHandler.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 169fdb1ecba69984d97906722f2e6d40
3 | timeCreated: 1524043291
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler/IMHandler.cs:
--------------------------------------------------------------------------------
1 | using ChatProto;
2 | using ChatProtocol;
3 | using System;
4 | using UnityEngine;
5 |
6 | ///
7 | /// chat data handler
8 | ///
9 | public class IMHandler : MonoBehaviour, IHandler
10 | {
11 | public void MessageReceive(DataModel model)
12 | {
13 | switch (model.Request)
14 | {
15 | case IMProtocol.IM_NONE:
16 | break;
17 | case IMProtocol.IM_CALL:
18 | OnCall(model);
19 | break;
20 | case IMProtocol.IM_ACCEPT:
21 | OnAccpet(model);
22 | break;
23 | case IMProtocol.IM_HANG:
24 | OnHang(model);
25 | break;
26 | default:
27 | break;
28 | }
29 | }
30 | void OnCall(DataModel model)
31 | {
32 | IMInfo info = IMInfo.Parser.ParseFrom(model.Message);
33 | print("receive call:" + info.UserID);
34 | ChatManager.Instance.OnCall(info);
35 | }
36 | void OnAccpet(DataModel model)
37 | {
38 | IMInfo info = IMInfo.Parser.ParseFrom(model.Message);
39 | print("receive accept:" + info.UserID);
40 | ChatManager.Instance.OnAccpet(info);
41 | }
42 | void OnHang(DataModel model)
43 | {
44 | IMInfo info = IMInfo.Parser.ParseFrom(model.Message);
45 | print("receive hang:" + info.UserID);
46 | ChatManager.Instance.OnHang(info);
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler/IMHandler.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a7fc8e9dcf250604fa8cd0fd483d7b9c
3 | timeCreated: 1531374651
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler/MessageHandler.cs:
--------------------------------------------------------------------------------
1 | using ChatProto;
2 | using ChatProtocol;
3 | using System;
4 | using UnityEngine;
5 |
6 | ///
7 | /// chat send message handler
8 | ///
9 | public class MessageHandler : MonoBehaviour, IHandler
10 | {
11 | public void MessageReceive(DataModel model)
12 | {
13 | switch (model.Request)
14 | {
15 | case SendMessageProtocol.MESSAGE_SEND_ALL:
16 | case SendMessageProtocol.MESSAGE_SEND_OTHER:
17 | case SendMessageProtocol.MESSAGE_SEND_SOME:
18 | MessageInfo message = MessageInfo.Parser.ParseFrom(model.Message);
19 | SendChatMessageManager.Instance?.OnMessage(message);
20 | break;
21 | default:
22 | break;
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler/MessageHandler.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ce61291dc3cb5994f85338d09c42c3cc
3 | timeCreated: 1531374651
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler/MySqlHandler.cs:
--------------------------------------------------------------------------------
1 | using ChatProto;
2 | using ChatProtocol;
3 | using System;
4 | using System.Collections;
5 | using System.Collections.Generic;
6 | using UnityEngine;
7 |
8 | ///
9 | /// chat mysql handler
10 | ///
11 | public class MySqlHandler : MonoBehaviour, IHandler
12 | {
13 | public void MessageReceive(DataModel model)
14 | {
15 | switch (model.Request)
16 | {
17 | case MySqlDataProtocol.MYSQL_NONE:
18 | break;
19 | case MySqlDataProtocol.MYSQL_LOGIN:
20 | OnLogin(model);
21 | break;
22 | case MySqlDataProtocol.MYSQL_ONLINEUSER:
23 | OnGetOnlineUser(model);
24 | break;
25 | default:
26 | break;
27 | }
28 | }
29 | private void OnLogin(DataModel model)
30 | {
31 | if (model.Message.Length == 4)
32 | {
33 | ResultCode result = (ResultCode)(BitConverter.ToInt32(model.Message, 0));
34 | print("Login result:" + result.ToString());
35 | MessageManager.Instance.ShowMessage("login result:" + result);
36 | }
37 | else
38 | {
39 | UserInfo info = UserInfo.Parser.ParseFrom(model.Message);
40 | MainUIManager.Instance.UserInfo = info;
41 | ChatManager.Instance.UserID = info.UserID;
42 | ChatManager.Instance.UserName = info.UserName;
43 | print("UserID:" + ChatManager.Instance.UserID + ",UserName:" + ChatManager.Instance.UserName);
44 | }
45 | }
46 |
47 | private void OnGetOnlineUser(DataModel model)
48 | {
49 | OnlineUserInfo list = OnlineUserInfo.Parser.ParseFrom(model.Message);
50 | print("online userList count:" + list.UserList.Count);
51 | ChatManager.Instance.OnlineUserList.Clear();
52 | ChatManager.Instance.OnlineUserList.AddRange(list.UserList);
53 | ChatManager.Instance.OnlineUserChanged();
54 | MainUIManager.Instance.UpdateUserList();
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler/MySqlHandler.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ed14c35f81ee47b4fb47ba250861cf79
3 | timeCreated: 1531374651
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler/NetDataHanlerCenter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d289a4bad28e7a64691e2305de83e9dd
3 | timeCreated: 1524042814
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler/VideoDataHandler.cs:
--------------------------------------------------------------------------------
1 | using ChatProto;
2 | using ChatProtocol;
3 | using System;
4 | using UnityEngine;
5 |
6 | ///
7 | /// chat data handler
8 | ///
9 | public class VideoDataHandler : MonoBehaviour, IHandler
10 | {
11 | public void MessageReceive(DataModel model)
12 | {
13 | switch (model.Request)
14 | {
15 | case ChatDataProtocol.CHAT_NONE:
16 | break;
17 | case ChatDataProtocol.CHAT_AUDIO:
18 | OnReceiveAudio(model);
19 | break;
20 | case ChatDataProtocol.CHAT_VIDEO:
21 | OnReceiveVideo(model);
22 | break;
23 | default:
24 | break;
25 | }
26 | }
27 | void OnReceiveAudio(DataModel model)
28 | {
29 | ChatDataHandler.Instance.ReceiveAudio(model.Message);
30 | }
31 | void OnReceiveVideo(DataModel model)
32 | {
33 | ChatDataHandler.Instance.ReceiveVideo(model.Message);
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/DataHandler/VideoDataHandler.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 370681c865a6886469ffa9a2a415fed7
3 | timeCreated: 1531374651
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/NetConfig.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using UnityEngine;
5 | using UnityEngine.UI;
6 |
7 |
8 | ///
9 | /// Network type, you can customize TCP, UDP, P2P, Webrct, Unet, Photon... The case demo uses UDP
10 | ///
11 | public enum NetType { TcpStream, UdpStream, WebSocket };// UdpP2P
12 | ///
13 | /// Server ip configuration
14 | ///
15 | public class NetConfig : MonoBehaviour {
16 |
17 | public static NetConfig Instance;
18 |
19 | public NetType NetType;
20 | //Server ip and port
21 | public string ServerIP;
22 | public int TcpPort = 6650;
23 | public int UdpPort=6680;
24 | public int WsPort=6660;
25 | public bool isSecure;
26 | public string DomainName= "xxx.com";
27 | public string WsAddress
28 | {
29 | get
30 | {
31 | if (isSecure)
32 | {
33 | return string.Format("wss://{0}:{1}/default", DomainName, WsPort);
34 | }
35 | else
36 | {
37 | return string.Format("ws://{0}:{1}/default", ServerIP, WsPort);
38 | }
39 | }
40 | }
41 |
42 |
43 | public GameObject NetPanl;
44 | public InputField ServerIPInputField;
45 |
46 | public string IpKey = "IpKey";
47 | private void Awake()
48 | {
49 | Instance=this;
50 | if (PlayerPrefs.HasKey(IpKey))
51 | {
52 | ServerIP = PlayerPrefs.GetString(IpKey);
53 | print("PlayerPrefs get ip:" + ServerIP);
54 | }
55 | }
56 | void Start ()
57 | {
58 | ServerIPInputField.text = ServerIP;
59 | ChatNetworkManager.Instance.OnConnectResultAction += OnConnect;
60 | Connect();
61 | }
62 |
63 | private void OnConnect(bool result)
64 | {
65 | if (result)
66 | {
67 | PlayerPrefs.SetString(IpKey, ServerIP);
68 | PlayerPrefs.Save();
69 | }
70 | }
71 |
72 | public void Connect()
73 | {
74 | ServerIP = ServerIPInputField.text;
75 | ChatNetworkManager.Instance.ConnectServer();
76 | }
77 | }
78 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/NetConfig.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 181ad11e12e9de04f94b05a39e6aa4fb
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/Tools.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6b5d379e8e9806e498118399b7b00a05
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/Tools/UdpPacket.cs:
--------------------------------------------------------------------------------
1 | public class UdpPacket
2 | {
3 | public long Sequence;
4 | public int Total;
5 | public int Index;
6 | public int ChunkLength;
7 | public byte[] Chunk;
8 | public UdpPacket()
9 | {
10 |
11 | }
12 | public UdpPacket(long sequence, int total, int index, int chunkLength, byte[] chunk)
13 | {
14 | Sequence = sequence;
15 | Total = total;
16 | Index = index;
17 | ChunkLength = chunkLength;
18 | Chunk = chunk;
19 | }
20 | }
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/Tools/UdpPacket.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 162f1fccf4e1259458ac48dcf2fdb1c4
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/Tools/UdpPacketSpliter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using UnityEngine;
5 |
6 | public class UdpPacketSpliter : MonoBehaviour {
7 |
8 | ///
9 | /// Split UDP packets
10 | ///
11 | /// Sequence number of UDP packet
12 | /// Splited UDP packet
13 | /// The length of the chunk
14 | ///
15 | /// List of splited UDP packets
16 | ///
17 | public static List Split(long sequence, byte[] data, int chunkLength)
18 | {
19 | if (data == null)Debug.LogError("data is null!");
20 |
21 | List packets = new List();
22 |
23 | if (data.Length <= chunkLength)
24 | {
25 | packets.Add(new UdpPacket(sequence, 1, 0, chunkLength, data));
26 | }
27 | else
28 | {
29 | int chunks = data.Length / chunkLength;
30 | int remainder = data.Length % chunkLength;
31 | int total = chunks;
32 | if (remainder > 0) total++;
33 |
34 | for (int i = 0; i < chunks; i++)
35 | {
36 | byte[] chunk = new byte[chunkLength];
37 | Buffer.BlockCopy(data, i * chunkLength, chunk, 0, chunkLength);
38 | packets.Add(new UdpPacket(sequence, total, i, chunkLength, chunk));
39 | }
40 | if (remainder > 0)
41 | {
42 | int length = data.Length - (chunkLength * chunks);
43 | byte[] chunk = new byte[length];
44 | Buffer.BlockCopy(data, chunkLength * chunks, chunk, 0, length);
45 | packets.Add(new UdpPacket(sequence, total, chunks, chunkLength, chunk));
46 | }
47 | }
48 | return packets;
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/Tools/UdpPacketSpliter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9082424219b990f448e759bcac10dad2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/UdpSocketManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 80eb8e0300db5c2418c87e85f6fdaf9b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/ChatNetWork/Scripts/WebSocketNetwork.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b4b7f113ae0fdcb478ed72c97ce061c1
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Protocol.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 79e9d8a08a363c542b226d07254ef1c1
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Protocol/ChatProto.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/Protocol/ChatProto.dll
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Protocol/ChatProto.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b9e5770f94c615d4480833dcf6a19dc2
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 1
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | - first:
26 | Windows Store Apps: WindowsStoreApps
27 | second:
28 | enabled: 0
29 | settings:
30 | CPU: AnyCPU
31 | userData:
32 | assetBundleName:
33 | assetBundleVariant:
34 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Protocol/Google.Protobuf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/Protocol/Google.Protobuf.dll
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Protocol/Google.Protobuf.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a116acd46cff69e40a33908a28f86c3c
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 0
20 | Exclude Editor: 0
21 | Exclude Linux: 0
22 | Exclude Linux64: 0
23 | Exclude LinuxUniversal: 0
24 | Exclude OSXUniversal: 0
25 | Exclude WebGL: 0
26 | Exclude Win: 0
27 | Exclude Win64: 0
28 | Exclude WindowsStoreApps: 0
29 | Exclude iOS: 0
30 | - first:
31 | Android: Android
32 | second:
33 | enabled: 1
34 | settings:
35 | CPU: ARMv7
36 | - first:
37 | Any:
38 | second:
39 | enabled: 1
40 | settings: {}
41 | - first:
42 | Editor: Editor
43 | second:
44 | enabled: 1
45 | settings:
46 | CPU: AnyCPU
47 | DefaultValueInitialized: true
48 | OS: AnyOS
49 | - first:
50 | Facebook: Win
51 | second:
52 | enabled: 0
53 | settings:
54 | CPU: AnyCPU
55 | - first:
56 | Facebook: Win64
57 | second:
58 | enabled: 0
59 | settings:
60 | CPU: AnyCPU
61 | - first:
62 | Standalone: Linux
63 | second:
64 | enabled: 1
65 | settings:
66 | CPU: x86
67 | - first:
68 | Standalone: Linux64
69 | second:
70 | enabled: 1
71 | settings:
72 | CPU: AnyCPU
73 | - first:
74 | Standalone: LinuxUniversal
75 | second:
76 | enabled: 1
77 | settings: {}
78 | - first:
79 | Standalone: OSXUniversal
80 | second:
81 | enabled: 1
82 | settings:
83 | CPU: AnyCPU
84 | - first:
85 | Standalone: Win
86 | second:
87 | enabled: 1
88 | settings:
89 | CPU: AnyCPU
90 | - first:
91 | Standalone: Win64
92 | second:
93 | enabled: 1
94 | settings:
95 | CPU: AnyCPU
96 | - first:
97 | WebGL: WebGL
98 | second:
99 | enabled: 1
100 | settings: {}
101 | - first:
102 | Windows Store Apps: WindowsStoreApps
103 | second:
104 | enabled: 1
105 | settings:
106 | CPU: AnyCPU
107 | DontProcess: true
108 | PlaceholderPath:
109 | SDK: UWP
110 | ScriptingBackend: AnyScriptingBackend
111 | - first:
112 | iPhone: iOS
113 | second:
114 | enabled: 1
115 | settings:
116 | AddToEmbeddedBinaries: false
117 | CompileFlags:
118 | FrameworkDependencies:
119 | userData:
120 | assetBundleName:
121 | assetBundleVariant:
122 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Res.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ae1f37c63ef7dde4ca8cd71b7cd7614e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Res/pic0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/Res/pic0.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Res/pic1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/Res/pic1.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Res/pic2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/Res/pic2.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3eaf9ff91fbfcf646833c0d63ab9cf45
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 13cfcc4756e53cb49a18af72f24410ec
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Call.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Call.wav
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Call.wav.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 59fe770d45a236147a8985cc8978d39a
3 | AudioImporter:
4 | externalObjects: {}
5 | serializedVersion: 6
6 | defaultSettings:
7 | loadType: 0
8 | sampleRateSetting: 0
9 | sampleRateOverride: 44100
10 | compressionFormat: 1
11 | quality: 1
12 | conversionMode: 0
13 | platformSettingOverrides: {}
14 | forceToMono: 0
15 | normalize: 1
16 | preloadAudioData: 1
17 | loadInBackground: 0
18 | ambisonic: 0
19 | 3D: 1
20 | userData:
21 | assetBundleName:
22 | assetBundleVariant:
23 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Click1.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Click1.wav
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Click1.wav.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b4a0c99eb535c0e42ac243b9d8b52398
3 | AudioImporter:
4 | externalObjects: {}
5 | serializedVersion: 6
6 | defaultSettings:
7 | loadType: 0
8 | sampleRateSetting: 0
9 | sampleRateOverride: 44100
10 | compressionFormat: 1
11 | quality: 1
12 | conversionMode: 0
13 | platformSettingOverrides: {}
14 | forceToMono: 0
15 | normalize: 1
16 | preloadAudioData: 1
17 | loadInBackground: 0
18 | ambisonic: 0
19 | 3D: 1
20 | userData:
21 | assetBundleName:
22 | assetBundleVariant:
23 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Click2.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Click2.wav
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Click2.wav.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e918fa25185d05a4b81a3cb6f779ec50
3 | AudioImporter:
4 | externalObjects: {}
5 | serializedVersion: 6
6 | defaultSettings:
7 | loadType: 0
8 | sampleRateSetting: 0
9 | sampleRateOverride: 44100
10 | compressionFormat: 1
11 | quality: 1
12 | conversionMode: 0
13 | platformSettingOverrides: {}
14 | forceToMono: 0
15 | normalize: 1
16 | preloadAudioData: 1
17 | loadInBackground: 0
18 | ambisonic: 0
19 | 3D: 1
20 | userData:
21 | assetBundleName:
22 | assetBundleVariant:
23 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Hang.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Hang.wav
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/Hang.wav.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 773e98f1d60cf104a840873ee2e60203
3 | AudioImporter:
4 | externalObjects: {}
5 | serializedVersion: 6
6 | defaultSettings:
7 | loadType: 0
8 | sampleRateSetting: 0
9 | sampleRateOverride: 44100
10 | compressionFormat: 1
11 | quality: 1
12 | conversionMode: 0
13 | platformSettingOverrides: {}
14 | forceToMono: 0
15 | normalize: 1
16 | preloadAudioData: 1
17 | loadInBackground: 0
18 | ambisonic: 0
19 | 3D: 1
20 | userData:
21 | assetBundleName:
22 | assetBundleVariant:
23 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/message.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/message.wav
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Resources/Sounds/message.wav.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: acb31e673c32c3043916f21ac8f3d7d5
3 | AudioImporter:
4 | externalObjects: {}
5 | serializedVersion: 6
6 | defaultSettings:
7 | loadType: 0
8 | sampleRateSetting: 0
9 | sampleRateOverride: 44100
10 | compressionFormat: 1
11 | quality: 1
12 | conversionMode: 0
13 | platformSettingOverrides: {}
14 | forceToMono: 0
15 | normalize: 1
16 | preloadAudioData: 1
17 | loadInBackground: 0
18 | ambisonic: 0
19 | 3D: 1
20 | userData:
21 | assetBundleName:
22 | assetBundleVariant:
23 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4f704ae4b4f98ae41a0bce26658850c1
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/HoloLens.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bf1b15370bd408747bc7a08c5e633ae8
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/HoloLens/HoloLens demo.txt:
--------------------------------------------------------------------------------
1 | https://github.com/ShanguUncle/UnityChatHololens
2 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/HoloLens/HoloLens demo.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | <<<<<<< HEAD:Assets/UnityChatDemo(Can be deleted)/Scenes/UnityChatDemo_HoloCapture1&2 can only be tested on hololens device.txt.meta
3 | guid: 2c39e76aafeb3ec438d0bc5804ae06ba
4 | =======
5 | guid: 0989303b2d7369e46a2844e4c762f910
6 | >>>>>>> 6557038eb05522d604d5fb4ee9525d6158626fc2:Assets/UnityChatDemo(Can be deleted)/Scenes/UnityChatDemo_HoloCapture only test on hololens device.txt.meta
7 | TextScriptImporter:
8 | externalObjects: {}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/TextureConvert.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4183aed49c62f244195e195c287f32f6
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/TextureConvert/Convert.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/Scenes/TextureConvert/Convert.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/TextureConvert/TextureConvert.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 | using UnityEngine;
4 | using UnityEngine.UI;
5 |
6 | public class TextureConvert : MonoBehaviour
7 | {
8 | public UnityChatSDK.ConvertType ConvertType;
9 | public Texture SoureTexture;//need read/write enable
10 | public RawImage ConverRawImage;
11 |
12 | public void OnToggleChanged(int type)
13 | {
14 | ConvertType = (UnityChatSDK.ConvertType)type;
15 | }
16 | public void Convert()
17 | {
18 | ConverRawImage.texture = UnityChatSDK.Instance.ConvertTexture(SoureTexture,TextureFormat.BGRA32, ConvertType);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/TextureConvert/TextureConvert.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 85784abc9e271f847ad1621fc5efca2c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/TextureConvert/TextureConvert.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4316dbf7357964a45b55f414f7132a26
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/UnityChatDemo_Android IOS PC.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 864f88351db915b4e8da82a6c92b79aa
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/UnityChatDemo_PC_DeskMode.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 100d7e896c42a1f40a5a69988d81e5d6
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/UnityChatDemo_WebGL.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6df117f0857832949955c3eb16b4fd76
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/UnityChatDemo_WebGL_WSS.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0dc5e9bc233cc3c499e37ad3324ff1c9
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/UnityChatSDK_Live Broadcast.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4572d74a5c18a35449e94f5a948861e9
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/UnityChatSDK_RecordAudio.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ec9da31617d4aee4ea351a75f104f0ff
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/UnityChatSDK_SpatialAudio.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 780aa21952108fa4f8be740636f1fc18
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scenes/UnityDeskVideo.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 13333efb04676814fb9d74f6796dbb56
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5402ce6e6f88bd74599efa2464ea4362
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 09751bd874828e54a9f08cea1c3cebe4
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/ChatDataHandler.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5f847461d5e6b4e488bf75527dced9fe
3 | timeCreated: 1510240179
4 | licenseType: Store
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/ChatManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c5ac8de9f3ca421418f582090f324a52
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/ChatTimer.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using UnityEngine;
5 | using UnityEngine.UI;
6 |
7 | public class ChatTimer : MonoBehaviour
8 | {
9 |
10 | public Text TimeText;
11 |
12 | bool isStart;
13 | DateTime chatTime;
14 | private void Awake()
15 | {
16 |
17 | }
18 | void Start()
19 | {
20 |
21 | }
22 | private void OnEnable()
23 | {
24 | StartTime();
25 | }
26 | private void OnDisable()
27 | {
28 | StopTime();
29 | }
30 | public void StartTime()
31 | {
32 | isStart = true;
33 | chatTime = DateTime.Now;
34 | StartCoroutine(StartTimeing());
35 | }
36 | IEnumerator StartTimeing()
37 | {
38 | while (isStart)
39 | {
40 | yield return new WaitForSeconds(1);
41 | TimeText.text = (DateTime.Now - chatTime).ToString(@"hh\:mm\:ss");
42 | }
43 | }
44 | ///
45 | /// 停止计时
46 | ///
47 | public void StopTime()
48 | {
49 | isStart = false;
50 | TimeText.text = "";
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/ChatTimer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f5cb5dc52e3c9444b86dd42c85e78773
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/ChatUIManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e231440364bfbfa40a3ec178f62abfbc
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/FriendItem.cs:
--------------------------------------------------------------------------------
1 | using ChatProto;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using UnityEngine;
5 | using UnityEngine.UI;
6 |
7 |
8 | public class FriendItem : MonoBehaviour
9 | {
10 |
11 | public string FriendName;
12 | public int FriendID;
13 | public UserInfo UserInfo;
14 | private Toggle.ToggleEvent onValueChanged;
15 |
16 | void Start()
17 | {
18 | gameObject.GetComponent().onValueChanged.AddListener(OnValueChanged);
19 | }
20 | void OnValueChanged(bool isOn)
21 | {
22 | if (isOn)
23 | {
24 | MainUIManager.Instance.SelectedFriendList.Add(UserInfo);
25 | }
26 | else
27 | {
28 | MainUIManager.Instance.SelectedFriendList.Remove(UserInfo);
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/FriendItem.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2a40686a4795c4d4785e429879325859
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/MainUIManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8ffa8236503827444abcf500a4052c0c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/PeerVideoItem.cs:
--------------------------------------------------------------------------------
1 | using ChatProto;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using UnityEngine;
5 | using UnityEngine.UI;
6 |
7 | public class PeerVideoItem : MonoBehaviour
8 | {
9 | void Start()
10 | {
11 | gameObject.GetComponent().onValueChanged.AddListener(OnPeerTogChanged);
12 | int id = transform.Find("RawImage").GetComponent().ID;
13 | UserInfo info = ChatManager.Instance.GetUserInfoById(id);
14 | transform.Find("Text").GetComponent().text= info.UserName;
15 | }
16 |
17 | void OnPeerTogChanged(bool isOn)
18 | {
19 | if (isOn)
20 | {
21 | ChatUIManager.Instance.SelectedPeerVideo.ID = int.Parse(gameObject.name);
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/PeerVideoItem.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c4916263e2fb368458ddce3cc07f5f16
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/SendChatMessageManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 00979d93eba98a14ea0309ac040ac60a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/SetAspectRatio.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 | using UnityEngine;
4 | using UnityEngine.UI;
5 |
6 | public class SetAspectRatio : MonoBehaviour
7 | {
8 |
9 |
10 |
11 | RawImage rawImage;
12 | AspectRatioFitter ratio;
13 | void Start()
14 | {
15 | rawImage = transform.GetComponent();
16 |
17 | if (transform.GetComponent() == null)
18 | {
19 | gameObject.AddComponent();
20 | }
21 | ratio = transform.GetComponent();
22 | ratio.aspectMode = AspectRatioFitter.AspectMode.HeightControlsWidth;
23 | }
24 | private void Update()
25 | {
26 | if (rawImage.texture != null)
27 | ratio.aspectRatio = (float)rawImage.texture.width / rawImage.texture.height;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/SetAspectRatio.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5833ba155e35c034fba34bab08c9705d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/UIDrag.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using UnityEngine.EventSystems;
3 |
4 |
5 | public class UIDrag : MonoBehaviour, IBeginDragHandler, IDragHandler
6 | {
7 |
8 | private float offsetX;
9 | private float offsetY;
10 |
11 | public Transform Transform;
12 |
13 | Vector2 startPosition;
14 | public void Awake()
15 | {
16 | if (Transform == null)
17 | Transform = transform;
18 |
19 | startPosition = Transform.GetComponent().anchoredPosition;
20 | }
21 |
22 | void OnEnable()
23 | {
24 | Transform.GetComponent().anchoredPosition = startPosition;
25 | }
26 |
27 | public void OnBeginDrag(PointerEventData eventData)
28 | {
29 | offsetX = Transform.position.x - Input.mousePosition.x;
30 | offsetY = Transform.position.y - Input.mousePosition.y;
31 | }
32 |
33 | public void OnDrag(PointerEventData eventData)
34 | {
35 | Transform.position = new Vector3(offsetX + Input.mousePosition.x, offsetY + Input.mousePosition.y, 0);
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Chat/UIDrag.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a821956cbe1f3994799843340031e7a3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Common.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ade4ed82b4e37d046977fcd61339a456
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Common/FPSDisplay.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using UnityEngine.UI;
3 |
4 | public class FPSDisplay : MonoBehaviour
5 | {
6 |
7 | #region Variables
8 |
9 | /// Text component to display the FPS.
10 | [Tooltip("Text component to display the FPS.")]
11 | public Text FPS;
12 |
13 | private float deltaTime = 0f;
14 | private float elapsedTime = 0f;
15 |
16 | private float msec;
17 | private float fps;
18 |
19 | private const string wait = "...calculating FPS...";
20 | private const string red = "FPS: {0:0.} ({1:0.0} ms)";
21 | private const string orange = "FPS: {0:0.} ({1:0.0} ms)";
22 | private const string green = "FPS: {0:0.} ({1:0.0} ms)";
23 |
24 | #endregion
25 |
26 |
27 | #region MonoBehaviour methods
28 |
29 | public void Update()
30 | {
31 | deltaTime += (Time.deltaTime - deltaTime) * 0.1f;
32 | elapsedTime += Time.deltaTime;
33 |
34 | if (elapsedTime > 1f)
35 | {
36 | if (Time.frameCount % 3 == 0 && FPS != null)
37 | {
38 | msec = deltaTime * 1000f;
39 | fps = 1f / deltaTime;
40 |
41 | if (fps < 15)
42 | {
43 | FPS.text = string.Format(red, fps, msec);
44 | }
45 | else if (fps < 29)
46 | {
47 | FPS.text = string.Format(orange, fps, msec);
48 | }
49 | else
50 | {
51 | FPS.text = string.Format(green, fps, msec);
52 | }
53 | }
54 | }
55 | else
56 | {
57 | FPS.text = wait;
58 | }
59 | }
60 |
61 | #endregion
62 | }
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Common/FPSDisplay.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 895e43a683690b04c892b1e3143487e4
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Common/MessageManager.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using UnityEngine;
5 | using UnityEngine.UI;
6 |
7 | ///
8 | /// Message show manager
9 | ///
10 | public class MessageManager : MonoBehaviour
11 | {
12 | public static MessageManager Instance;
13 | public Transform Layout;
14 | public GameObject MessagePrefab;
15 | public GameObject SelectBox;
16 | public Text WarnText;
17 | Action yesAction;
18 | Action noAction;
19 | private void Awake()
20 | {
21 | Instance = this;
22 | }
23 | void Start()
24 | {
25 |
26 | }
27 | ///
28 | /// Show message
29 | ///
30 |
31 | public void ShowMessage(string mes, float showTime = 2)
32 | {
33 | GameObject go=GameObject.Instantiate(MessagePrefab, Layout);
34 | go.SetActive(true);
35 | Text t = go.transform.Find("Text").GetComponent();
36 | t.text = mes;
37 | go.transform.GetComponent().sizeDelta = new Vector2(622,t.preferredHeight+10);
38 | Destroy(go, showTime);
39 | }
40 |
41 | ///
42 | /// Show selection box
43 | ///
44 | /// warn
45 | /// Callback method when YES is selected
46 | /// Callback method when No is selected
47 | public void ShowSelectBox(string warn, Action yes, Action no)
48 | {
49 | SelectBox.SetActive(true);
50 | WarnText.text = warn;
51 | yesAction = yes;
52 | noAction = no;
53 | }
54 | public void Yes()
55 | {
56 | yesAction.Invoke();
57 | WarnText.text = "";
58 | SelectBox.SetActive(false);
59 | }
60 | public void No()
61 | {
62 | noAction.Invoke();
63 | WarnText.text = "";
64 | SelectBox.SetActive(false);
65 | }
66 |
67 | }
68 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Common/MessageManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1ad49ad69cd2fbf4eb6f0789d7cfe0d9
3 | timeCreated: 1515642725
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Common/SoundManager.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 | using UnityEngine;
4 |
5 | ///
6 | /// Play sound manager
7 | ///
8 | public class SoundManager : MonoBehaviour
9 | {
10 | public static SoundManager _instance;
11 | AudioSource m_bgSound;
12 | AudioSource m_effectSound;
13 | ///
14 | /// All sound effects are stored in the folder under the Resources folder
15 | ///
16 | private string ResourceDir="Sounds";
17 |
18 | void Awake()
19 | {
20 | _instance = this;
21 | m_bgSound = gameObject.AddComponent();
22 | m_bgSound.loop = true;
23 | m_effectSound = gameObject.AddComponent();
24 | m_effectSound.loop = false;
25 | }
26 | private void Start()
27 | {
28 |
29 | }
30 | ///
31 | /// Play background music
32 | ///
33 | public void PlayBg(string audioName, float volume)
34 | {
35 |
36 | string oldName;
37 | if (m_bgSound.clip == null)
38 | oldName = "";
39 | else
40 | oldName = m_bgSound.clip.name;
41 |
42 | if (oldName != audioName)
43 | {
44 | string path;
45 | if (string.IsNullOrEmpty(ResourceDir))
46 | path = audioName;
47 | else
48 | path = ResourceDir + "/" + audioName;
49 | AudioClip clip = Resources.Load(path);
50 | if (clip != null)
51 | {
52 | m_bgSound.clip = clip;
53 | m_bgSound.Play();
54 | m_bgSound.loop = true;
55 | m_bgSound.volume = volume;
56 | }
57 | }
58 | }
59 |
60 | ///
61 | /// Stop playing background music
62 | ///
63 | public void StopBg()
64 | {
65 | m_bgSound.Stop();
66 | m_bgSound.clip = null;
67 | }
68 |
69 | ///
70 | /// Play sound effect OneShot
71 | ///
72 | public void PlayEffect(string audioName)
73 | {
74 | string path;
75 | if (string.IsNullOrEmpty(ResourceDir))
76 | path = audioName;
77 | else
78 | path = ResourceDir + "/" + audioName;
79 |
80 | AudioClip clip = Resources.Load(path);
81 | m_effectSound.PlayOneShot(clip);
82 | }
83 | ///
84 | /// Stop playing sound effect
85 | ///
86 | public void StopEffect()
87 | {
88 | m_effectSound.Stop();
89 | m_effectSound.clip = null;
90 | }
91 |
92 | }
93 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Common/SoundManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: efc864c39de6a3f49a3f6219222f4c5a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Desk.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ea48abd913397484f8eefb10c3c26dbd
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Desk/DeskVideoModeDemo.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using UnityEngine;
5 |
6 | public class DeskVideoModeDemo : MonoBehaviour
7 | {
8 | private void Start()
9 | {
10 | ChatManager.Instance.OnChatAcceptgDg += OnOnAccpet;
11 | ChatManager.Instance.OnChatHangDg += OnChatHang;
12 | }
13 |
14 | bool isChatting;
15 | private void OnOnAccpet()
16 | {
17 | if (isDeskMode)
18 | UnityChatSDK.Instance.StartDeskCapture();
19 | isChatting = true;
20 | }
21 |
22 | private void OnChatHang()
23 | {
24 | if (isDeskMode)
25 | UnityChatSDK.Instance.StoptDeskCapture();
26 | isChatting = false;
27 | isDeskMode = false;
28 | FindObjectOfType().SetDeciveCam();
29 | }
30 |
31 | bool isDeskMode;
32 | public void DeskCall()
33 | {
34 | isDeskMode = true;
35 | ChatUIManager.Instance.VideoCall();
36 | FindObjectOfType().SetCustomTexture();
37 | }
38 |
39 | float lastTime;
40 |
41 | private void Update()
42 | {
43 | if (isDeskMode && isChatting && Time.time- lastTime>0.04f)
44 | {
45 | lastTime = Time.time;
46 | UnityChatSDK.Instance.UpdateCustomTexture(UnityChatSDK.Instance.GetDeskTexture());
47 | }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Desk/DeskVideoModeDemo.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4eb7c56959b6a1c4687a2403019fec7d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Desk/UDeskVideo.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 | using UnityEngine;
4 | using UnityEngine.UI;
5 |
6 | public class UDeskVideo : MonoBehaviour
7 | {
8 | public void StartCapture()
9 | {
10 | UnityChatSDK.Instance.StartDeskCapture();
11 | }
12 | public void StoptCapture()
13 | {
14 | UnityChatSDK.Instance.StoptDeskCapture();
15 | }
16 |
17 |
18 | public RawImage Image;
19 |
20 |
21 | void FixedUpdate()
22 | {
23 | Texture2D t= UnityChatSDK.Instance.GetDeskTexture();
24 | if (t != null)
25 | {
26 | if (Image != null) Image.texture = t;
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Desk/UDeskVideo.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cef9933acbe8eee43adb3e3b43edea0a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/FriendItem.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fc09aad4391f1e740a1848aed21eae26
3 | PrefabImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Live.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3e63e95b7a0cff9489e4e0a5b1973cd8
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/Live/LiveManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 58b5a1f9f673d984c904355eb666bed9
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/PeerImage.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 87d96d3967d0f614e83092e9a666ff2c
3 | PrefabImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/RecordAudio.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3e0024c7d14872b4e9f2687f8de19aa1
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/RecordAudio/RecordAudio.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 | using UnityEngine;
4 |
5 | public class RecordAudio : MonoBehaviour {
6 |
7 | ///
8 | /// Maximum recording time, timeout automatically stop
9 | ///
10 | public int LimitRecordTime=60;
11 |
12 | public void StartRecordAudio()
13 | {
14 | UnityChatSDK.Instance.StartRecordAudio(LimitRecordTime, OnFininshed);
15 | }
16 | public void StopRecordAudio()
17 | {
18 | UnityChatSDK.Instance.StopRecordAudio();
19 | }
20 |
21 | byte[] audioData;
22 | public void OnFininshed(byte[] recordData)
23 | {
24 | audioData = recordData;
25 | }
26 | public void PlayRecordAudio()
27 | {
28 | if (audioData != null)
29 | UnityChatSDK.Instance.PlayRecordAudio(audioData);
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/RecordAudio/RecordAudio.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 925a8136ff5f4164789fb9c1e1f3f01a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/SpatialAudio.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: abd816294ad4697479e4fd1b6d311b93
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/SpatialAudio/SetPeerSpatialAudioTest.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 | using UnityEngine;
4 |
5 | public class SetPeerSpatialAudioTest : MonoBehaviour
6 | {
7 | public int TestPeerID;
8 | public Vector3 PeerPosition;
9 | int dir=1;
10 | void Start()
11 | {
12 | PeerPosition = new Vector3(0,0,1);
13 | }
14 |
15 |
16 | void FixedUpdate()
17 | {
18 | if (PeerPosition.x < -2) dir = 1;
19 | if (PeerPosition.x > 2) dir = -1;
20 |
21 | PeerPosition.x += 0.01f* dir;
22 |
23 | transform.position = PeerPosition;
24 |
25 | AudioSource audioSource = UnityChatSDK.Instance.SetPeerSpatialAudio(TestPeerID, true, PeerPosition.x, PeerPosition.y, PeerPosition.z);
26 | if (audioSource != null)
27 | {
28 | //do some audioSource settings...
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/Scripts/SpatialAudio/SetPeerSpatialAudioTest.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 75648f2f376c32646b3e3cc56c858bef
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4a2de0608b9c31b498ad9708d39dbb1d
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Audio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Audio.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Backspace.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Backspace.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Black.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Call1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Call1.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Call2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Call2.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Close.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/DropDown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/DropDown.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Hang1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Hang1.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Hang2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Hang2.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Head.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Head.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Rect.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Rect.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Set.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Set.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/Video.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/Video.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/icon.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/msg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/msg.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/pic.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/play.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/record.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/record.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/refresh.png
--------------------------------------------------------------------------------
/Assets/UnityChatDemo(Can be deleted)/UI/voice.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatDemo(Can be deleted)/UI/voice.png
--------------------------------------------------------------------------------
/Assets/UnityChatSDK.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6c8ea27a4929c754f8524a2c18ce81ee
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Document.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1da4c96a32ef5fb41a7c6576a5d9113c
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Document/VideoChatSDK.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Document/VideoChatSDK.pdf
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Document/VideoChatSDK.pdf.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c8cc45ad9b9a6b243833ea344f8ddb69
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Icons.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c74b22b62adc2034f9d1a2dc4eaa3980
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Icons/SplashScreen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Icons/SplashScreen.png
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Icons/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Icons/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Icons/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Icons/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Icons/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Icons/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Icons/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Icons/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Icons/StoreLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Icons/StoreLogo.png
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Icons/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Icons/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cb95359950d61f24cb71302bfe79e56e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/Android.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b7e15d0a79f738a41a8c10b452234de3
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/Android/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
14 |
15 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/Android/AndroidManifest.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 55d2d6cf4e9b43940a1934c3e5cd8b77
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/Device.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6f8ef8d763548ea439af09bd2b4324ff
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/Device/ChatSDKDevice.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using System.Runtime.InteropServices;
5 | using UnityEngine;
6 |
7 | public class ChatSDKDevice : MonoBehaviour
8 | {
9 |
10 | #if UNITY_IPHONE
11 | [DllImport("__Internal")]
12 | private static extern void _forceToSpeaker();
13 | [DllImport("__Internal")]
14 | private static extern void _forceToHeadset();
15 | #endif
16 |
17 | public static void ToggleSpeaker(bool isOn)
18 | {
19 | #if UNITY_ANDROID
20 | try
21 | {
22 | AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
23 | AndroidJavaObject activity = unityPlayer.GetStatic("currentActivity");
24 | AndroidJavaObject audioManager = activity.Call("getSystemService", "audio");
25 |
26 | if (isOn)
27 | {
28 | audioManager.Call("setMode", 0);
29 | audioManager.Call("setSpeakerphoneOn", true);
30 | }
31 | else
32 | {
33 | audioManager.Call("setMode", 3);
34 | audioManager.Call("setSpeakerphoneOn", false);
35 | }
36 |
37 | int mode = audioManager.Call("getMode");
38 | bool isSpeakers = audioManager.Call("isSpeakerphoneOn");
39 |
40 | Debug.Log("Speakers set to: " + isSpeakers + ",mode is " + mode);
41 | }
42 | catch (Exception e)
43 | {
44 | Debug.Log("ToggleSpeaker Error:" + e.Message);
45 | }
46 | #endif
47 |
48 | #if UNITY_IPHONE
49 | try
50 | {
51 | if (isOn)
52 | {
53 | _forceToSpeaker();
54 | }
55 | else
56 | {
57 | _forceToHeadset();
58 | }
59 | }
60 | catch (Exception e)
61 | {
62 | Debug.Log("ToggleSpeaker Error:" + e.Message);
63 | }
64 | #endif
65 |
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/Device/ChatSDKDevice.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6e7bd1799e085254598dd0a549261c3d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4554a3c59197798479605b47058111b8
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Android.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e32b32b6672c44f63b9f59d02d6fe940
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Android/arm64-v8a.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 77883fb195f82422a81045c6e038cd18
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Android/arm64-v8a/libturbojpeg.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/TurboJpeg/Android/arm64-v8a/libturbojpeg.so
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Android/arm64-v8a/libturbojpeg.so.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f109cc7f86cf342bd9e698b5c31e3da2
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 0
20 | Exclude Editor: 1
21 | Exclude Linux: 1
22 | Exclude Linux64: 1
23 | Exclude LinuxUniversal: 1
24 | Exclude OSXUniversal: 1
25 | Exclude WebGL: 1
26 | Exclude Win: 1
27 | Exclude Win64: 1
28 | Exclude iOS: 1
29 | - first:
30 | Android: Android
31 | second:
32 | enabled: 1
33 | settings:
34 | CPU: ARM64
35 | - first:
36 | Any:
37 | second:
38 | enabled: 0
39 | settings: {}
40 | - first:
41 | Editor: Editor
42 | second:
43 | enabled: 0
44 | settings:
45 | CPU: AnyCPU
46 | DefaultValueInitialized: true
47 | OS: AnyOS
48 | - first:
49 | Facebook: Win
50 | second:
51 | enabled: 0
52 | settings:
53 | CPU: AnyCPU
54 | - first:
55 | Facebook: Win64
56 | second:
57 | enabled: 0
58 | settings:
59 | CPU: AnyCPU
60 | - first:
61 | Standalone: Linux
62 | second:
63 | enabled: 0
64 | settings:
65 | CPU: x86
66 | - first:
67 | Standalone: Linux64
68 | second:
69 | enabled: 0
70 | settings:
71 | CPU: AnyCPU
72 | - first:
73 | Standalone: LinuxUniversal
74 | second:
75 | enabled: 0
76 | settings:
77 | CPU: None
78 | - first:
79 | Standalone: OSXUniversal
80 | second:
81 | enabled: 0
82 | settings:
83 | CPU: AnyCPU
84 | - first:
85 | Standalone: Win
86 | second:
87 | enabled: 0
88 | settings:
89 | CPU: AnyCPU
90 | - first:
91 | Standalone: Win64
92 | second:
93 | enabled: 0
94 | settings:
95 | CPU: AnyCPU
96 | - first:
97 | iPhone: iOS
98 | second:
99 | enabled: 0
100 | settings:
101 | CompileFlags:
102 | FrameworkDependencies:
103 | userData:
104 | assetBundleName:
105 | assetBundleVariant:
106 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Android/armeabi-v7a.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e186aecd2978148149fae15b63a58757
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Android/armeabi-v7a/libturbojpeg.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/TurboJpeg/Android/armeabi-v7a/libturbojpeg.so
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Android/armeabi-v7a/libturbojpeg.so.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1fae32de360494d0da05073b9d002c76
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 0
20 | Exclude Editor: 1
21 | Exclude Linux: 1
22 | Exclude Linux64: 1
23 | Exclude LinuxUniversal: 1
24 | Exclude OSXUniversal: 1
25 | Exclude WebGL: 1
26 | Exclude Win: 1
27 | Exclude Win64: 1
28 | Exclude iOS: 1
29 | - first:
30 | Android: Android
31 | second:
32 | enabled: 1
33 | settings:
34 | CPU: ARMv7
35 | - first:
36 | Any:
37 | second:
38 | enabled: 0
39 | settings: {}
40 | - first:
41 | Editor: Editor
42 | second:
43 | enabled: 0
44 | settings:
45 | CPU: AnyCPU
46 | DefaultValueInitialized: true
47 | OS: AnyOS
48 | - first:
49 | Facebook: Win
50 | second:
51 | enabled: 0
52 | settings:
53 | CPU: AnyCPU
54 | - first:
55 | Facebook: Win64
56 | second:
57 | enabled: 0
58 | settings:
59 | CPU: AnyCPU
60 | - first:
61 | Standalone: Linux
62 | second:
63 | enabled: 0
64 | settings:
65 | CPU: x86
66 | - first:
67 | Standalone: Linux64
68 | second:
69 | enabled: 0
70 | settings:
71 | CPU: AnyCPU
72 | - first:
73 | Standalone: LinuxUniversal
74 | second:
75 | enabled: 0
76 | settings:
77 | CPU: None
78 | - first:
79 | Standalone: OSXUniversal
80 | second:
81 | enabled: 0
82 | settings:
83 | CPU: AnyCPU
84 | - first:
85 | Standalone: Win
86 | second:
87 | enabled: 0
88 | settings:
89 | CPU: AnyCPU
90 | - first:
91 | Standalone: Win64
92 | second:
93 | enabled: 0
94 | settings:
95 | CPU: AnyCPU
96 | - first:
97 | iPhone: iOS
98 | second:
99 | enabled: 0
100 | settings:
101 | CompileFlags:
102 | FrameworkDependencies:
103 | userData:
104 | assetBundleName:
105 | assetBundleVariant:
106 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Linux.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 56ea9353d78fcd940b29e1d3ec6757ca
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Linux/libturbojpeg.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/TurboJpeg/Linux/libturbojpeg.so
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Linux/libturbojpeg.so.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 63a2688cd945dcc41b04bd0e92164adc
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 1
20 | Exclude Editor: 0
21 | Exclude Linux64: 0
22 | Exclude OSXUniversal: 1
23 | Exclude WebGL: 1
24 | Exclude Win: 0
25 | Exclude Win64: 0
26 | Exclude WindowsStoreApps: 1
27 | Exclude iOS: 1
28 | - first:
29 | Android: Android
30 | second:
31 | enabled: 0
32 | settings:
33 | CPU: ARMv7
34 | - first:
35 | Any:
36 | second:
37 | enabled: 0
38 | settings: {}
39 | - first:
40 | Editor: Editor
41 | second:
42 | enabled: 1
43 | settings:
44 | CPU: AnyCPU
45 | DefaultValueInitialized: true
46 | OS: AnyOS
47 | - first:
48 | Standalone: Linux64
49 | second:
50 | enabled: 1
51 | settings:
52 | CPU: AnyCPU
53 | - first:
54 | Standalone: OSXUniversal
55 | second:
56 | enabled: 0
57 | settings:
58 | CPU: None
59 | - first:
60 | Standalone: Win
61 | second:
62 | enabled: 1
63 | settings:
64 | CPU: x86
65 | - first:
66 | Standalone: Win64
67 | second:
68 | enabled: 1
69 | settings:
70 | CPU: x86_64
71 | - first:
72 | Windows Store Apps: WindowsStoreApps
73 | second:
74 | enabled: 0
75 | settings:
76 | CPU: AnyCPU
77 | DontProcess: false
78 | PlaceholderPath:
79 | SDK: AnySDK
80 | ScriptingBackend: AnyScriptingBackend
81 | - first:
82 | iPhone: iOS
83 | second:
84 | enabled: 0
85 | settings:
86 | AddToEmbeddedBinaries: false
87 | CPU: AnyCPU
88 | CompileFlags:
89 | FrameworkDependencies:
90 | userData:
91 | assetBundleName:
92 | assetBundleVariant:
93 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Mac.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bfadc012cbabd4b8c8c42195dcb2e6de
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Mac/ReadMe_Mac.txt:
--------------------------------------------------------------------------------
1 | Notes for Mac OSX :
2 | In case that there is any warning message in system, please follow this instruction.
3 |
4 | 1. go to System Preferences(Mac OS)
5 |
6 | 2. go to Security & Privacy
7 |
8 | 3. go to General
9 |
10 | 4. Press Allow Anyway
11 | If there is no such option, please execute in the terminal:
12 | sudo spctl --master-disable
13 |
14 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Mac/ReadMe_Mac.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 26e29a3ae8c3b4327b79d9420d635629
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Mac/turbojpeg.bundle.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1397551f0d80f2647a83d42d97672aee
3 | folderAsset: yes
4 | PluginImporter:
5 | externalObjects: {}
6 | serializedVersion: 2
7 | iconMap: {}
8 | executionOrder: {}
9 | defineConstraints: []
10 | isPreloaded: 0
11 | isOverridable: 0
12 | isExplicitlyReferenced: 0
13 | validateReferences: 1
14 | platformData:
15 | - first:
16 | Any:
17 | second:
18 | enabled: 0
19 | settings: {}
20 | - first:
21 | Editor: Editor
22 | second:
23 | enabled: 1
24 | settings:
25 | DefaultValueInitialized: true
26 | - first:
27 | Standalone: OSXUniversal
28 | second:
29 | enabled: 1
30 | settings: {}
31 | userData:
32 | assetBundleName:
33 | assetBundleVariant:
34 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Mac/turbojpeg.bundle/Contents.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: aae0fcde2fbc2984eaf4876d5293cd80
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Mac/turbojpeg.bundle/Contents/MacOS.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 54728e135230fcc46bddd888c22dfa2c
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Mac/turbojpeg.bundle/Contents/MacOS/turbojpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/TurboJpeg/Mac/turbojpeg.bundle/Contents/MacOS/turbojpeg
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Mac/turbojpeg.bundle/Contents/MacOS/turbojpeg.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3244a15ddc88849e093527975d36b26f
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 01d7d07f5665a42ca9eba190aa6eb049
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/arm-uwp.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 62a885ffd3f7b4b45a1d6089ad89072b
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/arm-uwp/turbojpeg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/arm-uwp/turbojpeg.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/arm-uwp/turbojpeg.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 263b810fc4eed4f42b87418fc3061143
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Editor: 1
20 | Exclude Linux: 1
21 | Exclude Linux64: 1
22 | Exclude LinuxUniversal: 1
23 | Exclude OSXUniversal: 1
24 | Exclude Win: 1
25 | Exclude Win64: 1
26 | Exclude WindowsStoreApps: 0
27 | - first:
28 | Any:
29 | second:
30 | enabled: 0
31 | settings: {}
32 | - first:
33 | Editor: Editor
34 | second:
35 | enabled: 0
36 | settings:
37 | CPU: AnyCPU
38 | DefaultValueInitialized: true
39 | OS: AnyOS
40 | - first:
41 | Facebook: Win
42 | second:
43 | enabled: 0
44 | settings:
45 | CPU: AnyCPU
46 | - first:
47 | Facebook: Win64
48 | second:
49 | enabled: 0
50 | settings:
51 | CPU: AnyCPU
52 | - first:
53 | Standalone: Linux
54 | second:
55 | enabled: 0
56 | settings:
57 | CPU: x86
58 | - first:
59 | Standalone: Linux64
60 | second:
61 | enabled: 0
62 | settings:
63 | CPU: AnyCPU
64 | - first:
65 | Standalone: LinuxUniversal
66 | second:
67 | enabled: 0
68 | settings:
69 | CPU: None
70 | - first:
71 | Standalone: OSXUniversal
72 | second:
73 | enabled: 0
74 | settings:
75 | CPU: AnyCPU
76 | - first:
77 | Standalone: Win
78 | second:
79 | enabled: 0
80 | settings:
81 | CPU: AnyCPU
82 | - first:
83 | Standalone: Win64
84 | second:
85 | enabled: 0
86 | settings:
87 | CPU: AnyCPU
88 | - first:
89 | Windows Store Apps: WindowsStoreApps
90 | second:
91 | enabled: 1
92 | settings:
93 | CPU: ARM
94 | DontProcess: false
95 | PlaceholderPath:
96 | SDK: UWP
97 | ScriptingBackend: AnyScriptingBackend
98 | userData:
99 | assetBundleName:
100 | assetBundleVariant:
101 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/arm64-uwp.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 805f4a0e5364740429f8df66671a4978
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/arm64-uwp/turbojpeg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/arm64-uwp/turbojpeg.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/arm64-uwp/turbojpeg.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d8df69a2916a8b441b9af1c0f094acd5
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Editor: 1
20 | Exclude Linux: 1
21 | Exclude Linux64: 1
22 | Exclude LinuxUniversal: 1
23 | Exclude OSXUniversal: 1
24 | Exclude Win: 1
25 | Exclude Win64: 1
26 | Exclude WindowsStoreApps: 0
27 | - first:
28 | Any:
29 | second:
30 | enabled: 0
31 | settings: {}
32 | - first:
33 | Editor: Editor
34 | second:
35 | enabled: 0
36 | settings:
37 | CPU: AnyCPU
38 | DefaultValueInitialized: true
39 | OS: AnyOS
40 | - first:
41 | Facebook: Win
42 | second:
43 | enabled: 0
44 | settings:
45 | CPU: AnyCPU
46 | - first:
47 | Facebook: Win64
48 | second:
49 | enabled: 0
50 | settings:
51 | CPU: AnyCPU
52 | - first:
53 | Standalone: Linux
54 | second:
55 | enabled: 0
56 | settings:
57 | CPU: x86
58 | - first:
59 | Standalone: Linux64
60 | second:
61 | enabled: 0
62 | settings:
63 | CPU: AnyCPU
64 | - first:
65 | Standalone: LinuxUniversal
66 | second:
67 | enabled: 0
68 | settings:
69 | CPU: None
70 | - first:
71 | Standalone: OSXUniversal
72 | second:
73 | enabled: 0
74 | settings:
75 | CPU: AnyCPU
76 | - first:
77 | Standalone: Win
78 | second:
79 | enabled: 0
80 | settings:
81 | CPU: AnyCPU
82 | - first:
83 | Standalone: Win64
84 | second:
85 | enabled: 0
86 | settings:
87 | CPU: AnyCPU
88 | - first:
89 | Windows Store Apps: WindowsStoreApps
90 | second:
91 | enabled: 1
92 | settings:
93 | CPU: ARM64
94 | DontProcess: false
95 | PlaceholderPath:
96 | SDK: UWP
97 | ScriptingBackend: AnyScriptingBackend
98 | userData:
99 | assetBundleName:
100 | assetBundleVariant:
101 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/x86-uwp.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8ace445457f05224192a3259839d8459
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/x86-uwp/turbojpeg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/x86-uwp/turbojpeg.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/UWP/x86-uwp/turbojpeg.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 501981608040a524098b1a319a9dc160
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Editor: 1
20 | Exclude Linux: 1
21 | Exclude Linux64: 1
22 | Exclude LinuxUniversal: 1
23 | Exclude OSXUniversal: 1
24 | Exclude Win: 1
25 | Exclude Win64: 1
26 | Exclude WindowsStoreApps: 0
27 | - first:
28 | Any:
29 | second:
30 | enabled: 0
31 | settings: {}
32 | - first:
33 | Editor: Editor
34 | second:
35 | enabled: 0
36 | settings:
37 | CPU: AnyCPU
38 | DefaultValueInitialized: true
39 | OS: AnyOS
40 | - first:
41 | Facebook: Win
42 | second:
43 | enabled: 0
44 | settings:
45 | CPU: AnyCPU
46 | - first:
47 | Facebook: Win64
48 | second:
49 | enabled: 0
50 | settings:
51 | CPU: AnyCPU
52 | - first:
53 | Standalone: Linux
54 | second:
55 | enabled: 0
56 | settings:
57 | CPU: x86
58 | - first:
59 | Standalone: Linux64
60 | second:
61 | enabled: 0
62 | settings:
63 | CPU: AnyCPU
64 | - first:
65 | Standalone: LinuxUniversal
66 | second:
67 | enabled: 0
68 | settings:
69 | CPU: None
70 | - first:
71 | Standalone: OSXUniversal
72 | second:
73 | enabled: 0
74 | settings:
75 | CPU: AnyCPU
76 | - first:
77 | Standalone: Win
78 | second:
79 | enabled: 0
80 | settings:
81 | CPU: AnyCPU
82 | - first:
83 | Standalone: Win64
84 | second:
85 | enabled: 0
86 | settings:
87 | CPU: AnyCPU
88 | - first:
89 | Windows Store Apps: WindowsStoreApps
90 | second:
91 | enabled: 1
92 | settings:
93 | CPU: X86
94 | DontProcess: false
95 | PlaceholderPath:
96 | SDK: UWP
97 | ScriptingBackend: AnyScriptingBackend
98 | userData:
99 | assetBundleName:
100 | assetBundleVariant:
101 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Windows.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3caf6b74c57d54055b38801b08f3116f
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Windows/x64.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0cf498b8d95493248809e0aaae5c890f
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Windows/x64/turbojpeg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/TurboJpeg/Windows/x64/turbojpeg.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Windows/x64/turbojpeg.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c8bd2441b726f7146ad51bb7b5f89dfd
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 1
20 | Exclude Editor: 0
21 | Exclude Linux: 0
22 | Exclude Linux64: 0
23 | Exclude LinuxUniversal: 0
24 | Exclude OSXUniversal: 0
25 | Exclude WebGL: 1
26 | Exclude Win: 1
27 | Exclude Win64: 0
28 | Exclude iOS: 1
29 | - first:
30 | Android: Android
31 | second:
32 | enabled: 0
33 | settings:
34 | CPU: ARMv7
35 | - first:
36 | Any:
37 | second:
38 | enabled: 0
39 | settings: {}
40 | - first:
41 | Editor: Editor
42 | second:
43 | enabled: 1
44 | settings:
45 | CPU: AnyCPU
46 | DefaultValueInitialized: true
47 | OS: Windows
48 | - first:
49 | Facebook: Win
50 | second:
51 | enabled: 0
52 | settings:
53 | CPU: None
54 | - first:
55 | Facebook: Win64
56 | second:
57 | enabled: 0
58 | settings:
59 | CPU: AnyCPU
60 | - first:
61 | Standalone: Linux
62 | second:
63 | enabled: 1
64 | settings:
65 | CPU: x86
66 | - first:
67 | Standalone: Linux64
68 | second:
69 | enabled: 1
70 | settings:
71 | CPU: AnyCPU
72 | - first:
73 | Standalone: LinuxUniversal
74 | second:
75 | enabled: 1
76 | settings:
77 | CPU: AnyCPU
78 | - first:
79 | Standalone: OSXUniversal
80 | second:
81 | enabled: 1
82 | settings:
83 | CPU: AnyCPU
84 | - first:
85 | Standalone: Win
86 | second:
87 | enabled: 0
88 | settings:
89 | CPU: None
90 | - first:
91 | Standalone: Win64
92 | second:
93 | enabled: 1
94 | settings:
95 | CPU: AnyCPU
96 | - first:
97 | WebGL: WebGL
98 | second:
99 | enabled: 0
100 | settings: {}
101 | - first:
102 | iPhone: iOS
103 | second:
104 | enabled: 0
105 | settings:
106 | CompileFlags:
107 | FrameworkDependencies:
108 | userData:
109 | assetBundleName:
110 | assetBundleVariant:
111 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Windows/x86.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bc75151acb4944b4e95dfac44b072c6e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Windows/x86/turbojpeg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/TurboJpeg/Windows/x86/turbojpeg.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/Windows/x86/turbojpeg.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3e8440d82dbd9194f83f9727a3460906
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 1
20 | Exclude Editor: 0
21 | Exclude Linux: 0
22 | Exclude Linux64: 0
23 | Exclude LinuxUniversal: 0
24 | Exclude OSXUniversal: 0
25 | Exclude WebGL: 1
26 | Exclude Win: 0
27 | Exclude Win64: 0
28 | Exclude iOS: 1
29 | - first:
30 | Android: Android
31 | second:
32 | enabled: 0
33 | settings:
34 | CPU: ARMv7
35 | - first:
36 | Any:
37 | second:
38 | enabled: 0
39 | settings: {}
40 | - first:
41 | Editor: Editor
42 | second:
43 | enabled: 1
44 | settings:
45 | CPU: x86
46 | DefaultValueInitialized: true
47 | OS: Windows
48 | - first:
49 | Facebook: Win
50 | second:
51 | enabled: 1
52 | settings:
53 | CPU: AnyCPU
54 | - first:
55 | Facebook: Win64
56 | second:
57 | enabled: 0
58 | settings:
59 | CPU: None
60 | - first:
61 | Standalone: Linux
62 | second:
63 | enabled: 1
64 | settings:
65 | CPU: x86
66 | - first:
67 | Standalone: Linux64
68 | second:
69 | enabled: 1
70 | settings:
71 | CPU: None
72 | - first:
73 | Standalone: LinuxUniversal
74 | second:
75 | enabled: 1
76 | settings:
77 | CPU: AnyCPU
78 | - first:
79 | Standalone: OSXUniversal
80 | second:
81 | enabled: 1
82 | settings:
83 | CPU: x86
84 | - first:
85 | Standalone: Win
86 | second:
87 | enabled: 1
88 | settings:
89 | CPU: AnyCPU
90 | - first:
91 | Standalone: Win64
92 | second:
93 | enabled: 1
94 | settings:
95 | CPU: None
96 | - first:
97 | WebGL: WebGL
98 | second:
99 | enabled: 0
100 | settings: {}
101 | - first:
102 | iPhone: iOS
103 | second:
104 | enabled: 0
105 | settings:
106 | CompileFlags:
107 | FrameworkDependencies:
108 | userData:
109 | assetBundleName:
110 | assetBundleVariant:
111 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/iOS.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b2ae4e57ea2d14750824cc484db482bf
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/iOS/libturbojpeg.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/TurboJpeg/iOS/libturbojpeg.a
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/TurboJpeg/iOS/libturbojpeg.a.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0b6c155066296415495ac43665369884
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 1
20 | Exclude Editor: 1
21 | Exclude Linux: 1
22 | Exclude Linux64: 1
23 | Exclude LinuxUniversal: 1
24 | Exclude OSXUniversal: 1
25 | Exclude WebGL: 1
26 | Exclude Win: 1
27 | Exclude Win64: 1
28 | Exclude iOS: 0
29 | - first:
30 | Android: Android
31 | second:
32 | enabled: 0
33 | settings:
34 | CPU: ARMv7
35 | - first:
36 | Any:
37 | second:
38 | enabled: 0
39 | settings: {}
40 | - first:
41 | Editor: Editor
42 | second:
43 | enabled: 0
44 | settings:
45 | CPU: AnyCPU
46 | DefaultValueInitialized: true
47 | OS: AnyOS
48 | - first:
49 | Facebook: Win
50 | second:
51 | enabled: 0
52 | settings:
53 | CPU: AnyCPU
54 | - first:
55 | Facebook: Win64
56 | second:
57 | enabled: 0
58 | settings:
59 | CPU: AnyCPU
60 | - first:
61 | Standalone: Linux
62 | second:
63 | enabled: 0
64 | settings:
65 | CPU: x86
66 | - first:
67 | Standalone: Linux64
68 | second:
69 | enabled: 0
70 | settings:
71 | CPU: AnyCPU
72 | - first:
73 | Standalone: LinuxUniversal
74 | second:
75 | enabled: 0
76 | settings:
77 | CPU: None
78 | - first:
79 | Standalone: OSXUniversal
80 | second:
81 | enabled: 0
82 | settings:
83 | CPU: AnyCPU
84 | - first:
85 | Standalone: Win
86 | second:
87 | enabled: 0
88 | settings:
89 | CPU: AnyCPU
90 | - first:
91 | Standalone: Win64
92 | second:
93 | enabled: 0
94 | settings:
95 | CPU: AnyCPU
96 | - first:
97 | iPhone: iOS
98 | second:
99 | enabled: 1
100 | settings:
101 | CompileFlags:
102 | FrameworkDependencies:
103 | userData:
104 | assetBundleName:
105 | assetBundleVariant:
106 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/UChatDesk.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/UChatDesk.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/UChatDesk.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b55cfb890a21c354cba0199c00785544
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 1
20 | Exclude Editor: 0
21 | Exclude Linux64: 0
22 | Exclude OSXUniversal: 0
23 | Exclude Win: 0
24 | Exclude Win64: 0
25 | Exclude WindowsStoreApps: 1
26 | Exclude iOS: 1
27 | - first:
28 | Android: Android
29 | second:
30 | enabled: 0
31 | settings:
32 | CPU: ARMv7
33 | - first:
34 | Any:
35 | second:
36 | enabled: 0
37 | settings: {}
38 | - first:
39 | Editor: Editor
40 | second:
41 | enabled: 1
42 | settings:
43 | CPU: AnyCPU
44 | DefaultValueInitialized: true
45 | OS: Windows
46 | - first:
47 | Standalone: Linux64
48 | second:
49 | enabled: 1
50 | settings:
51 | CPU: AnyCPU
52 | - first:
53 | Standalone: OSXUniversal
54 | second:
55 | enabled: 1
56 | settings:
57 | CPU: x86_64
58 | - first:
59 | Standalone: Win
60 | second:
61 | enabled: 1
62 | settings:
63 | CPU: x86
64 | - first:
65 | Standalone: Win64
66 | second:
67 | enabled: 1
68 | settings:
69 | CPU: x86_64
70 | - first:
71 | Windows Store Apps: WindowsStoreApps
72 | second:
73 | enabled: 0
74 | settings:
75 | CPU: AnyCPU
76 | DontProcess: false
77 | PlaceholderPath:
78 | SDK: AnySDK
79 | ScriptingBackend: AnyScriptingBackend
80 | - first:
81 | iPhone: iOS
82 | second:
83 | enabled: 0
84 | settings:
85 | AddToEmbeddedBinaries: false
86 | CPU: AnyCPU
87 | CompileFlags:
88 | FrameworkDependencies:
89 | userData:
90 | assetBundleName:
91 | assetBundleVariant:
92 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/UWP.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d87099c65aeafa44e99236113c5760df
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/UWP/UnityChat.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/UWP/UnityChat.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/UWP/UnityChat.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0d38e1eab5fedd1418377d6187902221
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 1
20 | Exclude Editor: 1
21 | Exclude Linux: 1
22 | Exclude Linux64: 1
23 | Exclude LinuxUniversal: 1
24 | Exclude OSXUniversal: 1
25 | Exclude Win: 1
26 | Exclude Win64: 1
27 | Exclude WindowsStoreApps: 0
28 | - first:
29 | Android: Android
30 | second:
31 | enabled: 0
32 | settings:
33 | CPU: ARMv7
34 | - first:
35 | Any:
36 | second:
37 | enabled: 0
38 | settings: {}
39 | - first:
40 | Editor: Editor
41 | second:
42 | enabled: 0
43 | settings:
44 | CPU: AnyCPU
45 | DefaultValueInitialized: true
46 | OS: AnyOS
47 | - first:
48 | Facebook: Win
49 | second:
50 | enabled: 0
51 | settings:
52 | CPU: AnyCPU
53 | - first:
54 | Facebook: Win64
55 | second:
56 | enabled: 0
57 | settings:
58 | CPU: AnyCPU
59 | - first:
60 | Standalone: Linux
61 | second:
62 | enabled: 0
63 | settings:
64 | CPU: x86
65 | - first:
66 | Standalone: Linux64
67 | second:
68 | enabled: 0
69 | settings:
70 | CPU: AnyCPU
71 | - first:
72 | Standalone: LinuxUniversal
73 | second:
74 | enabled: 0
75 | settings:
76 | CPU: None
77 | - first:
78 | Standalone: OSXUniversal
79 | second:
80 | enabled: 0
81 | settings:
82 | CPU: AnyCPU
83 | - first:
84 | Standalone: Win
85 | second:
86 | enabled: 0
87 | settings:
88 | CPU: AnyCPU
89 | - first:
90 | Standalone: Win64
91 | second:
92 | enabled: 0
93 | settings:
94 | CPU: AnyCPU
95 | - first:
96 | Windows Store Apps: WindowsStoreApps
97 | second:
98 | enabled: 1
99 | settings:
100 | CPU: AnyCPU
101 | DontProcess: false
102 | PlaceholderPath:
103 | SDK: UWP
104 | ScriptingBackend: AnyScriptingBackend
105 | userData:
106 | assetBundleName:
107 | assetBundleVariant:
108 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/UnityChat.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/UnityChat.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/UnityChat.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ad95884e0829e154c91dfbd5bdb30b78
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 0
20 | Exclude Editor: 0
21 | Exclude Linux: 0
22 | Exclude Linux64: 0
23 | Exclude LinuxUniversal: 0
24 | Exclude OSXUniversal: 0
25 | Exclude WebGL: 0
26 | Exclude Win: 0
27 | Exclude Win64: 0
28 | Exclude WindowsStoreApps: 1
29 | Exclude iOS: 1
30 | - first:
31 | Android: Android
32 | second:
33 | enabled: 1
34 | settings:
35 | CPU: ARMv7
36 | - first:
37 | Any:
38 | second:
39 | enabled: 1
40 | settings: {}
41 | - first:
42 | Editor: Editor
43 | second:
44 | enabled: 1
45 | settings:
46 | CPU: AnyCPU
47 | DefaultValueInitialized: true
48 | OS: AnyOS
49 | - first:
50 | Facebook: Win
51 | second:
52 | enabled: 0
53 | settings:
54 | CPU: AnyCPU
55 | - first:
56 | Facebook: Win64
57 | second:
58 | enabled: 0
59 | settings:
60 | CPU: AnyCPU
61 | - first:
62 | Standalone: Linux
63 | second:
64 | enabled: 1
65 | settings:
66 | CPU: x86
67 | - first:
68 | Standalone: Linux64
69 | second:
70 | enabled: 1
71 | settings:
72 | CPU: AnyCPU
73 | - first:
74 | Standalone: LinuxUniversal
75 | second:
76 | enabled: 1
77 | settings: {}
78 | - first:
79 | Standalone: OSXUniversal
80 | second:
81 | enabled: 1
82 | settings:
83 | CPU: AnyCPU
84 | - first:
85 | Standalone: Win
86 | second:
87 | enabled: 1
88 | settings:
89 | CPU: AnyCPU
90 | - first:
91 | Standalone: Win64
92 | second:
93 | enabled: 1
94 | settings:
95 | CPU: AnyCPU
96 | - first:
97 | WebGL: WebGL
98 | second:
99 | enabled: 1
100 | settings: {}
101 | - first:
102 | Windows Store Apps: WindowsStoreApps
103 | second:
104 | enabled: 0
105 | settings:
106 | CPU: AnyCPU
107 | DontProcess: false
108 | PlaceholderPath:
109 | SDK: AnySDK
110 | ScriptingBackend: AnyScriptingBackend
111 | - first:
112 | iPhone: iOS
113 | second:
114 | enabled: 0
115 | settings:
116 | AddToEmbeddedBinaries: false
117 | CPU: AnyCPU
118 | CompileFlags:
119 | FrameworkDependencies:
120 | userData:
121 | assetBundleName:
122 | assetBundleVariant:
123 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/UnityChatEditor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/UnityChatEditor.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/UnityChatEditor.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fc35b1b7db9b36543b6b3ebe1b1c48c8
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 1
20 | Exclude Editor: 0
21 | Exclude Linux: 1
22 | Exclude Linux64: 1
23 | Exclude LinuxUniversal: 1
24 | Exclude OSXUniversal: 1
25 | Exclude Win: 1
26 | Exclude Win64: 1
27 | Exclude WindowsStoreApps: 1
28 | Exclude iOS: 1
29 | - first:
30 | Android: Android
31 | second:
32 | enabled: 0
33 | settings:
34 | CPU: ARMv7
35 | - first:
36 | Any:
37 | second:
38 | enabled: 0
39 | settings: {}
40 | - first:
41 | Editor: Editor
42 | second:
43 | enabled: 1
44 | settings:
45 | CPU: AnyCPU
46 | DefaultValueInitialized: true
47 | OS: AnyOS
48 | - first:
49 | Facebook: Win
50 | second:
51 | enabled: 0
52 | settings:
53 | CPU: AnyCPU
54 | - first:
55 | Facebook: Win64
56 | second:
57 | enabled: 0
58 | settings:
59 | CPU: AnyCPU
60 | - first:
61 | Standalone: Linux
62 | second:
63 | enabled: 0
64 | settings:
65 | CPU: x86
66 | - first:
67 | Standalone: Linux64
68 | second:
69 | enabled: 0
70 | settings:
71 | CPU: AnyCPU
72 | - first:
73 | Standalone: LinuxUniversal
74 | second:
75 | enabled: 0
76 | settings:
77 | CPU: None
78 | - first:
79 | Standalone: OSXUniversal
80 | second:
81 | enabled: 0
82 | settings:
83 | CPU: AnyCPU
84 | - first:
85 | Standalone: Win
86 | second:
87 | enabled: 0
88 | settings:
89 | CPU: AnyCPU
90 | - first:
91 | Standalone: Win64
92 | second:
93 | enabled: 0
94 | settings:
95 | CPU: AnyCPU
96 | - first:
97 | Windows Store Apps: WindowsStoreApps
98 | second:
99 | enabled: 0
100 | settings:
101 | CPU: AnyCPU
102 | DontProcess: false
103 | PlaceholderPath:
104 | SDK: AnySDK
105 | ScriptingBackend: AnyScriptingBackend
106 | - first:
107 | iPhone: iOS
108 | second:
109 | enabled: 0
110 | settings:
111 | AddToEmbeddedBinaries: false
112 | CompileFlags:
113 | FrameworkDependencies:
114 | userData:
115 | assetBundleName:
116 | assetBundleVariant:
117 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/UnityChatSDK.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/UnityChatSDK.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/UnityChatSDK.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ecd4a47feabb395498e4477b400927c9
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 1
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | - first:
26 | Windows Store Apps: WindowsStoreApps
27 | second:
28 | enabled: 0
29 | settings:
30 | CPU: AnyCPU
31 | userData:
32 | assetBundleName:
33 | assetBundleVariant:
34 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 89a1d401ea3b2cf4e8d6678b2d2edcd5
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Plugins.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2792c0d02270d2349a3e537c71ca7f2a
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Plugins/WebGL.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4a20a3aeb47814b4580850e701f57400
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Plugins/WebGL/Native.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b68de195e9658f243853ac242830d45a
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Plugins/WebGL/Native/mic-worklet-processor.js:
--------------------------------------------------------------------------------
1 |
2 | class MicrophoneWorkletProcessor extends AudioWorkletProcessor {
3 | static get parameterDescriptors() {
4 | return [{
5 | name: 'isRecording',
6 | defaultValue: 0
7 | }];
8 | }
9 |
10 | constructor() {
11 | super();
12 | this._bufferSize = 4096;
13 | this._buffer = new Float32Array(this._bufferSize);
14 | this._initBuffer();
15 |
16 | this.recording = false;
17 | }
18 |
19 | _initBuffer() {
20 | this._bytesWritten = 0;
21 | }
22 |
23 | _isBufferEmpty() {
24 | return this._bytesWritten === 0;
25 | }
26 |
27 | _isBufferFull() {
28 | return this._bytesWritten === this._bufferSize;
29 | }
30 |
31 | _appendToBuffer(value) {
32 | if (this._isBufferFull()) {
33 | this._flush();
34 | }
35 |
36 | this._buffer[this._bytesWritten] = value;
37 | this._bytesWritten += 1;
38 | }
39 |
40 | _flush() {
41 | let buffer = this._buffer;
42 | if (this._bytesWritten < this._bufferSize) {
43 | buffer = buffer.slice(0, this._bytesWritten);
44 | }
45 |
46 | this.port.postMessage({
47 | eventType: 'data',
48 | audioBuffer: buffer
49 | });
50 |
51 | this._initBuffer();
52 | }
53 |
54 | _recordingStopped() {
55 | this.port.postMessage({
56 | eventType: 'stop'
57 | });
58 | this.recording = false;
59 | }
60 |
61 | _recordingStarted() {
62 | this.port.postMessage({
63 | eventType: 'start'
64 | });
65 | this.recording = true;
66 | }
67 |
68 | process(inputs, outputs, parameters) {
69 | const isRecordingValues = parameters.isRecording;
70 |
71 | for (let i = 0; i < isRecordingValues.length; i++) {
72 | const shouldRecord = isRecordingValues[i] === 1;
73 |
74 | if(shouldRecord && !this.recording){
75 | this._recordingStarted();
76 | }
77 |
78 | if (!shouldRecord && !this._isBufferEmpty()) {
79 | this._flush();
80 | }
81 |
82 | if(!shouldRecord && this.recording){
83 | this._recordingStopped();
84 | }
85 |
86 | if (this.recording) {
87 | if(inputs.length > 0){
88 | if(inputs[0].length > 0){
89 | this._appendToBuffer(inputs[0][0][i]);
90 | }
91 | }
92 | }
93 | }
94 |
95 | return true;
96 | }
97 | }
98 |
99 | registerProcessor('microphone-worklet', MicrophoneWorkletProcessor);
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Plugins/WebGL/Native/mic-worklet-processor.js.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e7af52ee22ae1cf4a806b8a1de99305b
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Plugins/WebGL/Native/microphone.js.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9c55fb5dc7048f447a2c1c1e3ae1b423
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Plugins/WebGL/Native/unity-webgl-tools.js:
--------------------------------------------------------------------------------
1 | class UnityWebGLTools {
2 | static callUnityCallback(callback, object){
3 | document.callUnityCallback(callback, object);
4 | }
5 |
6 | static objectToJSON(object){
7 | return JSON.stringify(object);
8 | }
9 |
10 | static getPtrFromString(str) {
11 | return document.getPtrFromString(str);
12 | }
13 |
14 | static getStringFromPtr(ptr) {
15 | return document.getStringFromPtr(ptr);
16 | }
17 |
18 | static isMobileDevice() { return !!(/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(navigator.userAgent || '')); }
19 |
20 | static isEdge() { return navigator.userAgent.indexOf('Edge') !== -1 && (!!navigator.msSaveOrOpenBlob || !!navigator.msSaveBlob); }
21 |
22 | static isOpera() { return !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0; }
23 |
24 | static isFirefox() { return navigator.userAgent.toLowerCase().indexOf('firefox') > -1 && ('netscape' in window) && / rv:/.test(navigator.userAgent); }
25 |
26 | static isSafari() { return /^((?!chrome|android).)*safari/i.test(navigator.userAgent); }
27 |
28 | static isChrome() { return !!window.chrome && !isOpera; }
29 |
30 | static isIE() { return typeof document !== 'undefined' && !!document.documentMode && !isEdge; }
31 | }
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Plugins/WebGL/Native/unity-webgl-tools.js.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cc8e12951c7e25147b952a272bbcdf39
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Plugins/WebGL/microphone-bridge.jslib.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 86d6bf245a753c5488066f7f977177fd
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 0
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | - first:
26 | WebGL: WebGL
27 | second:
28 | enabled: 1
29 | settings: {}
30 | userData:
31 | assetBundleName:
32 | assetBundleVariant:
33 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f747b915e6c6332488b7f117eaab9c08
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Scripts/CustomMicrophone.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 335574f58711c2644affff79b90356a3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Scripts/Microphone.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 575470e11afe3534bba2d8ca16e5e62c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebGL/Scripts/UnityChatSdkProxy.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2e48a6e4cde635745941aa4cb6f9c038
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebRtcProcess.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/WebRtcProcess.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/WebRtcProcess.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cf5d0430776142b4abcf53b97480a531
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 1
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | - first:
26 | Windows Store Apps: WindowsStoreApps
27 | second:
28 | enabled: 0
29 | settings:
30 | CPU: AnyCPU
31 | userData:
32 | assetBundleName:
33 | assetBundleVariant:
34 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/iOS.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9d3b199d3a1d74644831d88ebd07126a
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/iOS/ChatiOS.m:
--------------------------------------------------------------------------------
1 |
2 | #import "ChatiOSSet.h"
3 | #import
4 |
5 | void _forceToSpeaker() {
6 |
7 | if (_headsetConnected()) {
8 | return;
9 | }
10 |
11 | UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker;
12 | AudioSessionSetProperty(kAudioSessionProperty_OverrideAudioRoute,
13 | sizeof(audioRouteOverride),
14 | &audioRouteOverride);
15 | }
16 |
17 | void _forceToHeadset() {
18 |
19 | if (_headsetConnected()) {
20 | return;
21 | }
22 |
23 | UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_None;
24 | AudioSessionSetProperty(kAudioSessionProperty_OverrideAudioRoute,
25 | sizeof(audioRouteOverride),
26 | &audioRouteOverride);
27 | }
28 |
29 |
30 | bool _headsetConnected() {
31 |
32 | UInt32 routeSize = sizeof(CFStringRef);
33 | CFStringRef route = NULL;
34 | OSStatus error = AudioSessionGetProperty(kAudioSessionProperty_AudioRoute, &routeSize, &route);
35 |
36 | if (!error &&
37 | (route != NULL)&&
38 | ([(__bridge NSString*)route rangeOfString:@"Head"].location != NSNotFound))
39 | {
40 | return true;
41 | }
42 | return false;
43 | }
44 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/iOS/ChatiOS.m.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b975f178a6d28f04594f478fc908cd43
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 0
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | - first:
26 | iPhone: iOS
27 | second:
28 | enabled: 1
29 | settings: {}
30 | - first:
31 | tvOS: tvOS
32 | second:
33 | enabled: 1
34 | settings: {}
35 | userData:
36 | assetBundleName:
37 | assetBundleVariant:
38 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/iOS/ChatiOSSet.h:
--------------------------------------------------------------------------------
1 |
2 | #import
3 |
4 | void _forceToSpeaker();
5 | void _forceToHeadset();
6 | bool _headsetConnected();
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/iOS/ChatiOSSet.h.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f70503709d259c44ea4c15f5743c7cb4
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 1
20 | Exclude Editor: 1
21 | Exclude Linux64: 1
22 | Exclude OSXUniversal: 1
23 | Exclude Win: 1
24 | Exclude Win64: 1
25 | Exclude WindowsStoreApps: 1
26 | Exclude iOS: 0
27 | - first:
28 | Android: Android
29 | second:
30 | enabled: 0
31 | settings:
32 | CPU: ARMv7
33 | - first:
34 | Any:
35 | second:
36 | enabled: 0
37 | settings: {}
38 | - first:
39 | Editor: Editor
40 | second:
41 | enabled: 0
42 | settings:
43 | CPU: AnyCPU
44 | DefaultValueInitialized: true
45 | OS: AnyOS
46 | - first:
47 | Standalone: Linux64
48 | second:
49 | enabled: 0
50 | settings:
51 | CPU: None
52 | - first:
53 | Standalone: OSXUniversal
54 | second:
55 | enabled: 0
56 | settings:
57 | CPU: None
58 | - first:
59 | Standalone: Win
60 | second:
61 | enabled: 0
62 | settings:
63 | CPU: None
64 | - first:
65 | Standalone: Win64
66 | second:
67 | enabled: 0
68 | settings:
69 | CPU: None
70 | - first:
71 | Windows Store Apps: WindowsStoreApps
72 | second:
73 | enabled: 0
74 | settings:
75 | CPU: AnyCPU
76 | DontProcess: false
77 | PlaceholderPath:
78 | SDK: AnySDK
79 | ScriptingBackend: AnyScriptingBackend
80 | - first:
81 | iPhone: iOS
82 | second:
83 | enabled: 1
84 | settings:
85 | AddToEmbeddedBinaries: false
86 | CPU: AnyCPU
87 | CompileFlags:
88 | FrameworkDependencies:
89 | userData:
90 | assetBundleName:
91 | assetBundleVariant:
92 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/iOS/UnityChat.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Plugins/iOS/UnityChat.dll
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Plugins/iOS/UnityChat.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: db0839f93f1ff404c91fcbfd141ddd17
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
16 | second:
17 | enabled: 0
18 | settings:
19 | Exclude Android: 1
20 | Exclude Editor: 1
21 | Exclude Linux64: 1
22 | Exclude OSXUniversal: 1
23 | Exclude Win: 1
24 | Exclude Win64: 1
25 | Exclude WindowsStoreApps: 1
26 | Exclude iOS: 0
27 | - first:
28 | Android: Android
29 | second:
30 | enabled: 0
31 | settings:
32 | CPU: ARMv7
33 | - first:
34 | Any:
35 | second:
36 | enabled: 0
37 | settings: {}
38 | - first:
39 | Editor: Editor
40 | second:
41 | enabled: 0
42 | settings:
43 | CPU: AnyCPU
44 | DefaultValueInitialized: true
45 | OS: AnyOS
46 | - first:
47 | Standalone: Linux64
48 | second:
49 | enabled: 0
50 | settings:
51 | CPU: None
52 | - first:
53 | Standalone: OSXUniversal
54 | second:
55 | enabled: 0
56 | settings:
57 | CPU: None
58 | - first:
59 | Standalone: Win
60 | second:
61 | enabled: 0
62 | settings:
63 | CPU: None
64 | - first:
65 | Standalone: Win64
66 | second:
67 | enabled: 0
68 | settings:
69 | CPU: None
70 | - first:
71 | Windows Store Apps: WindowsStoreApps
72 | second:
73 | enabled: 0
74 | settings:
75 | CPU: AnyCPU
76 | DontProcess: false
77 | PlaceholderPath:
78 | SDK: AnySDK
79 | ScriptingBackend: AnyScriptingBackend
80 | - first:
81 | iPhone: iOS
82 | second:
83 | enabled: 1
84 | settings:
85 | AddToEmbeddedBinaries: false
86 | CPU: AnyCPU
87 | CompileFlags:
88 | FrameworkDependencies:
89 | userData:
90 | assetBundleName:
91 | assetBundleVariant:
92 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Resources.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4572b644d50015746a54570e4e1766bf
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Resources/CamCalibrate.shader:
--------------------------------------------------------------------------------
1 | //
2 | // NatCorder
3 | // Copyright (c) 2019 Yusuf Olokoba
4 | //
5 |
6 | Shader "UnityChatSDK/CamCalibrate" {
7 | Properties {
8 | _MainTex ("Texture", 2D) = "white" {}
9 | _Rotation ("Rotation", float) = 0
10 | _Scale ("Scale", float) = 1
11 | }
12 | SubShader {
13 |
14 | Tags {
15 | "Queue"="Transparent"
16 | "RenderType"="Transparent"
17 | "IgnoreProjector"="True"
18 | "PreviewType"="Plane"
19 | "CanUseSpriteAtlas"="True"
20 | }
21 |
22 | Cull Off
23 | ZWrite Off
24 | ZTest Always
25 | Lighting Off
26 | Fog { Mode off }
27 | ZTest[unity_GUIZTestMode]
28 | Blend SrcAlpha OneMinusSrcAlpha
29 |
30 | Pass {
31 | CGPROGRAM
32 | #pragma vertex vert
33 | #pragma fragment frag
34 |
35 | #include "UnityCG.cginc"
36 |
37 | struct appdata {
38 | float4 vertex : POSITION;
39 | float2 uv : TEXCOORD0;
40 | };
41 |
42 | struct v2f {
43 | float2 uv : TEXCOORD0;
44 | float4 vertex : SV_POSITION;
45 | };
46 |
47 | uniform fixed _Rotation, _Scale;
48 |
49 | v2f vert (appdata v) {
50 | v2f o;
51 | o.vertex = UnityObjectToClipPos(v.vertex);
52 | // Rotate and mirror UV
53 | o.uv = v.uv - float2(0.5, 0.5);
54 | float s, c;
55 | sincos(_Rotation, s, c);
56 | float2x2 transform = mul(float2x2(
57 | float2(c, -s),
58 | float2(s, c)
59 | ), float2x2(
60 | float2(_Scale, 0.0),
61 | float2(0.0, 1.0)
62 | ));
63 | o.uv = mul(transform, o.uv) + float2(0.5, 0.5);
64 | return o;
65 | }
66 |
67 | sampler2D _MainTex;
68 |
69 | fixed4 frag (v2f i) : SV_Target {
70 | return tex2D(_MainTex, i.uv);
71 | }
72 | ENDCG
73 | }
74 | }
75 | }
76 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Resources/CamCalibrate.shader.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2cf3765f2edc10249b530ef8e360fecf
3 | ShaderImporter:
4 | externalObjects: {}
5 | defaultTextures: []
6 | nonModifiableTextures: []
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Resources/DropDown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Assets/UnityChatSDK/Resources/DropDown.png
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Resources/New Animation.anim.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 969bc5c326fb725418fb3ad08e4c12ab
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Resources/New Animator Controller.controller:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!91 &9100000
4 | AnimatorController:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_Name: New Animator Controller
10 | serializedVersion: 5
11 | m_AnimatorParameters: []
12 | m_AnimatorLayers:
13 | - serializedVersion: 5
14 | m_Name: Base Layer
15 | m_StateMachine: {fileID: 1107922833931617774}
16 | m_Mask: {fileID: 0}
17 | m_Motions: []
18 | m_Behaviours: []
19 | m_BlendingMode: 0
20 | m_SyncedLayerIndex: -1
21 | m_DefaultWeight: 0
22 | m_IKPass: 0
23 | m_SyncedLayerAffectsTiming: 0
24 | m_Controller: {fileID: 9100000}
25 | --- !u!1102 &1102989994006983890
26 | AnimatorState:
27 | serializedVersion: 6
28 | m_ObjectHideFlags: 1
29 | m_CorrespondingSourceObject: {fileID: 0}
30 | m_PrefabInstance: {fileID: 0}
31 | m_PrefabAsset: {fileID: 0}
32 | m_Name: New Animation
33 | m_Speed: 1
34 | m_CycleOffset: 0
35 | m_Transitions: []
36 | m_StateMachineBehaviours: []
37 | m_Position: {x: 50, y: 50, z: 0}
38 | m_IKOnFeet: 0
39 | m_WriteDefaultValues: 1
40 | m_Mirror: 0
41 | m_SpeedParameterActive: 0
42 | m_MirrorParameterActive: 0
43 | m_CycleOffsetParameterActive: 0
44 | m_TimeParameterActive: 0
45 | m_Motion: {fileID: 7400000, guid: 969bc5c326fb725418fb3ad08e4c12ab, type: 2}
46 | m_Tag:
47 | m_SpeedParameter:
48 | m_MirrorParameter:
49 | m_CycleOffsetParameter:
50 | m_TimeParameter:
51 | --- !u!1107 &1107922833931617774
52 | AnimatorStateMachine:
53 | serializedVersion: 6
54 | m_ObjectHideFlags: 1
55 | m_CorrespondingSourceObject: {fileID: 0}
56 | m_PrefabInstance: {fileID: 0}
57 | m_PrefabAsset: {fileID: 0}
58 | m_Name: Base Layer
59 | m_ChildStates:
60 | - serializedVersion: 1
61 | m_State: {fileID: 1102989994006983890}
62 | m_Position: {x: 200, y: 0, z: 0}
63 | m_ChildStateMachines: []
64 | m_AnyStateTransitions: []
65 | m_EntryTransitions: []
66 | m_StateMachineTransitions: {}
67 | m_StateMachineBehaviours: []
68 | m_AnyStatePosition: {x: 50, y: 20, z: 0}
69 | m_EntryPosition: {x: 50, y: 120, z: 0}
70 | m_ExitPosition: {x: 800, y: 120, z: 0}
71 | m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
72 | m_DefaultState: {fileID: 1102989994006983890}
73 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Resources/New Animator Controller.controller.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 938a686440030bc44be2aa4d0dd7dea7
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Resources/test.mat:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!21 &2100000
4 | Material:
5 | serializedVersion: 6
6 | m_ObjectHideFlags: 0
7 | m_CorrespondingSourceObject: {fileID: 0}
8 | m_PrefabInstance: {fileID: 0}
9 | m_PrefabAsset: {fileID: 0}
10 | m_Name: test
11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12 | m_ShaderKeywords:
13 | m_LightmapFlags: 4
14 | m_EnableInstancingVariants: 0
15 | m_DoubleSidedGI: 0
16 | m_CustomRenderQueue: -1
17 | stringTagMap: {}
18 | disabledShaderPasses: []
19 | m_SavedProperties:
20 | serializedVersion: 3
21 | m_TexEnvs:
22 | - _BumpMap:
23 | m_Texture: {fileID: 0}
24 | m_Scale: {x: 1, y: 1}
25 | m_Offset: {x: 0, y: 0}
26 | - _DetailAlbedoMap:
27 | m_Texture: {fileID: 0}
28 | m_Scale: {x: 1, y: 1}
29 | m_Offset: {x: 0, y: 0}
30 | - _DetailMask:
31 | m_Texture: {fileID: 0}
32 | m_Scale: {x: 1, y: 1}
33 | m_Offset: {x: 0, y: 0}
34 | - _DetailNormalMap:
35 | m_Texture: {fileID: 0}
36 | m_Scale: {x: 1, y: 1}
37 | m_Offset: {x: 0, y: 0}
38 | - _EmissionMap:
39 | m_Texture: {fileID: 0}
40 | m_Scale: {x: 1, y: 1}
41 | m_Offset: {x: 0, y: 0}
42 | - _MainTex:
43 | m_Texture: {fileID: 2800000, guid: a874f41b0dff687498e9fc212cc69716, type: 3}
44 | m_Scale: {x: 1, y: 1}
45 | m_Offset: {x: 0, y: 0}
46 | - _MetallicGlossMap:
47 | m_Texture: {fileID: 0}
48 | m_Scale: {x: 1, y: 1}
49 | m_Offset: {x: 0, y: 0}
50 | - _OcclusionMap:
51 | m_Texture: {fileID: 0}
52 | m_Scale: {x: 1, y: 1}
53 | m_Offset: {x: 0, y: 0}
54 | - _ParallaxMap:
55 | m_Texture: {fileID: 0}
56 | m_Scale: {x: 1, y: 1}
57 | m_Offset: {x: 0, y: 0}
58 | m_Floats:
59 | - _BumpScale: 1
60 | - _Cutoff: 0.5
61 | - _DetailNormalMapScale: 1
62 | - _DstBlend: 0
63 | - _GlossMapScale: 1
64 | - _Glossiness: 0.8
65 | - _GlossyReflections: 1
66 | - _Metallic: 0
67 | - _Mode: 0
68 | - _OcclusionStrength: 1
69 | - _Parallax: 0.02
70 | - _SmoothnessTextureChannel: 0
71 | - _SpecularHighlights: 1
72 | - _SrcBlend: 1
73 | - _UVSec: 0
74 | - _ZWrite: 1
75 | m_Colors:
76 | - _Color: {r: 0.5849056, g: 0.5849056, b: 0.5849056, a: 1}
77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
78 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Resources/test.mat.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ab9ce7e40237eea4184b41c96231c9eb
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Scenes.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fc579a8cae27fe9499a7a72ddd30c9ee
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Scenes/UnityChatSDK_DataHandler.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e2037edd94d4a0a42b18198e6da397ea
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: dcd3783e50b1a4115897e807ca379ee9
3 | folderAsset: yes
4 | timeCreated: 1509636969
5 | licenseType: Store
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Scripts/Editor.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2a9b1e701be3dcb41b995919f03d464f
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Scripts/Editor/UnityChatBuild.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 89792d11b9e533549b2598805705d422
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Scripts/UnityChatDataHandler.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c3ecf9492f8da9b4dabb22f140ee24a7
3 | timeCreated: 1510240179
4 | licenseType: Store
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Scripts/UnityChatSet.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4f4c5fb0a1ede4927bf5b47f4ba5e9d5
3 | timeCreated: 1509632296
4 | licenseType: Store
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Scripts/VideoTexure.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using UnityEngine;
5 | using UnityEngine.UI;
6 |
7 | ///
8 | /// VideoTexure is used to render local and remote video images
9 | ///
10 | public class VideoTexure : MonoBehaviour
11 | {
12 | Renderer render;
13 | RawImage rawImage;
14 | public bool IsSelf;
15 | public int ID;
16 | void Start()
17 | {
18 | render= GetComponent();
19 | rawImage = GetComponent();
20 | SetBlack();
21 | lastVideoTime = DateTime.Now;
22 | }
23 |
24 | float updateTime;
25 | DateTime lastVideoTime;
26 | void Update()
27 | {
28 | if (Time.time - updateTime < 0.03f)
29 | {
30 | return;
31 | }
32 | updateTime = Time.time;
33 |
34 | VideoInfo video;
35 | if (IsSelf)
36 | {
37 | video = UnityChatSDK.Instance.GetSelfTexture();
38 | }
39 | else
40 | {
41 | video = UnityChatSDK.Instance.GetPeerTexture(ID);
42 | }
43 |
44 | if (video == null)
45 | {
46 | if ((DateTime.Now - lastVideoTime).TotalSeconds > 2)
47 | {
48 | SetBlack();
49 | }
50 | return;
51 | }
52 | else
53 | {
54 | lastVideoTime = video.LastTime;
55 | }
56 |
57 | if ((DateTime.Now - video.LastTime).TotalSeconds > 2)
58 | {
59 | SetBlack();
60 | }
61 | else
62 | {
63 | if (render != null)
64 | {
65 | render.material.mainTexture = video.Texture;
66 | }
67 | if (rawImage != null)
68 | {
69 | rawImage.texture = video.Texture; ;
70 | }
71 | }
72 | }
73 |
74 | private void OnDisable()
75 | {
76 | SetBlack();
77 | }
78 | void SetBlack()
79 | {
80 | if (render != null)
81 | {
82 | render.material.mainTexture = UnityChatSDK.Instance.TextureBlack;
83 | }
84 | if (rawImage != null)
85 | {
86 | rawImage.texture = UnityChatSDK.Instance.TextureBlack;
87 | }
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/Assets/UnityChatSDK/Scripts/VideoTexure.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f1da0e970de71b04ab55b4f2b109a248
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/DemoServer.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/DemoServer.zip
--------------------------------------------------------------------------------
/Packages/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "com.unity.collab-proxy": "1.14.18",
4 | "com.unity.ide.rider": "1.2.1",
5 | "com.unity.ide.visualstudio": "2.0.15",
6 | "com.unity.ide.vscode": "1.2.5",
7 | "com.unity.test-framework": "1.1.31",
8 | "com.unity.textmeshpro": "2.1.6",
9 | "com.unity.timeline": "1.2.18",
10 | "com.unity.ugui": "1.0.0",
11 | "com.unity.modules.ai": "1.0.0",
12 | "com.unity.modules.androidjni": "1.0.0",
13 | "com.unity.modules.animation": "1.0.0",
14 | "com.unity.modules.assetbundle": "1.0.0",
15 | "com.unity.modules.audio": "1.0.0",
16 | "com.unity.modules.cloth": "1.0.0",
17 | "com.unity.modules.director": "1.0.0",
18 | "com.unity.modules.imageconversion": "1.0.0",
19 | "com.unity.modules.imgui": "1.0.0",
20 | "com.unity.modules.jsonserialize": "1.0.0",
21 | "com.unity.modules.particlesystem": "1.0.0",
22 | "com.unity.modules.physics": "1.0.0",
23 | "com.unity.modules.physics2d": "1.0.0",
24 | "com.unity.modules.screencapture": "1.0.0",
25 | "com.unity.modules.terrain": "1.0.0",
26 | "com.unity.modules.terrainphysics": "1.0.0",
27 | "com.unity.modules.tilemap": "1.0.0",
28 | "com.unity.modules.ui": "1.0.0",
29 | "com.unity.modules.uielements": "1.0.0",
30 | "com.unity.modules.umbra": "1.0.0",
31 | "com.unity.modules.unityanalytics": "1.0.0",
32 | "com.unity.modules.unitywebrequest": "1.0.0",
33 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
34 | "com.unity.modules.unitywebrequestaudio": "1.0.0",
35 | "com.unity.modules.unitywebrequesttexture": "1.0.0",
36 | "com.unity.modules.unitywebrequestwww": "1.0.0",
37 | "com.unity.modules.vehicles": "1.0.0",
38 | "com.unity.modules.video": "1.0.0",
39 | "com.unity.modules.vr": "1.0.0",
40 | "com.unity.modules.wind": "1.0.0",
41 | "com.unity.modules.xr": "1.0.0"
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!11 &1
4 | AudioManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Volume: 1
8 | Rolloff Scale: 1
9 | Doppler Factor: 1
10 | Default Speaker Mode: 2
11 | m_SampleRate: 0
12 | m_DSPBufferSize: 256
13 | m_VirtualVoiceCount: 512
14 | m_RealVoiceCount: 32
15 | m_EnableOutputSuspension: 1
16 | m_SpatializerPlugin:
17 | m_AmbisonicDecoderPlugin:
18 | m_DisableAudio: 0
19 | m_VirtualizeEffects: 1
20 | m_RequestedDSPBufferSize: 256
21 |
--------------------------------------------------------------------------------
/ProjectSettings/ClusterInputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!236 &1
4 | ClusterInputManager:
5 | m_ObjectHideFlags: 0
6 | m_Inputs: []
7 |
--------------------------------------------------------------------------------
/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!55 &1
4 | PhysicsManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 7
7 | m_Gravity: {x: 0, y: -9.81, z: 0}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_BounceThreshold: 2
10 | m_SleepThreshold: 0.005
11 | m_DefaultContactOffset: 0.01
12 | m_DefaultSolverIterations: 6
13 | m_DefaultSolverVelocityIterations: 1
14 | m_QueriesHitBackfaces: 0
15 | m_QueriesHitTriggers: 1
16 | m_EnableAdaptiveForce: 0
17 | m_ClothInterCollisionDistance: 0
18 | m_ClothInterCollisionStiffness: 0
19 | m_ContactsGeneration: 1
20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
21 | m_AutoSimulation: 1
22 | m_AutoSyncTransforms: 1
23 | m_ClothInterCollisionSettingsToggle: 0
24 | m_ContactPairsMode: 0
25 | m_BroadphaseType: 0
26 | m_WorldBounds:
27 | m_Center: {x: 0, y: 0, z: 0}
28 | m_Extent: {x: 250, y: 250, z: 250}
29 | m_WorldSubdivisions: 8
30 |
--------------------------------------------------------------------------------
/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1045 &1
4 | EditorBuildSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Scenes:
8 | - enabled: 1
9 | path: Assets/UnityChatDemo(Can be deleted)/Scenes/UnityChatDemo_Android IOS PC.unity
10 | guid: 864f88351db915b4e8da82a6c92b79aa
11 | - enabled: 0
12 | path: Assets/UnityChatDemo(Can be deleted)/Scenes/UnityChatDemo_WebGL.unity
13 | guid: 6df117f0857832949955c3eb16b4fd76
14 | m_configObjects: {}
15 |
--------------------------------------------------------------------------------
/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!159 &1
4 | EditorSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 9
7 | m_ExternalVersionControlSupport: Visible Meta Files
8 | m_SerializationMode: 2
9 | m_LineEndingsForNewScripts: 2
10 | m_DefaultBehaviorMode: 0
11 | m_PrefabRegularEnvironment: {fileID: 0}
12 | m_PrefabUIEnvironment: {fileID: 0}
13 | m_SpritePackerMode: 0
14 | m_SpritePackerPaddingPower: 1
15 | m_EtcTextureCompressorBehavior: 1
16 | m_EtcTextureFastCompressor: 1
17 | m_EtcTextureNormalCompressor: 2
18 | m_EtcTextureBestCompressor: 4
19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmref
20 | m_ProjectGenerationRootNamespace:
21 | m_CollabEditorSettings:
22 | inProgressEnabled: 1
23 | m_EnableTextureStreamingInEditMode: 1
24 | m_EnableTextureStreamingInPlayMode: 1
25 | m_AsyncShaderCompilation: 1
26 | m_EnterPlayModeOptionsEnabled: 0
27 | m_EnterPlayModeOptions: 3
28 | m_ShowLightmapResolutionOverlay: 1
29 | m_UseLegacyProbeSampleCount: 1
30 | m_AssetPipelineMode: 1
31 | m_CacheServerMode: 0
32 | m_CacheServerEndpoint:
33 | m_CacheServerNamespacePrefix: default
34 | m_CacheServerEnableDownload: 1
35 | m_CacheServerEnableUpload: 1
36 |
--------------------------------------------------------------------------------
/ProjectSettings/GraphicsSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!30 &1
4 | GraphicsSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 13
7 | m_Deferred:
8 | m_Mode: 1
9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
10 | m_DeferredReflections:
11 | m_Mode: 1
12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0}
13 | m_ScreenSpaceShadows:
14 | m_Mode: 1
15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
16 | m_LegacyDeferred:
17 | m_Mode: 1
18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
19 | m_DepthNormals:
20 | m_Mode: 1
21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0}
22 | m_MotionVectors:
23 | m_Mode: 1
24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0}
25 | m_LightHalo:
26 | m_Mode: 1
27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0}
28 | m_LensFlare:
29 | m_Mode: 1
30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
31 | m_AlwaysIncludedShaders:
32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
38 | - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
39 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
40 | - {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
41 | m_PreloadedShaders: []
42 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
43 | type: 0}
44 | m_CustomRenderPipeline: {fileID: 0}
45 | m_TransparencySortMode: 0
46 | m_TransparencySortAxis: {x: 0, y: 0, z: 1}
47 | m_DefaultRenderingPath: 1
48 | m_DefaultMobileRenderingPath: 1
49 | m_TierSettings: []
50 | m_LightmapStripping: 0
51 | m_FogStripping: 0
52 | m_InstancingStripping: 0
53 | m_LightmapKeepPlain: 1
54 | m_LightmapKeepDirCombined: 1
55 | m_LightmapKeepDynamicPlain: 1
56 | m_LightmapKeepDynamicDirCombined: 1
57 | m_LightmapKeepShadowMask: 1
58 | m_LightmapKeepSubtractive: 1
59 | m_FogKeepLinear: 1
60 | m_FogKeepExp: 1
61 | m_FogKeepExp2: 1
62 | m_AlbedoSwatchInfos: []
63 | m_LightsUseLinearIntensity: 0
64 | m_LightsUseColorTemperature: 0
65 | m_LogWhenShaderIsCompiled: 0
66 | m_AllowEnlightenSupportForUpgradedProject: 1
67 |
--------------------------------------------------------------------------------
/ProjectSettings/NavMeshAreas.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!126 &1
4 | NavMeshProjectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | areas:
8 | - name: Walkable
9 | cost: 1
10 | - name: Not Walkable
11 | cost: 1
12 | - name: Jump
13 | cost: 2
14 | - name:
15 | cost: 1
16 | - name:
17 | cost: 1
18 | - name:
19 | cost: 1
20 | - name:
21 | cost: 1
22 | - name:
23 | cost: 1
24 | - name:
25 | cost: 1
26 | - name:
27 | cost: 1
28 | - name:
29 | cost: 1
30 | - name:
31 | cost: 1
32 | - name:
33 | cost: 1
34 | - name:
35 | cost: 1
36 | - name:
37 | cost: 1
38 | - name:
39 | cost: 1
40 | - name:
41 | cost: 1
42 | - name:
43 | cost: 1
44 | - name:
45 | cost: 1
46 | - name:
47 | cost: 1
48 | - name:
49 | cost: 1
50 | - name:
51 | cost: 1
52 | - name:
53 | cost: 1
54 | - name:
55 | cost: 1
56 | - name:
57 | cost: 1
58 | - name:
59 | cost: 1
60 | - name:
61 | cost: 1
62 | - name:
63 | cost: 1
64 | - name:
65 | cost: 1
66 | - name:
67 | cost: 1
68 | - name:
69 | cost: 1
70 | - name:
71 | cost: 1
72 | m_LastAgentTypeID: -887442657
73 | m_Settings:
74 | - serializedVersion: 2
75 | agentTypeID: 0
76 | agentRadius: 0.5
77 | agentHeight: 2
78 | agentSlope: 45
79 | agentClimb: 0.75
80 | ledgeDropHeight: 0
81 | maxJumpAcrossDistance: 0
82 | minRegionArea: 2
83 | manualCellSize: 0
84 | cellSize: 0.16666667
85 | manualTileSize: 0
86 | tileSize: 256
87 | accuratePlacement: 0
88 | debug:
89 | m_Flags: 0
90 | m_SettingNames:
91 | - Humanoid
92 |
--------------------------------------------------------------------------------
/ProjectSettings/NetworkManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!149 &1
4 | NetworkManager:
5 | m_ObjectHideFlags: 0
6 | m_DebugLevel: 0
7 | m_Sendrate: 15
8 | m_AssetToPrefab: {}
9 |
--------------------------------------------------------------------------------
/ProjectSettings/PackageManagerSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | m_ScopedRegistriesSettingsExpanded: 1
16 | oneTimeWarningShown: 0
17 | m_Registries:
18 | - m_Id: main
19 | m_Name:
20 | m_Url: https://packages.unity.com
21 | m_Scopes: []
22 | m_IsDefault: 1
23 | m_UserSelectedRegistryName:
24 | m_UserAddingNewScopedRegistry: 0
25 | m_RegistryInfoDraft:
26 | m_ErrorMessage:
27 | m_Original:
28 | m_Id:
29 | m_Name:
30 | m_Url:
31 | m_Scopes: []
32 | m_IsDefault: 0
33 | m_Modified: 0
34 | m_Name:
35 | m_Url:
36 | m_Scopes:
37 | -
38 | m_SelectedScopeIndex: 0
39 |
--------------------------------------------------------------------------------
/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!19 &1
4 | Physics2DSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 3
7 | m_Gravity: {x: 0, y: -9.81}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_VelocityIterations: 8
10 | m_PositionIterations: 3
11 | m_VelocityThreshold: 1
12 | m_MaxLinearCorrection: 0.2
13 | m_MaxAngularCorrection: 8
14 | m_MaxTranslationSpeed: 100
15 | m_MaxRotationSpeed: 360
16 | m_BaumgarteScale: 0.2
17 | m_BaumgarteTimeOfImpactScale: 0.75
18 | m_TimeToSleep: 0.5
19 | m_LinearSleepTolerance: 0.01
20 | m_AngularSleepTolerance: 2
21 | m_DefaultContactOffset: 0.01
22 | m_AutoSimulation: 1
23 | m_QueriesHitTriggers: 1
24 | m_QueriesStartInColliders: 1
25 | m_ChangeStopsCallbacks: 0
26 | m_CallbacksOnDisable: 1
27 | m_AutoSyncTransforms: 1
28 | m_AlwaysShowColliders: 0
29 | m_ShowColliderSleep: 1
30 | m_ShowColliderContacts: 0
31 | m_ShowColliderAABB: 0
32 | m_ContactArrowScale: 0.2
33 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
34 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
35 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
36 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
37 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
38 |
--------------------------------------------------------------------------------
/ProjectSettings/PresetManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1386491679 &1
4 | PresetManager:
5 | m_ObjectHideFlags: 0
6 | m_DefaultList:
7 | - type:
8 | m_NativeTypeID: 108
9 | m_ManagedTypePPtr: {fileID: 0}
10 | m_ManagedTypeFallback:
11 | defaultPresets:
12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea,
13 | type: 2}
14 | - type:
15 | m_NativeTypeID: 1020
16 | m_ManagedTypePPtr: {fileID: 0}
17 | m_ManagedTypeFallback:
18 | defaultPresets:
19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6,
20 | type: 2}
21 | - type:
22 | m_NativeTypeID: 1006
23 | m_ManagedTypePPtr: {fileID: 0}
24 | m_ManagedTypeFallback:
25 | defaultPresets:
26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9,
27 | type: 2}
28 |
--------------------------------------------------------------------------------
/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 2019.4.40f1
2 | m_EditorVersionWithRevision: 2019.4.40f1 (ffc62b691db5)
3 |
--------------------------------------------------------------------------------
/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!78 &1
4 | TagManager:
5 | serializedVersion: 2
6 | tags: []
7 | layers:
8 | - Default
9 | - TransparentFX
10 | - Ignore Raycast
11 | -
12 | - Water
13 | - UI
14 | -
15 | -
16 | -
17 | -
18 | -
19 | -
20 | -
21 | -
22 | -
23 | -
24 | -
25 | -
26 | -
27 | -
28 | -
29 | -
30 | -
31 | -
32 | -
33 | -
34 | -
35 | -
36 | -
37 | -
38 | -
39 | -
40 | m_SortingLayers:
41 | - name: Default
42 | uniqueID: 0
43 | locked: 0
44 |
--------------------------------------------------------------------------------
/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!5 &1
4 | TimeManager:
5 | m_ObjectHideFlags: 0
6 | Fixed Timestep: 0.025
7 | Maximum Allowed Timestep: 1
8 | m_TimeScale: 1
9 | Maximum Particle Timestep: 1
10 |
--------------------------------------------------------------------------------
/ProjectSettings/UnityConnectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!310 &1
4 | UnityConnectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 1
7 | m_Enabled: 1
8 | m_TestMode: 0
9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com
12 | m_TestInitMode: 0
13 | CrashReportingSettings:
14 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes
15 | m_Enabled: 0
16 | m_LogBufferSize: 10
17 | m_CaptureEditorExceptions: 1
18 | UnityPurchasingSettings:
19 | m_Enabled: 0
20 | m_TestMode: 0
21 | UnityAnalyticsSettings:
22 | m_Enabled: 1
23 | m_TestMode: 0
24 | m_InitializeOnStartup: 1
25 | UnityAdsSettings:
26 | m_Enabled: 0
27 | m_InitializeOnStartup: 1
28 | m_TestMode: 0
29 | m_IosGameId:
30 | m_AndroidGameId:
31 | m_GameIds: {}
32 | m_GameId:
33 | PerformanceReportingSettings:
34 | m_Enabled: 0
35 |
--------------------------------------------------------------------------------
/ProjectSettings/VFXManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!937362698 &1
4 | VFXManager:
5 | m_ObjectHideFlags: 0
6 | m_IndirectShader: {fileID: 0}
7 | m_CopyBufferShader: {fileID: 0}
8 | m_SortShader: {fileID: 0}
9 | m_StripUpdateShader: {fileID: 0}
10 | m_RenderPipeSettingsPath:
11 | m_FixedTimeStep: 0.016666668
12 | m_MaxDeltaTime: 0.05
13 |
--------------------------------------------------------------------------------
/ProjectSettings/XRSettings.asset:
--------------------------------------------------------------------------------
1 | {
2 | "m_SettingKeys": [
3 | "VR Device Disabled",
4 | "VR Device User Alert"
5 | ],
6 | "m_SettingValues": [
7 | "False",
8 | "False"
9 | ]
10 | }
--------------------------------------------------------------------------------
/Readme/Images/SDK/Logo_title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Readme/Images/SDK/Logo_title.png
--------------------------------------------------------------------------------
/Readme/Images/SDK/pay.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Readme/Images/SDK/pay.gif
--------------------------------------------------------------------------------
/Readme/Images/SDK/pay.zh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Readme/Images/SDK/pay.zh.png
--------------------------------------------------------------------------------
/Readme/Images/Screenshoots/01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Readme/Images/Screenshoots/01.jpg
--------------------------------------------------------------------------------
/Readme/Images/Screenshoots/02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Readme/Images/Screenshoots/02.jpg
--------------------------------------------------------------------------------
/Readme/Images/Screenshoots/03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Readme/Images/Screenshoots/03.jpg
--------------------------------------------------------------------------------
/Readme/Images/Screenshoots/04.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Readme/Images/Screenshoots/04.jpg
--------------------------------------------------------------------------------
/Readme/Images/Screenshoots/05.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Readme/Images/Screenshoots/05.jpg
--------------------------------------------------------------------------------
/Readme/Images/Screenshoots/06.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Readme/Images/Screenshoots/06.jpg
--------------------------------------------------------------------------------
/Readme/ReadMe.txt:
--------------------------------------------------------------------------------
1 | Unity Video Chat SDK
2 | https://github.com/ShanguUncle/UnityChatSDK
3 |
4 | Unity Video Chat SDK supports UnityEditor,Android,iOS,Windows,UWP(Hololens1&2),MR/AR/VR Glasses...
5 | Multiple video types:device camera/unity camera/custom texture.
6 | The interface is simple, the video/audio capture and codec are separated, you can insert the sdk to your own network easily.
7 |
8 | Support Unity editor, Android, iOS, Windows, UWP.
9 | Support multiple video types:device camera/unity camera/custom texture.
10 | Support VR,AR,MR video(htc/oculus/arfoundation/vuforia/hololens).
11 | Support 180P (320x180), 360P (640x360), 720P (1280x720), 1080P (1920x1080) video resolution.
12 | Support dynamically set video resolution and compression quality
13 | Support one-to-one, one-to-many audio and video chat.
14 | Support server record chat video.
15 |
16 | Support Email:1786570525@qq.com
17 | ==================================
18 | Unity音视频通讯SDK
19 | https://github.com/ShanguUncle/UnityChatSDK
20 |
21 | Unity Video Chat SDK 支持 Unity编辑器,Android,iOS,Windows,UWP(Hololens1&2),MR/AR/VR 眼镜...
22 | 多种视频采集类型:设备摄像头/Unity摄像机/自定义纹理。
23 | 接口简单,将视频/音频捕获和编解码器分离,你可以将sdk轻松接入自己的网络中。
24 |
25 | 支持Unity编辑器, Android, iOS, Windows, UWP平台.
26 | 支持多种视频采集类型:设备摄像头/Unity摄像机/自定义纹理。
27 | 支持VR,AR,MR video(htc/oculus/arfoundation/vuforia/hololens)。
28 | 支持的视频分辨率180P (320x180), 360P (640x360), 720P (1280x720), 1080P (1920x1080)。
29 | 支持动态设置视频分辨率和压缩质量。
30 | 支持一对一,一对多的音频和视频聊天。
31 | 支持服务器录制聊天视频。
32 |
33 | 技术支持:
34 | QQ群 211031265
35 | 教程:https://blog.csdn.net/ShanGuUncle/article/details/81535884
36 |
--------------------------------------------------------------------------------
/Readme/VideoChatSDK.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShanguUncle/UnityChatSDK/0e737e803dd6c97ea533513b253a880b50a2f166/Readme/VideoChatSDK.pdf
--------------------------------------------------------------------------------
/VersionUpdates.md:
--------------------------------------------------------------------------------
1 | ## All Versions
2 |
3 | ### v8.3 (2022/11/10)
4 | - support **webgl**
5 | - added **websocket**network
6 | ### v8.2 (2022/4/16)
7 | - Add **server tcp stream** reliable network
8 | - Fixed **sdk audio caputure** bug
9 | - Optimized **recorded audio decoding**
10 |
11 | ### v8.1 (2021/7/16)
12 | - Fixed **server crash and record crash** bug
13 | - Fixed **memory release on hololens after call** bug
14 | - Fixed **switch device camera resolution** bug
15 | - Add **call self test** toggle
16 | - Added **Texture Convert** demo
17 | - Added **desktop video** feature
18 | - Added **UnityDeskVideo/UnityChatDemo_PC_DeskMode** demo
19 |
20 | ### v7.3 (2021/4/15)
21 |
22 | - Fixed **video codec format** bug
23 |
24 | ### v7.2 (2021/3/5)
25 |
26 | - Update group chat demo UI
27 | - Fixed **server record** encode bug
28 |
29 | ### v7.1 (2021/2/1)
30 |
31 | - Added **group chat** demo
32 | - Udp and Tcp servers are combined into **one server**
33 | - Fixed **memory leak** during Hololens call
34 | - Optimized **udp network** transmission
35 | - Support **vuforia** video
36 |
37 | ### v6.3 (2020/12/17)
38 | - Update the project to **Unity2019.4.11f1**
39 | - Optimize **video codec**
40 |
41 | ### v6.2 (2020/9/28)
42 | - Repaired Holoens packaging error
43 | - Added **voice recording**, sending text, pictures, voice functions and Demo
44 | - Adapted to **Hololens2**
45 |
46 | ### v6.1 (2021/3/31)
47 | - SDK supports **group** audio and video calls
48 | - Fixed **screen rotation** camera problem on ios platform
49 | - Added setting of **front camera**
50 | - SDK codec removes protobuf, any serialization tools are compatible,the demo still use protobuf
51 | - Added unity screen video demo
52 | - Added live demo
53 |
54 | ### v5.3 (2019/11/3)
55 | - Added **custom texture** video mode
56 | - Added **HoloLens holograme** capture Demo
57 |
58 | ### v5.2 (2019/7/20)
59 | - Improved video codec performance
60 | - Solved the problem of camera rotation and mirroring in different devices
61 | - Modified the **Protobuf** protocol to improve compatibility
62 |
63 | ### v5.1 (2019/6/22)
64 | - Optimized audio playback
65 | - Optimized the support for **Hololens**
66 |
67 | ### The End
68 |
--------------------------------------------------------------------------------