AndroidIconSourceType
Specifies the source type for Android adaptive icon layers.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Enum
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public enum AndroidIconSourceType
Remarks
Use this enum to choose whether adaptive icon layers use per-DPI image textures or resolution-independent Android Vector Drawable XML files.
When set to , Unity uses image textures assigned to each Android density. You can configure these using PlayerSettings.SetPlatformIcons.
ImageWhen set to , Unity uses Android Vector Drawable XML files imported as a TextAsset for each adaptive icon layer. You can configure these using PlayerSettings.Android.adaptiveIconVectorDrawableBackground, PlayerSettings.Android.adaptiveIconVectorDrawableForeground, and PlayerSettings.Android.adaptiveIconVectorDrawableMonochrome.
VectorDrawableFields
Value | Description |
|---|---|
| Image | Use per-DPI image textures for adaptive icon layers. |
| VectorDrawable | Use resolution-independent Android Vector Drawable XML files for adaptive icon layers. |