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.
|
|
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
|
|
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
|
}
|