com.beamable 5.0.0-PREVIEW.RC12 → 5.0.0-PREVIEW.RC13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.attestation.p7m CHANGED
Binary file
@@ -35,7 +35,7 @@ namespace Beamable.Editor.ToolbarExtender
35
35
  BeamableToolbarCallbacks.m_toolbarType.GetMethod("RepaintToolbar", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static).Invoke(null, null);
36
36
  };
37
37
 
38
- BeamGUI.LoadNonConfigurableIcons();
38
+ BeamGUI.LoadNonConfigurableIcons(silentError: true);
39
39
 
40
40
  BeamableToolbarCallbacks.OnToolbarGUI = OnGUI;
41
41
 
@@ -1,3 +1,4 @@
1
+ using System;
1
2
  using System.Linq;
2
3
  using Beamable.Common.Content;
3
4
  using Beamable.Content;
@@ -64,259 +65,298 @@ namespace Beamable.Editor.Util
64
65
  var spinnerIndex = (int)( ((Time.realtimeSinceStartup*12f)+offset) % BeamGUI.unitySpinnerTextures.Length);
65
66
  return unitySpinnerTextures[spinnerIndex];
66
67
  }
67
-
68
- public static void LoadNonConfigurableIcons()
68
+
69
+ public static void LoadNonConfigurableIcons(bool silentError=false)
69
70
  {
70
-
71
- if (unitySpinnerTextures == null)
72
- {
73
- unitySpinnerTextures = new Texture[]
74
- {
75
- EditorGUIUtility.IconContent("WaitSpin00").image,
76
- EditorGUIUtility.IconContent("WaitSpin01").image,
77
- EditorGUIUtility.IconContent("WaitSpin02").image,
78
- EditorGUIUtility.IconContent("WaitSpin03").image,
79
- EditorGUIUtility.IconContent("WaitSpin04").image,
80
- EditorGUIUtility.IconContent("WaitSpin05").image,
81
- EditorGUIUtility.IconContent("WaitSpin06").image,
82
- EditorGUIUtility.IconContent("WaitSpin07").image,
83
- EditorGUIUtility.IconContent("WaitSpin08").image,
84
- EditorGUIUtility.IconContent("WaitSpin09").image,
85
- EditorGUIUtility.IconContent("WaitSpin10").image,
86
- EditorGUIUtility.IconContent("WaitSpin11").image,
87
- };
88
- }
89
-
90
-
91
- if (artGameServers == null)
92
- {
93
- artGameServers =
94
- EditorResources.Load<Texture>(
95
- "Packages/com.beamable/Editor/UI/Common/Icons/beam_art_gameservers.png", true);
96
- }
97
- if (artLiveOps == null)
98
- {
99
- artLiveOps =
100
- EditorResources.Load<Texture>(
101
- "Packages/com.beamable/Editor/UI/Common/Icons/beam_art_liveops.png", true);
102
- }
103
- if (artContent == null)
104
- {
105
- artContent =
106
- EditorResources.Load<Texture>(
107
- "Packages/com.beamable/Editor/UI/Common/Icons/beam_art_game_content.png", true);
108
- }
109
- if (artServerless == null)
71
+ try
110
72
  {
111
- artServerless =
112
- EditorResources.Load<Texture>(
113
- "Packages/com.beamable/Editor/UI/Common/Icons/beam_art_serverless.png", true);
114
- }
73
+ if (unitySpinnerTextures == null)
74
+ {
75
+ unitySpinnerTextures = new Texture[]
76
+ {
77
+ EditorGUIUtility.IconContent("WaitSpin00").image,
78
+ EditorGUIUtility.IconContent("WaitSpin01").image,
79
+ EditorGUIUtility.IconContent("WaitSpin02").image,
80
+ EditorGUIUtility.IconContent("WaitSpin03").image,
81
+ EditorGUIUtility.IconContent("WaitSpin04").image,
82
+ EditorGUIUtility.IconContent("WaitSpin05").image,
83
+ EditorGUIUtility.IconContent("WaitSpin06").image,
84
+ EditorGUIUtility.IconContent("WaitSpin07").image,
85
+ EditorGUIUtility.IconContent("WaitSpin08").image,
86
+ EditorGUIUtility.IconContent("WaitSpin09").image,
87
+ EditorGUIUtility.IconContent("WaitSpin10").image,
88
+ EditorGUIUtility.IconContent("WaitSpin11").image,
89
+ };
90
+ }
91
+
92
+
93
+ if (artGameServers == null)
94
+ {
95
+ artGameServers =
96
+ EditorResources.Load<Texture>(
97
+ "Packages/com.beamable/Editor/UI/Common/Icons/beam_art_gameservers.png", true);
98
+ }
115
99
 
116
- if (loginArts == null)
117
- {
118
- loginArts = new Texture[] {artLiveOps, artGameServers, artContent, artServerless};
119
- }
120
-
121
-
122
- if (iconShadowSoftA == null)
123
- {
124
- iconShadowSoftA =
125
- EditorResources.Load<Texture>(
126
- "Packages/com.beamable/Editor/UI/Common/Icons/softShadow.png", true);
127
- }
128
-
129
-
130
- if (iconLocked == null)
131
- {
132
- iconLocked = EditorGUIUtility.IconContent("Locked").image;
133
- }
100
+ if (artLiveOps == null)
101
+ {
102
+ artLiveOps =
103
+ EditorResources.Load<Texture>(
104
+ "Packages/com.beamable/Editor/UI/Common/Icons/beam_art_liveops.png", true);
105
+ }
134
106
 
107
+ if (artContent == null)
108
+ {
109
+ artContent =
110
+ EditorResources.Load<Texture>(
111
+ "Packages/com.beamable/Editor/UI/Common/Icons/beam_art_game_content.png", true);
112
+ }
135
113
 
136
- if (iconLogoHeader == null)
137
- {
138
- iconLogoHeader =
139
- EditorResources.Load<Texture>(
140
- "Packages/com.beamable/Editor/UI/Login/UI/icon/logo2 L white.png", true);
141
- }
142
- if (iconBeamableSmall == null)
143
- {
144
- iconBeamableSmall =
145
- EditorResources.Load<Texture>(
146
- "Packages/com.beamable/Editor/UI/Common/Icons/beam_icon_small.png", true);
147
- }
148
- if (iconBeamableSmallColor == null)
149
- {
150
- iconBeamableSmallColor =
151
- EditorResources.Load<Texture>(
152
- "Packages/com.beamable/Editor/UI/Common/Icons/beam_icon_small_color.png"
153
- , true);
154
- }
155
-
156
-
157
- if (iconService == null)
158
- {
159
- iconService =
160
- EditorResources.Load<Texture>(
161
- "Packages/com.beamable/Editor/UI/Common/Icons/microservice.png", true);
162
- }
163
-
164
- if (iconStorage == null)
165
- {
166
- iconStorage =
167
- EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/storage.png", true);
168
- }
114
+ if (artServerless == null)
115
+ {
116
+ artServerless =
117
+ EditorResources.Load<Texture>(
118
+ "Packages/com.beamable/Editor/UI/Common/Icons/beam_art_serverless.png", true);
119
+ }
169
120
 
170
- if (iconHelp == null)
171
- {
172
- iconHelp = EditorResources.Load<Texture>(
173
- "Packages/com.beamable/Editor/UI/Toolbox/Icons/Info_Light.png");
174
- }
175
-
176
- if (iconRefresh == null)
177
- {
178
- iconRefresh = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Refresh.png");
179
- }
180
-
181
- if (iconSettings == null)
182
- {
183
- iconSettings = EditorGUIUtility.IconContent("Settings").image;
184
- }
121
+ if (loginArts == null)
122
+ {
123
+ loginArts = new Texture[] {artLiveOps, artGameServers, artContent, artServerless};
124
+ }
185
125
 
186
- if (iconFolder == null)
187
- {
188
- iconFolder = EditorGUIUtility.IconContent("Folder Icon").image;
189
- }
190
126
 
127
+ if (iconShadowSoftA == null)
128
+ {
129
+ iconShadowSoftA =
130
+ EditorResources.Load<Texture>(
131
+ "Packages/com.beamable/Editor/UI/Common/Icons/softShadow.png", true);
132
+ }
191
133
 
192
- if (iconOpenApi == null)
193
- {
194
- iconOpenApi = EditorGUIUtility.IconContent("BuildSettings.Web.Small").image;
195
- }
196
134
 
197
- if (iconOpenMongoExpress == null)
198
- {
199
- iconOpenMongoExpress =
200
- EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Database_light.png", true);
201
- }
135
+ if (iconLocked == null)
136
+ {
137
+ iconLocked = EditorGUIUtility.IconContent("Locked").image;
138
+ }
202
139
 
203
- if (iconOpenProject == null)
204
- {
205
- iconOpenProject = EditorGUIUtility.FindTexture("cs Script Icon");
206
- }
207
- if (iconMoreOptions == null)
208
- {
209
- iconMoreOptions = EditorGUIUtility.IconContent("pane options@2x").image;
210
- }
211
- if (iconPlay == null)
212
- {
213
- iconPlay = EditorGUIUtility.FindTexture("PlayButton");
214
- }
215
140
 
216
- if (iconPlus == null)
217
- {
218
- iconPlus = EditorGUIUtility.IconContent("d_Toolbar Plus@2x").image;
219
- }
141
+ if (iconLogoHeader == null)
142
+ {
143
+ iconLogoHeader =
144
+ EditorResources.Load<Texture>(
145
+ "Packages/com.beamable/Editor/UI/Login/UI/icon/logo2 L white.png", true);
146
+ }
220
147
 
221
- if (iconCheck == null)
222
- {
223
- // iconCheck = EditorGUIUtility.IconContent("d_FilterSelectedOnly@2x").image;
224
- iconCheck = EditorGUIUtility.IconContent("Toggle Icon").image;
225
- }
148
+ if (iconBeamableSmall == null)
149
+ {
150
+ iconBeamableSmall =
151
+ EditorResources.Load<Texture>(
152
+ "Packages/com.beamable/Editor/UI/Common/Icons/beam_icon_small.png", true);
153
+ }
226
154
 
227
- if (iconUpload == null)
228
- {
229
- iconUpload = EditorGUIUtility.IconContent("Update-Available@2x").image;
230
- }
231
-
232
- if (iconDownload == null)
233
- {
234
- iconDownload = EditorGUIUtility.IconContent("Download-Available@2x").image;
235
- }
155
+ if (iconBeamableSmallColor == null)
156
+ {
157
+ iconBeamableSmallColor =
158
+ EditorResources.Load<Texture>(
159
+ "Packages/com.beamable/Editor/UI/Common/Icons/beam_icon_small_color.png"
160
+ , true);
161
+ }
236
162
 
237
- if (iconMenuOptions == null)
238
- {
239
- iconMenuOptions = EditorGUIUtility.IconContent("d__Menu@2x").image;
240
- }
241
163
 
242
- if (iconTag == null)
243
- {
244
- iconTag = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Tag.png");
245
- }
164
+ if (iconService == null)
165
+ {
166
+ iconService =
167
+ EditorResources.Load<Texture>(
168
+ "Packages/com.beamable/Editor/UI/Common/Icons/microservice.png", true);
169
+ }
246
170
 
247
- if (iconType == null)
248
- {
249
- iconType = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Type.png");
250
- }
171
+ if (iconStorage == null)
172
+ {
173
+ iconStorage =
174
+ EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/storage.png", true);
175
+ }
251
176
 
252
- if (iconStatus == null)
253
- {
254
- iconStatus = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Statuses.png");
255
- }
177
+ if (iconHelp == null)
178
+ {
179
+ iconHelp = EditorResources.Load<Texture>(
180
+ "Packages/com.beamable/Editor/UI/Toolbox/Icons/Info_Light.png");
181
+ }
256
182
 
257
- if (iconDelete == null)
258
- {
259
- iconDelete = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Delete.png");
260
- }
183
+ if (iconRefresh == null)
184
+ {
185
+ iconRefresh =
186
+ EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Refresh.png");
187
+ }
261
188
 
262
- if (iconStatusModified == null)
263
- {
264
- iconStatusModified = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Modified.png");
265
- }
189
+ if (iconSettings == null)
190
+ {
191
+ iconSettings = EditorGUIUtility.IconContent("Settings").image;
192
+ }
266
193
 
267
- if (iconStatusAdded == null)
268
- {
269
- iconStatusAdded = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Added.png");
270
- }
194
+ if (iconFolder == null)
195
+ {
196
+ iconFolder = EditorGUIUtility.IconContent("Folder Icon").image;
197
+ }
271
198
 
272
- if (iconStatusDeleted == null)
273
- {
274
- iconStatusDeleted = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Deleted.png");
275
- }
276
199
 
277
- if (iconStatusConflicted == null)
278
- {
279
- iconStatusConflicted = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconLogs_WarningMsg.png");
280
- }
200
+ if (iconOpenApi == null)
201
+ {
202
+ iconOpenApi = EditorGUIUtility.IconContent("BuildSettings.Web.Small").image;
203
+ }
281
204
 
282
- if (iconStatusInvalid == null)
283
- {
284
- iconStatusInvalid = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Invalid.png");
285
- }
205
+ if (iconOpenMongoExpress == null)
206
+ {
207
+ iconOpenMongoExpress =
208
+ EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Database_light.png",
209
+ true);
210
+ }
286
211
 
287
- if (iconRotate == null)
288
- {
289
- iconRotate = EditorGUIUtility.IconContent("RotateTool On@2x").image;
290
- }
291
-
292
- if (iconSync == null)
293
- {
294
- iconSync = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_Sync.png");
295
- }
296
-
297
- if (iconPublish == null)
298
- {
299
- iconPublish = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_Publish.png");
300
- }
212
+ if (iconOpenProject == null)
213
+ {
214
+ iconOpenProject = EditorGUIUtility.FindTexture("cs Script Icon");
215
+ }
301
216
 
302
- if (iconRevertAction == null)
303
- {
304
- iconRevertAction = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconAction_Revert.png");
305
- }
217
+ if (iconMoreOptions == null)
218
+ {
219
+ iconMoreOptions = EditorGUIUtility.IconContent("pane options@2x").image;
220
+ }
306
221
 
307
- if (iconContentEditorIcon == null)
308
- {
309
- iconContentEditorIcon = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_ItemFallback.png");
310
- }
311
-
312
- if (iconContentSnapshotWhite == null)
313
- {
314
- iconContentSnapshotWhite = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconsWhite_ContentSnapshot.png");
222
+ if (iconPlay == null)
223
+ {
224
+ iconPlay = EditorGUIUtility.FindTexture("PlayButton");
225
+ }
226
+
227
+ if (iconPlus == null)
228
+ {
229
+ iconPlus = EditorGUIUtility.IconContent("d_Toolbar Plus@2x").image;
230
+ }
231
+
232
+ if (iconCheck == null)
233
+ {
234
+ // iconCheck = EditorGUIUtility.IconContent("d_FilterSelectedOnly@2x").image;
235
+ iconCheck = EditorGUIUtility.IconContent("Toggle Icon").image;
236
+ }
237
+
238
+ if (iconUpload == null)
239
+ {
240
+ iconUpload = EditorGUIUtility.IconContent("Update-Available@2x").image;
241
+ }
242
+
243
+ if (iconDownload == null)
244
+ {
245
+ iconDownload = EditorGUIUtility.IconContent("Download-Available@2x").image;
246
+ }
247
+
248
+ if (iconMenuOptions == null)
249
+ {
250
+ iconMenuOptions = EditorGUIUtility.IconContent("d__Menu@2x").image;
251
+ }
252
+
253
+ if (iconTag == null)
254
+ {
255
+ iconTag = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Tag.png");
256
+ }
257
+
258
+ if (iconType == null)
259
+ {
260
+ iconType = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Type.png");
261
+ }
262
+
263
+ if (iconStatus == null)
264
+ {
265
+ iconStatus =
266
+ EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Statuses.png");
267
+ }
268
+
269
+ if (iconDelete == null)
270
+ {
271
+ iconDelete =
272
+ EditorResources.Load<Texture>(
273
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Delete.png");
274
+ }
275
+
276
+ if (iconStatusModified == null)
277
+ {
278
+ iconStatusModified =
279
+ EditorResources.Load<Texture>(
280
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Modified.png");
281
+ }
282
+
283
+ if (iconStatusAdded == null)
284
+ {
285
+ iconStatusAdded =
286
+ EditorResources.Load<Texture>(
287
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Added.png");
288
+ }
289
+
290
+ if (iconStatusDeleted == null)
291
+ {
292
+ iconStatusDeleted =
293
+ EditorResources.Load<Texture>(
294
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Deleted.png");
295
+ }
296
+
297
+ if (iconStatusConflicted == null)
298
+ {
299
+ iconStatusConflicted =
300
+ EditorResources.Load<Texture>(
301
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconLogs_WarningMsg.png");
302
+ }
303
+
304
+ if (iconStatusInvalid == null)
305
+ {
306
+ iconStatusInvalid =
307
+ EditorResources.Load<Texture>(
308
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Invalid.png");
309
+ }
310
+
311
+ if (iconRotate == null)
312
+ {
313
+ iconRotate = EditorGUIUtility.IconContent("RotateTool On@2x").image;
314
+ }
315
+
316
+ if (iconSync == null)
317
+ {
318
+ iconSync = EditorResources.Load<Texture>(
319
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_Sync.png");
320
+ }
321
+
322
+ if (iconPublish == null)
323
+ {
324
+ iconPublish =
325
+ EditorResources.Load<Texture>(
326
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_Publish.png");
327
+ }
328
+
329
+ if (iconRevertAction == null)
330
+ {
331
+ iconRevertAction =
332
+ EditorResources.Load<Texture>(
333
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconAction_Revert.png");
334
+ }
335
+
336
+ if (iconContentEditorIcon == null)
337
+ {
338
+ iconContentEditorIcon =
339
+ EditorResources.Load<Texture>(
340
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_ItemFallback.png");
341
+ }
342
+
343
+ if (iconContentSnapshotWhite == null)
344
+ {
345
+ iconContentSnapshotWhite =
346
+ EditorResources.Load<Texture>(
347
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconsWhite_ContentSnapshot.png");
348
+ }
349
+
350
+ if (iconContentSnapshotColor == null)
351
+ {
352
+ iconContentSnapshotColor =
353
+ EditorResources.Load<Texture>(
354
+ "Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_ContentSnapshot.png");
355
+ }
315
356
  }
316
-
317
- if (iconContentSnapshotColor == null)
357
+ catch (Exception) when (silentError)
318
358
  {
319
- iconContentSnapshotColor = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_ContentSnapshot.png");
359
+ // let it go.
320
360
  }
321
361
  }
322
362
 
@@ -5,5 +5,5 @@
5
5
  "beamMongoExpressUrl": "https://storage.beamable.com",
6
6
  "dockerRegistryUrl": "https://microservices.beamable.com/v2/",
7
7
  "isUnityVsp": "false",
8
- "sdkVersion": "5.0.0-PREVIEW.RC12"
8
+ "sdkVersion": "5.0.0-PREVIEW.RC13"
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.beamable",
3
- "version": "5.0.0-PREVIEW.RC12",
3
+ "version": "5.0.0-PREVIEW.RC13",
4
4
  "displayName": "Beamable",
5
5
  "description": "A better way to build games in Unity\n",
6
6
  "unity": "2021.3",