com.beamable 5.0.0-PREVIEW.RC12 → 5.0.0-PREVIEW.RC14
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,303 @@ 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
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
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)
|
|
110
|
-
{
|
|
111
|
-
artServerless =
|
|
112
|
-
EditorResources.Load<Texture>(
|
|
113
|
-
"Packages/com.beamable/Editor/UI/Common/Icons/beam_art_serverless.png", true);
|
|
114
|
-
}
|
|
71
|
+
try
|
|
72
|
+
{
|
|
73
|
+
// do not attempt to load the icons if the beamable editor is not initialized.
|
|
74
|
+
// it is a good proxy for, "is the asset database ready",
|
|
75
|
+
// and if it is not, then trying to import these assets will surely fail.
|
|
76
|
+
if (!BeamEditor.IsInitialized) return;
|
|
77
|
+
|
|
78
|
+
if (unitySpinnerTextures == null)
|
|
79
|
+
{
|
|
80
|
+
unitySpinnerTextures = new Texture[]
|
|
81
|
+
{
|
|
82
|
+
EditorGUIUtility.IconContent("WaitSpin00").image,
|
|
83
|
+
EditorGUIUtility.IconContent("WaitSpin01").image,
|
|
84
|
+
EditorGUIUtility.IconContent("WaitSpin02").image,
|
|
85
|
+
EditorGUIUtility.IconContent("WaitSpin03").image,
|
|
86
|
+
EditorGUIUtility.IconContent("WaitSpin04").image,
|
|
87
|
+
EditorGUIUtility.IconContent("WaitSpin05").image,
|
|
88
|
+
EditorGUIUtility.IconContent("WaitSpin06").image,
|
|
89
|
+
EditorGUIUtility.IconContent("WaitSpin07").image,
|
|
90
|
+
EditorGUIUtility.IconContent("WaitSpin08").image,
|
|
91
|
+
EditorGUIUtility.IconContent("WaitSpin09").image,
|
|
92
|
+
EditorGUIUtility.IconContent("WaitSpin10").image,
|
|
93
|
+
EditorGUIUtility.IconContent("WaitSpin11").image,
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
if (artGameServers == null)
|
|
99
|
+
{
|
|
100
|
+
artGameServers =
|
|
101
|
+
EditorResources.Load<Texture>(
|
|
102
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/beam_art_gameservers.png", true);
|
|
103
|
+
}
|
|
115
104
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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
|
-
}
|
|
105
|
+
if (artLiveOps == null)
|
|
106
|
+
{
|
|
107
|
+
artLiveOps =
|
|
108
|
+
EditorResources.Load<Texture>(
|
|
109
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/beam_art_liveops.png", true);
|
|
110
|
+
}
|
|
134
111
|
|
|
112
|
+
if (artContent == null)
|
|
113
|
+
{
|
|
114
|
+
artContent =
|
|
115
|
+
EditorResources.Load<Texture>(
|
|
116
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/beam_art_game_content.png", true);
|
|
117
|
+
}
|
|
135
118
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
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
|
-
}
|
|
119
|
+
if (artServerless == null)
|
|
120
|
+
{
|
|
121
|
+
artServerless =
|
|
122
|
+
EditorResources.Load<Texture>(
|
|
123
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/beam_art_serverless.png", true);
|
|
124
|
+
}
|
|
169
125
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
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
|
-
}
|
|
126
|
+
if (loginArts == null)
|
|
127
|
+
{
|
|
128
|
+
loginArts = new Texture[] {artLiveOps, artGameServers, artContent, artServerless};
|
|
129
|
+
}
|
|
185
130
|
|
|
186
|
-
if (iconFolder == null)
|
|
187
|
-
{
|
|
188
|
-
iconFolder = EditorGUIUtility.IconContent("Folder Icon").image;
|
|
189
|
-
}
|
|
190
131
|
|
|
132
|
+
if (iconShadowSoftA == null)
|
|
133
|
+
{
|
|
134
|
+
iconShadowSoftA =
|
|
135
|
+
EditorResources.Load<Texture>(
|
|
136
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/softShadow.png", true);
|
|
137
|
+
}
|
|
191
138
|
|
|
192
|
-
if (iconOpenApi == null)
|
|
193
|
-
{
|
|
194
|
-
iconOpenApi = EditorGUIUtility.IconContent("BuildSettings.Web.Small").image;
|
|
195
|
-
}
|
|
196
139
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
140
|
+
if (iconLocked == null)
|
|
141
|
+
{
|
|
142
|
+
iconLocked = EditorGUIUtility.IconContent("Locked").image;
|
|
143
|
+
}
|
|
202
144
|
|
|
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
145
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
146
|
+
if (iconLogoHeader == null)
|
|
147
|
+
{
|
|
148
|
+
iconLogoHeader =
|
|
149
|
+
EditorResources.Load<Texture>(
|
|
150
|
+
"Packages/com.beamable/Editor/UI/Login/UI/icon/logo2 L white.png", true);
|
|
151
|
+
}
|
|
220
152
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
153
|
+
if (iconBeamableSmall == null)
|
|
154
|
+
{
|
|
155
|
+
iconBeamableSmall =
|
|
156
|
+
EditorResources.Load<Texture>(
|
|
157
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/beam_icon_small.png", true);
|
|
158
|
+
}
|
|
226
159
|
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
iconDownload = EditorGUIUtility.IconContent("Download-Available@2x").image;
|
|
235
|
-
}
|
|
160
|
+
if (iconBeamableSmallColor == null)
|
|
161
|
+
{
|
|
162
|
+
iconBeamableSmallColor =
|
|
163
|
+
EditorResources.Load<Texture>(
|
|
164
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/beam_icon_small_color.png"
|
|
165
|
+
, true);
|
|
166
|
+
}
|
|
236
167
|
|
|
237
|
-
if (iconMenuOptions == null)
|
|
238
|
-
{
|
|
239
|
-
iconMenuOptions = EditorGUIUtility.IconContent("d__Menu@2x").image;
|
|
240
|
-
}
|
|
241
168
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
169
|
+
if (iconService == null)
|
|
170
|
+
{
|
|
171
|
+
iconService =
|
|
172
|
+
EditorResources.Load<Texture>(
|
|
173
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/microservice.png", true);
|
|
174
|
+
}
|
|
246
175
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
176
|
+
if (iconStorage == null)
|
|
177
|
+
{
|
|
178
|
+
iconStorage =
|
|
179
|
+
EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/storage.png", true);
|
|
180
|
+
}
|
|
251
181
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
182
|
+
if (iconHelp == null)
|
|
183
|
+
{
|
|
184
|
+
iconHelp = EditorResources.Load<Texture>(
|
|
185
|
+
"Packages/com.beamable/Editor/UI/Toolbox/Icons/Info_Light.png");
|
|
186
|
+
}
|
|
256
187
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
188
|
+
if (iconRefresh == null)
|
|
189
|
+
{
|
|
190
|
+
iconRefresh =
|
|
191
|
+
EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Refresh.png");
|
|
192
|
+
}
|
|
261
193
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
194
|
+
if (iconSettings == null)
|
|
195
|
+
{
|
|
196
|
+
iconSettings = EditorGUIUtility.IconContent("Settings").image;
|
|
197
|
+
}
|
|
266
198
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
199
|
+
if (iconFolder == null)
|
|
200
|
+
{
|
|
201
|
+
iconFolder = EditorGUIUtility.IconContent("Folder Icon").image;
|
|
202
|
+
}
|
|
271
203
|
|
|
272
|
-
if (iconStatusDeleted == null)
|
|
273
|
-
{
|
|
274
|
-
iconStatusDeleted = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Deleted.png");
|
|
275
|
-
}
|
|
276
204
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
205
|
+
if (iconOpenApi == null)
|
|
206
|
+
{
|
|
207
|
+
iconOpenApi = EditorGUIUtility.IconContent("BuildSettings.Web.Small").image;
|
|
208
|
+
}
|
|
281
209
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
210
|
+
if (iconOpenMongoExpress == null)
|
|
211
|
+
{
|
|
212
|
+
iconOpenMongoExpress =
|
|
213
|
+
EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Database_light.png",
|
|
214
|
+
true);
|
|
215
|
+
}
|
|
286
216
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
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
|
-
}
|
|
217
|
+
if (iconOpenProject == null)
|
|
218
|
+
{
|
|
219
|
+
iconOpenProject = EditorGUIUtility.FindTexture("cs Script Icon");
|
|
220
|
+
}
|
|
301
221
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
222
|
+
if (iconMoreOptions == null)
|
|
223
|
+
{
|
|
224
|
+
iconMoreOptions = EditorGUIUtility.IconContent("pane options@2x").image;
|
|
225
|
+
}
|
|
306
226
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
227
|
+
if (iconPlay == null)
|
|
228
|
+
{
|
|
229
|
+
iconPlay = EditorGUIUtility.FindTexture("PlayButton");
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
if (iconPlus == null)
|
|
233
|
+
{
|
|
234
|
+
iconPlus = EditorGUIUtility.IconContent("d_Toolbar Plus@2x").image;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
if (iconCheck == null)
|
|
238
|
+
{
|
|
239
|
+
// iconCheck = EditorGUIUtility.IconContent("d_FilterSelectedOnly@2x").image;
|
|
240
|
+
iconCheck = EditorGUIUtility.IconContent("Toggle Icon").image;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
if (iconUpload == null)
|
|
244
|
+
{
|
|
245
|
+
iconUpload = EditorGUIUtility.IconContent("Update-Available@2x").image;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
if (iconDownload == null)
|
|
249
|
+
{
|
|
250
|
+
iconDownload = EditorGUIUtility.IconContent("Download-Available@2x").image;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
if (iconMenuOptions == null)
|
|
254
|
+
{
|
|
255
|
+
iconMenuOptions = EditorGUIUtility.IconContent("d__Menu@2x").image;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
if (iconTag == null)
|
|
259
|
+
{
|
|
260
|
+
iconTag = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Tag.png");
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
if (iconType == null)
|
|
264
|
+
{
|
|
265
|
+
iconType = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Type.png");
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
if (iconStatus == null)
|
|
269
|
+
{
|
|
270
|
+
iconStatus =
|
|
271
|
+
EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/Statuses.png");
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
if (iconDelete == null)
|
|
275
|
+
{
|
|
276
|
+
iconDelete =
|
|
277
|
+
EditorResources.Load<Texture>(
|
|
278
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Delete.png");
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
if (iconStatusModified == null)
|
|
282
|
+
{
|
|
283
|
+
iconStatusModified =
|
|
284
|
+
EditorResources.Load<Texture>(
|
|
285
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Modified.png");
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
if (iconStatusAdded == null)
|
|
289
|
+
{
|
|
290
|
+
iconStatusAdded =
|
|
291
|
+
EditorResources.Load<Texture>(
|
|
292
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Added.png");
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
if (iconStatusDeleted == null)
|
|
296
|
+
{
|
|
297
|
+
iconStatusDeleted =
|
|
298
|
+
EditorResources.Load<Texture>(
|
|
299
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Deleted.png");
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
if (iconStatusConflicted == null)
|
|
303
|
+
{
|
|
304
|
+
iconStatusConflicted =
|
|
305
|
+
EditorResources.Load<Texture>(
|
|
306
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconLogs_WarningMsg.png");
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
if (iconStatusInvalid == null)
|
|
310
|
+
{
|
|
311
|
+
iconStatusInvalid =
|
|
312
|
+
EditorResources.Load<Texture>(
|
|
313
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconStatus_Invalid.png");
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
if (iconRotate == null)
|
|
317
|
+
{
|
|
318
|
+
iconRotate = EditorGUIUtility.IconContent("RotateTool On@2x").image;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
if (iconSync == null)
|
|
322
|
+
{
|
|
323
|
+
iconSync = EditorResources.Load<Texture>(
|
|
324
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_Sync.png");
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
if (iconPublish == null)
|
|
328
|
+
{
|
|
329
|
+
iconPublish =
|
|
330
|
+
EditorResources.Load<Texture>(
|
|
331
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_Publish.png");
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
if (iconRevertAction == null)
|
|
335
|
+
{
|
|
336
|
+
iconRevertAction =
|
|
337
|
+
EditorResources.Load<Texture>(
|
|
338
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconAction_Revert.png");
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
if (iconContentEditorIcon == null)
|
|
342
|
+
{
|
|
343
|
+
iconContentEditorIcon =
|
|
344
|
+
EditorResources.Load<Texture>(
|
|
345
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_ItemFallback.png");
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
if (iconContentSnapshotWhite == null)
|
|
349
|
+
{
|
|
350
|
+
iconContentSnapshotWhite =
|
|
351
|
+
EditorResources.Load<Texture>(
|
|
352
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconsWhite_ContentSnapshot.png");
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
if (iconContentSnapshotColor == null)
|
|
356
|
+
{
|
|
357
|
+
iconContentSnapshotColor =
|
|
358
|
+
EditorResources.Load<Texture>(
|
|
359
|
+
"Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_ContentSnapshot.png");
|
|
360
|
+
}
|
|
315
361
|
}
|
|
316
|
-
|
|
317
|
-
if (iconContentSnapshotColor == null)
|
|
362
|
+
catch (Exception) when (silentError)
|
|
318
363
|
{
|
|
319
|
-
|
|
364
|
+
// let it go.
|
|
320
365
|
}
|
|
321
366
|
}
|
|
322
367
|
|