Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 946 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 946 Bytes

Android Icons with overridable sizes

This project provides utility code which enables you to override Unity's predefines sizes for icons.

image

Requirements

  • Unity 2021.3 or higher

Quick Steps

  • Copy all AndroidIcons*.cs files from Assets/Editor to your project's Assets/Editor folder
  • Open your project, there will be a menu Window->Android->Icons
  • Select Override for icon sizes you want to override, and set the new size
  • Produce the build
  • Check the console, it will mention if any of the icon were overriden

Note: Be sure to manually validate gradle project folder in 'launcher\src\main\res'. Note: The intermediate gradle project is stored in < UnityProject >\Library\Bee\Android\Prj folder. Note: When sizing icons in Unity 2021.3/2022.3 Graphics.Blit function is used, in Unity 6 or higher the native sizing solution is used - the same one which Unity uses for scaling icons.