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

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.LoadAllIcons();
38
+ BeamGUI.LoadNonConfigurableIcons();
39
39
 
40
40
  BeamableToolbarCallbacks.OnToolbarGUI = OnGUI;
41
41
 
@@ -64,16 +64,9 @@ namespace Beamable.Editor.Util
64
64
  var spinnerIndex = (int)( ((Time.realtimeSinceStartup*12f)+offset) % BeamGUI.unitySpinnerTextures.Length);
65
65
  return unitySpinnerTextures[spinnerIndex];
66
66
  }
67
-
68
- public static void LoadAllIcons()
67
+
68
+ public static void LoadNonConfigurableIcons()
69
69
  {
70
- var reflectionCache = Beam.GetReflectionSystem<ContentTypeReflectionCache>();
71
- var allTypes = reflectionCache.GetAll().ToList();
72
- if (ContentConfiguration.Instance.ContentTextureConfiguration == null || ContentConfiguration.Instance.ContentTextureConfiguration?.TextureConfigurations?.Count != allTypes.Count)
73
- {
74
- ContentConfiguration.Instance.ContentTextureConfiguration = new ContentTextureConfiguration(allTypes);
75
- }
76
-
77
70
 
78
71
  if (unitySpinnerTextures == null)
79
72
  {
@@ -326,5 +319,21 @@ namespace Beamable.Editor.Util
326
319
  iconContentSnapshotColor = EditorResources.Load<Texture>("Packages/com.beamable/Editor/UI/Common/Icons/IconBeam_ContentSnapshot.png");
327
320
  }
328
321
  }
322
+
323
+ public static void LoadConfigurableIcons()
324
+ {
325
+ var reflectionCache = Beam.GetReflectionSystem<ContentTypeReflectionCache>();
326
+ var allTypes = reflectionCache.GetAll().ToList();
327
+ if (ContentConfiguration.Instance.ContentTextureConfiguration == null || ContentConfiguration.Instance.ContentTextureConfiguration?.TextureConfigurations?.Count != allTypes.Count)
328
+ {
329
+ ContentConfiguration.Instance.ContentTextureConfiguration = new ContentTextureConfiguration(allTypes);
330
+ }
331
+ }
332
+
333
+ public static void LoadAllIcons()
334
+ {
335
+ LoadConfigurableIcons();
336
+ LoadNonConfigurableIcons();
337
+ }
329
338
  }
330
339
  }
@@ -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.RC11"
8
+ "sdkVersion": "5.0.0-PREVIEW.RC12"
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.beamable",
3
- "version": "5.0.0-PREVIEW.RC11",
3
+ "version": "5.0.0-PREVIEW.RC12",
4
4
  "displayName": "Beamable",
5
5
  "description": "A better way to build games in Unity\n",
6
6
  "unity": "2021.3",