Skip to content

Commit 276397b

Browse files
authored
Merge pull request #73 from pusher/update-dotnet-sdk-2-3-1
Add updated Pusher dotnet SDK v2.3.1 + unitypackage
2 parents 591d4b5 + 526d10f commit 276397b

File tree

8 files changed

+82
-81
lines changed

8 files changed

+82
-81
lines changed
Binary file not shown.
Binary file not shown.

BaseProject/UserSettings/Layouts/default-2022.dwlt

Lines changed: 77 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ MonoBehaviour:
1414
m_EditorClassIdentifier:
1515
m_PixelRect:
1616
serializedVersion: 2
17-
x: 10
18-
y: 76
19-
width: 1492
20-
height: 896
17+
x: 173
18+
y: 72
19+
width: 1329
20+
height: 900
2121
m_ShowMode: 4
2222
m_Title: Project
2323
m_RootView: {fileID: 6}
@@ -43,12 +43,12 @@ MonoBehaviour:
4343
serializedVersion: 2
4444
x: 0
4545
y: 30
46-
width: 1492
47-
height: 846
46+
width: 1329
47+
height: 850
4848
m_MinSize: {x: 503, y: 321}
4949
m_MaxSize: {x: 16192, y: 12117}
5050
vertical: 0
51-
controlID: 17
51+
controlID: 39
5252
--- !u!114 &3
5353
MonoBehaviour:
5454
m_ObjectHideFlags: 52
@@ -64,10 +64,10 @@ MonoBehaviour:
6464
m_Children: []
6565
m_Position:
6666
serializedVersion: 2
67-
x: 1139.5
67+
x: 1020
6868
y: 0
69-
width: 352.5
70-
height: 846
69+
width: 309
70+
height: 850
7171
m_MinSize: {x: 276, y: 71}
7272
m_MaxSize: {x: 4001, y: 4021}
7373
m_ActualView: {fileID: 13}
@@ -92,8 +92,8 @@ MonoBehaviour:
9292
serializedVersion: 2
9393
x: 0
9494
y: 0
95-
width: 282.5
96-
height: 501
95+
width: 247
96+
height: 499.5
9797
m_MinSize: {x: 201, y: 221}
9898
m_MaxSize: {x: 4001, y: 4021}
9999
m_ActualView: {fileID: 14}
@@ -117,9 +117,9 @@ MonoBehaviour:
117117
m_Position:
118118
serializedVersion: 2
119119
x: 0
120-
y: 501
121-
width: 1139.5
122-
height: 345
120+
y: 499.5
121+
width: 1020
122+
height: 350.5
123123
m_MinSize: {x: 231, y: 271}
124124
m_MaxSize: {x: 10001, y: 10021}
125125
m_ActualView: {fileID: 12}
@@ -148,8 +148,8 @@ MonoBehaviour:
148148
serializedVersion: 2
149149
x: 0
150150
y: 0
151-
width: 1492
152-
height: 896
151+
width: 1329
152+
height: 900
153153
m_MinSize: {x: 875, y: 300}
154154
m_MaxSize: {x: 10000, y: 10000}
155155
m_UseTopView: 1
@@ -173,7 +173,7 @@ MonoBehaviour:
173173
serializedVersion: 2
174174
x: 0
175175
y: 0
176-
width: 1492
176+
width: 1329
177177
height: 30
178178
m_MinSize: {x: 0, y: 0}
179179
m_MaxSize: {x: 0, y: 0}
@@ -194,8 +194,8 @@ MonoBehaviour:
194194
m_Position:
195195
serializedVersion: 2
196196
x: 0
197-
y: 876
198-
width: 1492
197+
y: 880
198+
width: 1329
199199
height: 20
200200
m_MinSize: {x: 0, y: 0}
201201
m_MaxSize: {x: 0, y: 0}
@@ -218,12 +218,12 @@ MonoBehaviour:
218218
serializedVersion: 2
219219
x: 0
220220
y: 0
221-
width: 1139.5
222-
height: 846
221+
width: 1020
222+
height: 850
223223
m_MinSize: {x: 403, y: 321}
224224
m_MaxSize: {x: 8096, y: 12117}
225225
vertical: 1
226-
controlID: 18
226+
controlID: 40
227227
--- !u!114 &10
228228
MonoBehaviour:
229229
m_ObjectHideFlags: 52
@@ -243,12 +243,12 @@ MonoBehaviour:
243243
serializedVersion: 2
244244
x: 0
245245
y: 0
246-
width: 1139.5
247-
height: 501
246+
width: 1020
247+
height: 499.5
248248
m_MinSize: {x: 403, y: 221}
249249
m_MaxSize: {x: 8003, y: 4021}
250250
vertical: 0
251-
controlID: 19
251+
controlID: 41
252252
--- !u!114 &11
253253
MonoBehaviour:
254254
m_ObjectHideFlags: 52
@@ -259,23 +259,23 @@ MonoBehaviour:
259259
m_Enabled: 1
260260
m_EditorHideFlags: 1
261261
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
262-
m_Name: SceneView
262+
m_Name: GameView
263263
m_EditorClassIdentifier:
264264
m_Children: []
265265
m_Position:
266266
serializedVersion: 2
267-
x: 282.5
267+
x: 247
268268
y: 0
269-
width: 857
270-
height: 501
269+
width: 773
270+
height: 499.5
271271
m_MinSize: {x: 202, y: 221}
272272
m_MaxSize: {x: 4002, y: 4021}
273-
m_ActualView: {fileID: 15}
273+
m_ActualView: {fileID: 16}
274274
m_Panes:
275275
- {fileID: 15}
276276
- {fileID: 16}
277-
m_Selected: 0
278-
m_LastSelected: 1
277+
m_Selected: 1
278+
m_LastSelected: 0
279279
--- !u!114 &12
280280
MonoBehaviour:
281281
m_ObjectHideFlags: 52
@@ -297,10 +297,10 @@ MonoBehaviour:
297297
m_Tooltip:
298298
m_Pos:
299299
serializedVersion: 2
300-
x: 10
301-
y: 607
302-
width: 1138.5
303-
height: 324
300+
x: 173
301+
y: 601.5
302+
width: 1019
303+
height: 329.5
304304
m_ViewDataDictionary: {fileID: 0}
305305
m_OverlayCanvas:
306306
m_LastAppliedPresetName: Default
@@ -330,26 +330,26 @@ MonoBehaviour:
330330
m_LockTracker:
331331
m_IsLocked: 0
332332
m_FolderTreeState:
333-
scrollPos: {x: 0, y: 36}
334-
m_SelectedIDs: 3c580000
335-
m_LastClickedID: 22588
336-
m_ExpandedIDs: 000000003a58000042580000685800007458000000ca9a3bffffff7f
333+
scrollPos: {x: 0, y: 0}
334+
m_SelectedIDs: 66580000
335+
m_LastClickedID: 22630
336+
m_ExpandedIDs: 00000000585800005a5800005c5800005e5800006658000000ca9a3b
337337
m_RenameOverlay:
338338
m_UserAcceptedRename: 0
339-
m_Name:
340-
m_OriginalName:
339+
m_Name: PusherWebsocketUnity
340+
m_OriginalName: PusherWebsocketUnity
341341
m_EditFieldRect:
342342
serializedVersion: 2
343343
x: 0
344344
y: 0
345345
width: 0
346346
height: 0
347-
m_UserData: 0
347+
m_UserData: 22630
348348
m_IsWaitingForDelay: 0
349349
m_IsRenaming: 0
350-
m_OriginalEventType: 11
350+
m_OriginalEventType: 0
351351
m_IsRenamingFilename: 1
352-
m_ClientGUIView: {fileID: 0}
352+
m_ClientGUIView: {fileID: 5}
353353
m_SearchString:
354354
m_CreateAssetUtility:
355355
m_EndAction: {fileID: 0}
@@ -361,7 +361,7 @@ MonoBehaviour:
361361
scrollPos: {x: 0, y: 0}
362362
m_SelectedIDs:
363363
m_LastClickedID: 0
364-
m_ExpandedIDs: 000000003a5800003c580000
364+
m_ExpandedIDs: 00000000585800005a5800005c5800005e580000
365365
m_RenameOverlay:
366366
m_UserAcceptedRename: 0
367367
m_Name:
@@ -438,10 +438,10 @@ MonoBehaviour:
438438
m_Tooltip:
439439
m_Pos:
440440
serializedVersion: 2
441-
x: 1149.5
442-
y: 106
443-
width: 351.5
444-
height: 825
441+
x: 1193
442+
y: 102
443+
width: 308
444+
height: 829
445445
m_ViewDataDictionary: {fileID: 0}
446446
m_OverlayCanvas:
447447
m_LastAppliedPresetName: Default
@@ -480,10 +480,10 @@ MonoBehaviour:
480480
m_Tooltip:
481481
m_Pos:
482482
serializedVersion: 2
483-
x: 10
484-
y: 106
485-
width: 281.5
486-
height: 480
483+
x: 173
484+
y: 102
485+
width: 246
486+
height: 478.5
487487
m_ViewDataDictionary: {fileID: 0}
488488
m_OverlayCanvas:
489489
m_LastAppliedPresetName: Default
@@ -493,7 +493,7 @@ MonoBehaviour:
493493
scrollPos: {x: 0, y: 0}
494494
m_SelectedIDs:
495495
m_LastClickedID: 0
496-
m_ExpandedIDs: 38fbffff
496+
m_ExpandedIDs: 36fbffff
497497
m_RenameOverlay:
498498
m_UserAcceptedRename: 0
499499
m_Name:
@@ -538,10 +538,10 @@ MonoBehaviour:
538538
m_Tooltip:
539539
m_Pos:
540540
serializedVersion: 2
541-
x: 292.5
542-
y: 106
543-
width: 855
544-
height: 480
541+
x: 420
542+
y: 102
543+
width: 771
544+
height: 478.5
545545
m_ViewDataDictionary: {fileID: 0}
546546
m_OverlayCanvas:
547547
m_LastAppliedPresetName: Default
@@ -876,10 +876,10 @@ MonoBehaviour:
876876
m_Tooltip:
877877
m_Pos:
878878
serializedVersion: 2
879-
x: 292.5
880-
y: 106
881-
width: 855
882-
height: 480
879+
x: 420
880+
y: 102
881+
width: 771
882+
height: 478.5
883883
m_ViewDataDictionary: {fileID: 0}
884884
m_OverlayCanvas:
885885
m_LastAppliedPresetName: Default
@@ -890,7 +890,7 @@ MonoBehaviour:
890890
m_ShowGizmos: 0
891891
m_TargetDisplay: 0
892892
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
893-
m_TargetSize: {x: 855, y: 459}
893+
m_TargetSize: {x: 771, y: 457.5}
894894
m_TextureFilterMode: 0
895895
m_TextureHideFlags: 61
896896
m_RenderIMGUI: 1
@@ -910,10 +910,10 @@ MonoBehaviour:
910910
m_VRangeLocked: 0
911911
hZoomLockedByDefault: 0
912912
vZoomLockedByDefault: 0
913-
m_HBaseRangeMin: -213.75
914-
m_HBaseRangeMax: 213.75
915-
m_VBaseRangeMin: -114.75
916-
m_VBaseRangeMax: 114.75
913+
m_HBaseRangeMin: -192.75
914+
m_HBaseRangeMax: 192.75
915+
m_VBaseRangeMin: -114.375
916+
m_VBaseRangeMax: 114.375
917917
m_HAllowExceedBaseRangeMin: 1
918918
m_HAllowExceedBaseRangeMax: 1
919919
m_VAllowExceedBaseRangeMin: 1
@@ -931,23 +931,23 @@ MonoBehaviour:
931931
serializedVersion: 2
932932
x: 0
933933
y: 21
934-
width: 855
935-
height: 459
934+
width: 771
935+
height: 457.5
936936
m_Scale: {x: 2, y: 2}
937-
m_Translation: {x: 427.5, y: 229.5}
937+
m_Translation: {x: 385.5, y: 228.75}
938938
m_MarginLeft: 0
939939
m_MarginRight: 0
940940
m_MarginTop: 0
941941
m_MarginBottom: 0
942942
m_LastShownAreaInsideMargins:
943943
serializedVersion: 2
944-
x: -213.75
945-
y: -114.75
946-
width: 427.5
947-
height: 229.5
944+
x: -192.75
945+
y: -114.375
946+
width: 385.5
947+
height: 228.75
948948
m_MinimalGUI: 1
949949
m_defaultScale: 2
950-
m_LastWindowPixelSize: {x: 1710, y: 960}
950+
m_LastWindowPixelSize: {x: 1542, y: 957}
951951
m_ClearInEditMode: 1
952952
m_NoCameraWarning: 1
953953
m_LowResolutionForAspectRatios: 01000000000000000000
1020 KB
Binary file not shown.
-1.07 MB
Binary file not shown.

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Pusher Channels Unity Client Library
22

3+
34
This library packages [the official WebSocket .NET SDK for Pusher Channels](https://github.com/pusher/pusher-websocket-dotnet) as a `.unitypackage` and an `UPM package` to make it easier to use in [Unity](https://unity.com/) projects. For API documentation, see [the pusher-websocket-dotnet README](https://github.com/pusher/pusher-websocket-dotnet).
45

56
## Repository Structure
@@ -22,10 +23,10 @@ This library packages [the official WebSocket .NET SDK for Pusher Channels](http
2223

2324
### 2 Install
2425
#### 2.1 Install it via unitypackage
25-
2.1.1 - Download the latest `PusherWebsocketUnity-2.3.1.unitypackage` from [releases](/../../releases)<br>
26+
2.1.1 - Download the latest `PusherWebsocketUnity-2.3.1+251003.unitypackage` from [releases](/../../releases)<br>
2627
2.1.2 - Open a new/existing Unity project and make sure it is being opened by a [supported version of Unity](#unity-versions-support)<br>
2728
2.1.3 - [if your Unity version is **2018.x.x**] Make sure that under `Edit -> Project Settings -> Player` the `Configuration -> Scripting Runtime Version` is set to **.NET 4.x Equivalent**.<br>
28-
2.1.4 - Click on `Assets -> Import Package -> Custom Package...`, find and select the `PusherWebsocketUnity-2.3.1.unitypackage` and click *Import* on the `Import Unity Package` window.<br>
29+
2.1.4 - Click on `Assets -> Import Package -> Custom Package...`, find and select the `PusherWebsocketUnity-2.3.1+251003.unitypackage` and click *Import* on the `Import Unity Package` window.<br>
2930

3031
#### 2.2 Install it via Unity Package Manager (UPM)
3132
**WARNING** this method works only if your version of Unity is **2018.3.x or greater**, if you don't satisfy that, use the [unitypackage](#2-install) method.<br>
@@ -35,7 +36,7 @@ This library packages [the official WebSocket .NET SDK for Pusher Channels](http
3536
{
3637
"dependencies": {
3738
...
38-
"com.pusher.pusherwebsocketunity": "https://github.com/pusher/pusher-websocket-unity.git#2.3.1"
39+
"com.pusher.pusherwebsocketunity": "https://github.com/pusher/pusher-websocket-unity.git#2.3.1+251003"
3940
}
4041
}
4142
```
@@ -72,7 +73,7 @@ From:
7273
```
7374
To:
7475
```json
75-
"com.pusher.pusherwebsocketunity": "https://github.com/pusher/pusher-websocket-unity.git#2.3.1"
76+
"com.pusher.pusherwebsocketunity": "https://github.com/pusher/pusher-websocket-unity.git#2.3.1+251003"
7677
```
7778

7879
## Unity Platforms Support

0 commit comments

Comments
 (0)