Skip to content

Commit 1cb0122

Browse files
committed
new-package
1 parent 548e73e commit 1cb0122

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed

Assets/Plugins/GDPlugin.jslib

100644100755
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var functions = {
22
SDK_Init: function(gameKey) {
3-
gameKey = Pointer_stringify(gameKey);
3+
gameKey = UTF8ToString(gameKey);
44
window["GD_OPTIONS"] = {
55
debug: false, // Enable debugging console. This will set a value in local storage as well, remove this value if you don't want debugging at all. You can also call it by running gdsdk.openConsole() within your browser console.
66
gameId: gameKey, // Your gameId which is unique for each one of your games; can be found at your Gamedistribution.com account.
@@ -50,7 +50,7 @@
5050

5151
SDK_ShowAd: function(adType) {
5252
if (typeof gdsdk !== "undefined" && typeof gdsdk.showAd !== "undefined") {
53-
adType=Pointer_stringify(adType)||gdsdk.AdType.Interstitial;
53+
adType=UTF8ToString(adType)||gdsdk.AdType.Interstitial;
5454

5555
gdsdk.showAd(adType)
5656
.then(function(response){
@@ -67,7 +67,7 @@
6767
},
6868

6969
SDK_SendEvent : function(options) {
70-
options = Pointer_stringify(options);
70+
options = UTF8ToString(options);
7171
if (typeof gdsdk !== "undefined" && typeof gdsdk.sendEvent !== "undefined" && typeof options !== "undefined") {
7272
gdsdk.sendEvent(options)
7373
.then(function(response){

UserSettings/Layouts/default-2022.dwlt

100644100755
+39-39
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ MonoBehaviour:
1515
m_PixelRect:
1616
serializedVersion: 2
1717
x: 1728
18-
y: -270
18+
y: -547
1919
width: 2560
20-
height: 1307
20+
height: 1302
2121
m_ShowMode: 4
22-
m_Title: Hierarchy
22+
m_Title: Inspector
2323
m_RootView: {fileID: 6}
2424
m_MinSize: {x: 875, y: 300}
2525
m_MaxSize: {x: 10000, y: 10000}
26-
m_Maximized: 0
26+
m_Maximized: 1
2727
--- !u!114 &2
2828
MonoBehaviour:
2929
m_ObjectHideFlags: 52
@@ -44,11 +44,11 @@ MonoBehaviour:
4444
x: 0
4545
y: 30
4646
width: 2560
47-
height: 1257
47+
height: 1252
4848
m_MinSize: {x: 300, y: 100}
4949
m_MaxSize: {x: 24288, y: 16192}
5050
vertical: 0
51-
controlID: 29
51+
controlID: 20
5252
--- !u!114 &3
5353
MonoBehaviour:
5454
m_ObjectHideFlags: 52
@@ -67,7 +67,7 @@ MonoBehaviour:
6767
x: 1957
6868
y: 0
6969
width: 603
70-
height: 1257
70+
height: 1252
7171
m_MinSize: {x: 276, y: 71}
7272
m_MaxSize: {x: 4001, y: 4021}
7373
m_ActualView: {fileID: 13}
@@ -93,7 +93,7 @@ MonoBehaviour:
9393
x: 0
9494
y: 0
9595
width: 480
96-
height: 794
96+
height: 791
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: 794
120+
y: 791
121121
width: 1957
122-
height: 463
122+
height: 461
123123
m_MinSize: {x: 101, y: 121}
124124
m_MaxSize: {x: 4001, y: 4021}
125125
m_ActualView: {fileID: 17}
@@ -149,7 +149,7 @@ MonoBehaviour:
149149
x: 0
150150
y: 0
151151
width: 2560
152-
height: 1307
152+
height: 1302
153153
m_MinSize: {x: 875, y: 300}
154154
m_MaxSize: {x: 10000, y: 10000}
155155
m_UseTopView: 1
@@ -194,7 +194,7 @@ MonoBehaviour:
194194
m_Position:
195195
serializedVersion: 2
196196
x: 0
197-
y: 1287
197+
y: 1282
198198
width: 2560
199199
height: 20
200200
m_MinSize: {x: 0, y: 0}
@@ -219,11 +219,11 @@ MonoBehaviour:
219219
x: 0
220220
y: 0
221221
width: 1957
222-
height: 1257
222+
height: 1252
223223
m_MinSize: {x: 200, y: 100}
224224
m_MaxSize: {x: 16192, y: 16192}
225225
vertical: 1
226-
controlID: 30
226+
controlID: 21
227227
--- !u!114 &10
228228
MonoBehaviour:
229229
m_ObjectHideFlags: 52
@@ -244,11 +244,11 @@ MonoBehaviour:
244244
x: 0
245245
y: 0
246246
width: 1957
247-
height: 794
247+
height: 791
248248
m_MinSize: {x: 200, y: 50}
249249
m_MaxSize: {x: 16192, y: 8096}
250250
vertical: 0
251-
controlID: 31
251+
controlID: 22
252252
--- !u!114 &11
253253
MonoBehaviour:
254254
m_ObjectHideFlags: 52
@@ -267,7 +267,7 @@ MonoBehaviour:
267267
x: 480
268268
y: 0
269269
width: 1477
270-
height: 794
270+
height: 791
271271
m_MinSize: {x: 202, y: 221}
272272
m_MaxSize: {x: 4002, y: 4021}
273273
m_ActualView: {fileID: 15}
@@ -445,9 +445,9 @@ MonoBehaviour:
445445
m_Pos:
446446
serializedVersion: 2
447447
x: 3685
448-
y: -240
448+
y: -517
449449
width: 602
450-
height: 1236
450+
height: 1231
451451
m_SerializedDataModeController:
452452
m_DataMode: 0
453453
m_PreferredDataMode: 0
@@ -493,9 +493,9 @@ MonoBehaviour:
493493
m_Pos:
494494
serializedVersion: 2
495495
x: 1728
496-
y: -240
496+
y: -517
497497
width: 479
498-
height: 773
498+
height: 770
499499
m_SerializedDataModeController:
500500
m_DataMode: 0
501501
m_PreferredDataMode: 0
@@ -509,9 +509,9 @@ MonoBehaviour:
509509
m_SceneHierarchy:
510510
m_TreeViewState:
511511
scrollPos: {x: 0, y: 0}
512-
m_SelectedIDs: 72560000
513-
m_LastClickedID: 22130
514-
m_ExpandedIDs: b0f8fffff8f8fffff6f9ffff28fbffff
512+
m_SelectedIDs: 32550000
513+
m_LastClickedID: 21810
514+
m_ExpandedIDs: 28fbffff0255000028550000
515515
m_RenameOverlay:
516516
m_UserAcceptedRename: 0
517517
m_Name:
@@ -557,9 +557,9 @@ MonoBehaviour:
557557
m_Pos:
558558
serializedVersion: 2
559559
x: 2208
560-
y: -240
560+
y: -517
561561
width: 1475
562-
height: 773
562+
height: 770
563563
m_SerializedDataModeController:
564564
m_DataMode: 0
565565
m_PreferredDataMode: 0
@@ -1001,10 +1001,10 @@ MonoBehaviour:
10011001
m_VRangeLocked: 0
10021002
hZoomLockedByDefault: 0
10031003
vZoomLockedByDefault: 0
1004-
m_HBaseRangeMin: -736
1005-
m_HBaseRangeMax: 736
1006-
m_VBaseRangeMin: -375.75
1007-
m_VBaseRangeMax: 375.75
1004+
m_HBaseRangeMin: -368
1005+
m_HBaseRangeMax: 368
1006+
m_VBaseRangeMin: -187.875
1007+
m_VBaseRangeMax: 187.875
10081008
m_HAllowExceedBaseRangeMin: 1
10091009
m_HAllowExceedBaseRangeMax: 1
10101010
m_VAllowExceedBaseRangeMin: 1
@@ -1024,21 +1024,21 @@ MonoBehaviour:
10241024
y: 21
10251025
width: 1472
10261026
height: 751.5
1027-
m_Scale: {x: 1, y: 1}
1027+
m_Scale: {x: 2, y: 2}
10281028
m_Translation: {x: 736, y: 375.75}
10291029
m_MarginLeft: 0
10301030
m_MarginRight: 0
10311031
m_MarginTop: 0
10321032
m_MarginBottom: 0
10331033
m_LastShownAreaInsideMargins:
10341034
serializedVersion: 2
1035-
x: -736
1036-
y: -375.75
1037-
width: 1472
1038-
height: 751.5
1035+
x: -368
1036+
y: -187.875
1037+
width: 736
1038+
height: 375.75
10391039
m_MinimalGUI: 1
1040-
m_defaultScale: 1
1041-
m_LastWindowPixelSize: {x: 1472, y: 772.5}
1040+
m_defaultScale: 2
1041+
m_LastWindowPixelSize: {x: 2944, y: 1545}
10421042
m_ClearInEditMode: 1
10431043
m_NoCameraWarning: 1
10441044
m_LowResolutionForAspectRatios: 01000000000000000000
@@ -1066,9 +1066,9 @@ MonoBehaviour:
10661066
m_Pos:
10671067
serializedVersion: 2
10681068
x: 1728
1069-
y: 554
1069+
y: 274
10701070
width: 1956
1071-
height: 442
1071+
height: 440
10721072
m_SerializedDataModeController:
10731073
m_DataMode: 0
10741074
m_PreferredDataMode: 0

gd-unity-lib.unitypackage

16.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)