Add web platform icons to editor atlas
This commit is contained in:
BIN
Content/Editor/IconsAtlas.flax
LFS
BIN
Content/Editor/IconsAtlas.flax
LFS
Binary file not shown.
@@ -151,6 +151,8 @@ namespace FlaxEditor
|
||||
public SpriteHandle LocalizationSettings128;
|
||||
public SpriteHandle Json128;
|
||||
public SpriteHandle AppleSettings128;
|
||||
public SpriteHandle Web128;
|
||||
public SpriteHandle WebSettings128;
|
||||
|
||||
internal void LoadIcons()
|
||||
{
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace FlaxEditor.GUI
|
||||
new PlatformData(PlatformType.PS5, icons.PS5Icon128, "PlayStation 5"),
|
||||
new PlatformData(PlatformType.Mac, icons.MacOSIcon128, "macOS"),
|
||||
new PlatformData(PlatformType.iOS, icons.IOSIcon128, "iOS"),
|
||||
new PlatformData(PlatformType.Web, icons.Flax64, "Web"),
|
||||
new PlatformData(PlatformType.Web, icons.Web128, "Web"),
|
||||
};
|
||||
|
||||
const float IconSize = 64.0f;
|
||||
|
||||
@@ -1188,6 +1188,7 @@ namespace FlaxEditor.Modules
|
||||
Proxy.Add(new SettingsProxy(typeof(AndroidPlatformSettings), Editor.Instance.Icons.AndroidSettings128));
|
||||
Proxy.Add(new SettingsProxy(typeof(MacPlatformSettings), Editor.Instance.Icons.AppleSettings128));
|
||||
Proxy.Add(new SettingsProxy(typeof(iOSPlatformSettings), Editor.Instance.Icons.AppleSettings128));
|
||||
Proxy.Add(new SettingsProxy(typeof(WebPlatformSettings), Editor.Instance.Icons.WebSettings128));
|
||||
|
||||
var typePS4PlatformSettings = TypeUtils.GetManagedType(GameSettings.PS4PlatformSettingsTypename);
|
||||
if (typePS4PlatformSettings != null)
|
||||
|
||||
Reference in New Issue
Block a user